blob: ebce66742ca62eb1d829d25a31924da06c418f13 [file] [log] [blame]
larryhastingsf9f17342017-09-04 13:30:19 -07001.. bpo: 23571
Ned Deilyaee5df52018-06-27 18:45:50 -04002.. date: 8990
larryhastingsf9f17342017-09-04 13:30:19 -07003.. nonce: GTkAkq
4.. release date: 2015-03-09
5.. section: Core and Builtins
6
7PyObject_Call() and PyCFunction_Call() now raise a SystemError if a function
8returns a result and raises an exception. The SystemError is chained to the
9previous exception.
10
11..
12
13.. bpo: 22524
Ned Deilyaee5df52018-06-27 18:45:50 -040014.. date: 8989
larryhastingsf9f17342017-09-04 13:30:19 -070015.. nonce: Ks6_2x
16.. section: Library
17
Stéphane Wirtel12e696b2018-10-27 00:58:26 +020018New os.scandir() function, part of the :pep:`471`: "os.scandir() function -- a
larryhastingsf9f17342017-09-04 13:30:19 -070019better and faster directory iterator". Patch written by Ben Hoyt.
20
21..
22
23.. bpo: 23103
Ned Deilyaee5df52018-06-27 18:45:50 -040024.. date: 8988
larryhastingsf9f17342017-09-04 13:30:19 -070025.. nonce: I3RLIV
26.. section: Library
27
28Reduced the memory consumption of IPv4Address and IPv6Address.
29
30..
31
32.. bpo: 21793
Ned Deilyaee5df52018-06-27 18:45:50 -040033.. date: 8987
larryhastingsf9f17342017-09-04 13:30:19 -070034.. nonce: GQtYMM
35.. section: Library
36
37BaseHTTPRequestHandler again logs response code as numeric, not as
38stringified enum. Patch by Demian Brecht.
39
40..
41
42.. bpo: 23476
Ned Deilyaee5df52018-06-27 18:45:50 -040043.. date: 8986
larryhastingsf9f17342017-09-04 13:30:19 -070044.. nonce: 82QV9I
45.. section: Library
46
47In the ssl module, enable OpenSSL's X509_V_FLAG_TRUSTED_FIRST flag on
48certificate stores when it is available.
49
50..
51
52.. bpo: 23576
Ned Deilyaee5df52018-06-27 18:45:50 -040053.. date: 8985
larryhastingsf9f17342017-09-04 13:30:19 -070054.. nonce: 98F-PP
55.. section: Library
56
57Avoid stalling in SSL reads when EOF has been reached in the SSL layer but
58the underlying connection hasn't been closed.
59
60..
61
62.. bpo: 23504
Ned Deilyaee5df52018-06-27 18:45:50 -040063.. date: 8984
larryhastingsf9f17342017-09-04 13:30:19 -070064.. nonce: o31h5I
65.. section: Library
66
67Added an __all__ to the types module.
68
69..
70
71.. bpo: 23563
Ned Deilyaee5df52018-06-27 18:45:50 -040072.. date: 8983
larryhastingsf9f17342017-09-04 13:30:19 -070073.. nonce: iQB-ba
74.. section: Library
75
76Optimized utility functions in urllib.parse.
77
78..
79
80.. bpo: 7830
Ned Deilyaee5df52018-06-27 18:45:50 -040081.. date: 8982
larryhastingsf9f17342017-09-04 13:30:19 -070082.. nonce: irvPdC
83.. section: Library
84
85Flatten nested functools.partial.
86
87..
88
89.. bpo: 20204
Ned Deilyaee5df52018-06-27 18:45:50 -040090.. date: 8981
larryhastingsf9f17342017-09-04 13:30:19 -070091.. nonce: DorA4b
92.. section: Library
93
94Added the __module__ attribute to _tkinter classes.
95
96..
97
98.. bpo: 19980
Ned Deilyaee5df52018-06-27 18:45:50 -040099.. date: 8980
larryhastingsf9f17342017-09-04 13:30:19 -0700100.. nonce: whwzL_
101.. section: Library
102
103Improved help() for non-recognized strings. help('') now shows the help on
104str. help('help') now shows the help on help(). Original patch by Mark
105Lawrence.
106
107..
108
109.. bpo: 23521
Ned Deilyaee5df52018-06-27 18:45:50 -0400110.. date: 8979
larryhastingsf9f17342017-09-04 13:30:19 -0700111.. nonce: HvwFfd
112.. section: Library
113
114Corrected pure python implementation of timedelta division.
larryhastingsf9f17342017-09-04 13:30:19 -0700115Eliminated OverflowError from ``timedelta * float`` for some floats;
Stéphane Wirtel683281f2018-10-06 16:35:53 +0200116Corrected rounding in timedelta true division.
larryhastingsf9f17342017-09-04 13:30:19 -0700117
118..
119
120.. bpo: 21619
Ned Deilyaee5df52018-06-27 18:45:50 -0400121.. date: 8978
larryhastingsf9f17342017-09-04 13:30:19 -0700122.. nonce: uL0SZh
123.. section: Library
124
125Popen objects no longer leave a zombie after exit in the with statement if
126the pipe was broken. Patch by Martin Panter.
127
128..
129
130.. bpo: 22936
Ned Deilyaee5df52018-06-27 18:45:50 -0400131.. date: 8977
larryhastingsf9f17342017-09-04 13:30:19 -0700132.. nonce: JrhGYd
133.. section: Library
134
135Make it possible to show local variables in tracebacks for both the
136traceback module and unittest.
137
138..
139
140.. bpo: 15955
Ned Deilyaee5df52018-06-27 18:45:50 -0400141.. date: 8976
larryhastingsf9f17342017-09-04 13:30:19 -0700142.. nonce: _8nYPy
143.. section: Library
144
145Add an option to limit the output size in bz2.decompress(). Patch by
146Nikolaus Rath.
147
148..
149
150.. bpo: 6639
Ned Deilyaee5df52018-06-27 18:45:50 -0400151.. date: 8975
larryhastingsf9f17342017-09-04 13:30:19 -0700152.. nonce: rmjUmG
153.. section: Library
154
155Module-level turtle functions no longer raise TclError after closing the
156window.
157
158..
159
160.. bpo: 814253
Ned Deilyaee5df52018-06-27 18:45:50 -0400161.. date: 8974
larryhastingsf9f17342017-09-04 13:30:19 -0700162.. nonce: icZb-I
163.. section: Library
164
165Group references and conditional group references now work in lookbehind
166assertions in regular expressions. (See also: bpo-9179)
167
168..
169
170.. bpo: 23215
Ned Deilyaee5df52018-06-27 18:45:50 -0400171.. date: 8973
larryhastingsf9f17342017-09-04 13:30:19 -0700172.. nonce: VHVSVX
173.. section: Library
174
175Multibyte codecs with custom error handlers that ignores errors consumed too
176much memory and raised SystemError or MemoryError. Original patch by Aleksi
177Torhamo.
178
179..
180
181.. bpo: 5700
Ned Deilyaee5df52018-06-27 18:45:50 -0400182.. date: 8972
larryhastingsf9f17342017-09-04 13:30:19 -0700183.. nonce: iA5yzL
184.. section: Library
185
186io.FileIO() called flush() after closing the file. flush() was not called in
187close() if closefd=False.
188
189..
190
191.. bpo: 23374
Ned Deilyaee5df52018-06-27 18:45:50 -0400192.. date: 8971
larryhastingsf9f17342017-09-04 13:30:19 -0700193.. nonce: 8A9LuZ
194.. section: Library
195
196Fixed pydoc failure with non-ASCII files when stdout encoding differs from
197file system encoding (e.g. on Mac OS).
198
199..
200
201.. bpo: 23481
Ned Deilyaee5df52018-06-27 18:45:50 -0400202.. date: 8970
larryhastingsf9f17342017-09-04 13:30:19 -0700203.. nonce: ZWwliG
204.. section: Library
205
206Remove RC4 from the SSL module's default cipher list.
207
208..
209
210.. bpo: 21548
Ned Deilyaee5df52018-06-27 18:45:50 -0400211.. date: 8969
larryhastingsf9f17342017-09-04 13:30:19 -0700212.. nonce: CmO_Yh
213.. section: Library
214
215Fix pydoc.synopsis() and pydoc.apropos() on modules with empty docstrings.
216
217..
218
219.. bpo: 22885
Ned Deilyaee5df52018-06-27 18:45:50 -0400220.. date: 8968
larryhastingsf9f17342017-09-04 13:30:19 -0700221.. nonce: p8FnYk
222.. section: Library
223
224Fixed arbitrary code execution vulnerability in the dbm.dumb module.
225Original patch by Claudiu Popa.
226
227..
228
229.. bpo: 23239
Ned Deilyaee5df52018-06-27 18:45:50 -0400230.. date: 8967
larryhastingsf9f17342017-09-04 13:30:19 -0700231.. nonce: PGUq7T
232.. section: Library
233
234ssl.match_hostname() now supports matching of IP addresses.
235
236..
237
238.. bpo: 23146
Ned Deilyaee5df52018-06-27 18:45:50 -0400239.. date: 8966
larryhastingsf9f17342017-09-04 13:30:19 -0700240.. nonce: PW-O3u
241.. section: Library
242
243Fix mishandling of absolute Windows paths with forward slashes in pathlib.
244
245..
246
247.. bpo: 23096
Ned Deilyaee5df52018-06-27 18:45:50 -0400248.. date: 8965
larryhastingsf9f17342017-09-04 13:30:19 -0700249.. nonce: Ftrmf3
250.. section: Library
251
252Pickle representation of floats with protocol 0 now is the same for both
253Python and C implementations.
254
255..
256
257.. bpo: 19105
Ned Deilyaee5df52018-06-27 18:45:50 -0400258.. date: 8964
larryhastingsf9f17342017-09-04 13:30:19 -0700259.. nonce: ZK07Ff
260.. section: Library
261
262pprint now more efficiently uses free space at the right.
263
264..
265
266.. bpo: 14910
Ned Deilyaee5df52018-06-27 18:45:50 -0400267.. date: 8963
larryhastingsf9f17342017-09-04 13:30:19 -0700268.. nonce: zueIhP
269.. section: Library
270
271Add allow_abbrev parameter to argparse.ArgumentParser. Patch by Jonathan
272Paugh, Steven Bethard, paul j3 and Daniel Eriksson.
273
274..
275
276.. bpo: 21717
Ned Deilyaee5df52018-06-27 18:45:50 -0400277.. date: 8962
larryhastingsf9f17342017-09-04 13:30:19 -0700278.. nonce: Knut81
279.. section: Library
280
281tarfile.open() now supports 'x' (exclusive creation) mode.
282
283..
284
285.. bpo: 23344
Ned Deilyaee5df52018-06-27 18:45:50 -0400286.. date: 8961
larryhastingsf9f17342017-09-04 13:30:19 -0700287.. nonce: ieu8C1
288.. section: Library
289
290marshal.dumps() is now 20-25% faster on average.
291
292..
293
294.. bpo: 20416
Ned Deilyaee5df52018-06-27 18:45:50 -0400295.. date: 8960
larryhastingsf9f17342017-09-04 13:30:19 -0700296.. nonce: cwEgkL
297.. section: Library
298
299marshal.dumps() with protocols 3 and 4 is now 40-50% faster on average.
300
301..
302
303.. bpo: 23421
Ned Deilyaee5df52018-06-27 18:45:50 -0400304.. date: 8959
larryhastingsf9f17342017-09-04 13:30:19 -0700305.. nonce: eckzoV
306.. section: Library
307
308Fixed compression in tarfile CLI. Patch by wdv4758h.
309
310..
311
312.. bpo: 23367
Ned Deilyaee5df52018-06-27 18:45:50 -0400313.. date: 8958
larryhastingsf9f17342017-09-04 13:30:19 -0700314.. nonce: kHnFiz
315.. section: Library
316
317Fix possible overflows in the unicodedata module.
318
319..
320
321.. bpo: 23361
Ned Deilyaee5df52018-06-27 18:45:50 -0400322.. date: 8957
larryhastingsf9f17342017-09-04 13:30:19 -0700323.. nonce: I_w0-z
324.. section: Library
325
326Fix possible overflow in Windows subprocess creation code.
327
328..
329
330.. bpo: 0
Ned Deilyaee5df52018-06-27 18:45:50 -0400331.. date: 8956
larryhastingsf9f17342017-09-04 13:30:19 -0700332.. nonce: sfmjTs
333.. section: Library
334
335logging.handlers.QueueListener now takes a respect_handler_level keyword
336argument which, if set to True, will pass messages to handlers taking
337handler levels into account.
338
339..
340
341.. bpo: 19705
Ned Deilyaee5df52018-06-27 18:45:50 -0400342.. date: 8955
larryhastingsf9f17342017-09-04 13:30:19 -0700343.. nonce: WLzTRV
344.. section: Library
345
346turtledemo now has a visual sorting algorithm demo. Original patch from
347Jason Yeo.
348
349..
350
351.. bpo: 23801
Ned Deilyaee5df52018-06-27 18:45:50 -0400352.. date: 8954
larryhastingsf9f17342017-09-04 13:30:19 -0700353.. nonce: jyJK3z
354.. section: Library
355
356Fix issue where cgi.FieldStorage did not always ignore the entire preamble
357to a multipart body.
358
359..
360
361.. bpo: 23445
Ned Deilyaee5df52018-06-27 18:45:50 -0400362.. date: 8953
larryhastingsf9f17342017-09-04 13:30:19 -0700363.. nonce: 7fmkYO
364.. section: Build
365
366pydebug builds now use "gcc -Og" where possible, to make the resulting
367executable faster.
368
369..
370
371.. bpo: 23686
Ned Deilyaee5df52018-06-27 18:45:50 -0400372.. date: 8952
larryhastingsf9f17342017-09-04 13:30:19 -0700373.. nonce: B7jDXY
374.. section: Build
375
376Update OS X 10.5 installer build to use OpenSSL 1.0.2a.
377
378..
379
380.. bpo: 20204
Ned Deilyaee5df52018-06-27 18:45:50 -0400381.. date: 8951
larryhastingsf9f17342017-09-04 13:30:19 -0700382.. nonce: M_jcNK
383.. section: C API
384
385Deprecation warning is now raised for builtin types without the __module__
386attribute.
387
388..
389
390.. bpo: 23465
Ned Deilyaee5df52018-06-27 18:45:50 -0400391.. date: 8950
larryhastingsf9f17342017-09-04 13:30:19 -0700392.. nonce: qBauCy
393.. section: Windows
394
Stéphane Wirtel12e696b2018-10-27 00:58:26 +0200395Implement :pep:`486` - Make the Python Launcher aware of virtual environments.
larryhastingsf9f17342017-09-04 13:30:19 -0700396Patch by Paul Moore.
397
398..
399
400.. bpo: 23437
Ned Deilyaee5df52018-06-27 18:45:50 -0400401.. date: 8949
larryhastingsf9f17342017-09-04 13:30:19 -0700402.. nonce: ro9X8r
403.. section: Windows
404
405Make user scripts directory versioned on Windows. Patch by Paul Moore.