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