-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlanguage.python.json
313 lines (313 loc) · 6.49 KB
/
language.python.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
{
"name": "Python",
"category": "programming languages",
"website": "https://www.python.org/",
"influcenced_by": [
"ABC",
"ALGOL 68",
"APL",
"Ada",
"C",
"C++",
"CLU",
"Dylan",
"Haskell",
"Icon",
"Lisp",
"Modula-3",
"Perl",
"Standard ML"
],
"releases": [
{
"date": "1991-02-20",
"version": "0.9",
"features": [
"list, dict, str datatypes",
"classes with inheritance",
"exception handling",
"module system"
]
},
{
"date": "1994-01-26",
"version": "1.0",
"src": "https://en.wikipedia.org/wiki/History_of_Python#Version_1",
"features": [
"lambda, map, filter and reduce"
]
},
{
"date": "1994-10-11",
"version": "1.1"
},
{
"date": "1995-04-13",
"version": "1.2"
},
{
"date": "1995-10-13",
"version": "1.3"
},
{
"date": "1996-10-25",
"version": "1.4",
"src": "https://github.com/tpn/python-1.4",
"features": [
"SyntaxError exceptions now shows line number",
"Name mangling to support private variables",
"lstrip, rstrip functions for strings",
"operator module",
"Power operator **",
"Support for complex numbers",
"list builtin function"
]
},
{
"date": "1998-01-03",
"version": "1.5",
"features": [
"Safe printing of recursive lists and dictionaries",
"raise can re-raise previous exception",
"assert statement",
"re module",
"raw string literals",
"Exceptions are now classes",
"Dictionaries support .get method"
]
},
{
"date": "2000-09-05",
"version": "1.6",
"features": [
"String methods like .lower()",
"Calling function with tuple arguments using *args and **kwargs",
"urllib2 module"
]
},
{
"date": "2000-10-16",
"version": "2.0",
"features": [
"Unicode strings",
"List comprehansions",
"Augmented assigments",
"String methods like capitalize, find or replace",
"Calling function with tuple arguments using *args and **kwargs",
"Print statement redirection using >>",
"zip builtin"
]
},
{
"date": "2001-04-15",
"version": "2.1",
"features": [
"Indivdual overloading of comparison operators",
"Warning framework",
"Function attributes"
]
},
{
"date": "2001-12-21",
"version": "2.2",
"features": [
"Attribute descriptors",
"Iterators",
"New // division operator"
]
},
{
"date": "2003-06-29",
"version": "2.3",
"features": [
"set datatype in sets module",
"generators",
"source code encodings",
"enumerate builtin",
"logging package",
"boolean type with True and False constants",
"csv module",
"step argument for slices"
]
},
{
"date": "2004-11-30",
"version": "2.4",
"features": [
"set builtin",
"generator expressions",
"string.Template class",
"decorators for functions and methods",
"reversed builtin",
"subprocess module",
"decimal data type",
""
]
},
{
"date": "2006-09-19",
"version": "2.5",
"features": [
"partial function application",
"multiline and relative imports",
"executing modules as scripts with -m",
"generators with yield expressions",
"conditional expressions"
]
},
{
"date": "2008-10-01",
"version": "2.6",
"features": [
"with statement",
"context managers",
"contextlib module",
"multiprocessing package",
"String formatting with format method"
]
},
{
"date": "2010-07-03",
"version": "2.7",
"features": [
"ordered dictionary type",
"set literals",
"set and dictionary comprehansions",
"dictionary views"
]
},
{
"date": "2008-12-03",
"version": "3.0",
"features": [
"print is a function",
"views and iterators instead of lists",
"int type as only integral built-in type",
"Unicode strings by default",
"Function argument and return value annotations",
"nonlocal statement",
"keyword-only arguments",
"dictionary comprehansions",
"set literals",
"octal literals",
"binary literals",
"new metaclass syntax"
]
},
{
"date": "2009-06-27",
"version": "3.1",
"features": [
"ordered dictionary",
"with statements with multiple context managers"
]
},
{
"date": "2011-02-20",
"version": "3.2",
"features": [
"futures",
"Stable ABI definition"
]
},
{
"date": "2012-09-29",
"version": "3.3",
"features": [
"delagate to subgenerator with yield from",
"Virtual environments",
"Suppressing exception context with raise X from Y"
]
},
{
"date": "2014-03-16",
"version": "3.4",
"features": [
"enum module",
"asyncio module",
"pathlib module"
]
},
{
"date": "2015-09-13",
"version": "3.5",
"features": [
"typing module",
"Coroutines with async and await syntax",
"Operator @ for matrix multiplication"
]
},
{
"date": "2016-12-23",
"version": "3.6",
"features": [
"Preserving Keyword Argument Order",
"Literal string interprolation (fstrings)",
"Underscores in numeric literals",
"Simpler class customization with __init_subclass__ hook"
]
},
{
"date": "2018-06-27",
"version": "3.7",
"features": [
"Built-in breakpoint()",
"Data Classes",
"Core support for typing module and generic types",
"Time functions with nanosecond resolution"
]
},
{
"date": "2019-10-14",
"version": "3.8",
"features": [
"Assigment expressions",
"Positional-only arguments",
"f-strings support = specifier"
]
},
{
"date": "2020-10-05",
"version": "3.9",
"features": [
"Union operators in dict",
"String methods to remove prefixes and suffixes",
"Flexible function and variable annotations"
]
},
{
"date": "2021-10-04",
"version": "3.10",
"features": [
"Allow writing union types as X | Y",
"Structural pattern matching"
]
},
{
"date": "2022-10-24",
"version": "3.11",
"features": [
"exception groups",
"except*",
"tomllib - support for parsing TOML in standard library",
"exception enrichement with notes",
"variadic generics",
"self type annoatation",
"arbitrary literal string type"
]
},
{
"date": "2023-10-02",
"version": "3.12",
"src": "https://docs.python.org/3.12/whatsnew/3.12.html",
"features": [
"type parameter syntax",
"type statement",
"cryptographic functions translated from HACL* project",
"quote reuse inside f-strings",
"multiline expressions in f-strings",
"per-interpreter GIL"
]
}
]
}