blob: 3fa356c56d94a07895aea696cea7bb4d2ecb3479 [file] [log] [blame]
larryhastingsf9f17342017-09-04 13:30:19 -07001.. bpo: 20041
Ned Deilyaee5df52018-06-27 18:45:50 -04002.. date: 9253
larryhastingsf9f17342017-09-04 13:30:19 -07003.. nonce: TypyGp
4.. release date: 2016-05-16
5.. section: Core and Builtins
6
7Fixed TypeError when frame.f_trace is set to None. Patch by Xavier de Gaye.
8
9..
10
11.. bpo: 26168
Ned Deilyaee5df52018-06-27 18:45:50 -040012.. date: 9252
larryhastingsf9f17342017-09-04 13:30:19 -070013.. nonce: -nPBL6
14.. section: Core and Builtins
15
16Fixed possible refleaks in failing Py_BuildValue() with the "N" format unit.
17
18..
19
20.. bpo: 26991
Ned Deilyaee5df52018-06-27 18:45:50 -040021.. date: 9251
larryhastingsf9f17342017-09-04 13:30:19 -070022.. nonce: yWGNhz
23.. section: Core and Builtins
24
25Fix possible refleak when creating a function with annotations.
26
27..
28
29.. bpo: 27039
Ned Deilyaee5df52018-06-27 18:45:50 -040030.. date: 9250
larryhastingsf9f17342017-09-04 13:30:19 -070031.. nonce: oO-wLV
32.. section: Core and Builtins
33
34Fixed bytearray.remove() for values greater than 127. Based on patch by Joe
35Jevnik.
36
37..
38
39.. bpo: 23640
Ned Deilyaee5df52018-06-27 18:45:50 -040040.. date: 9249
larryhastingsf9f17342017-09-04 13:30:19 -070041.. nonce: kvNC4c
42.. section: Core and Builtins
43
44int.from_bytes() no longer bypasses constructors for subclasses.
45
46..
47
48.. bpo: 27005
Ned Deilyaee5df52018-06-27 18:45:50 -040049.. date: 9248
larryhastingsf9f17342017-09-04 13:30:19 -070050.. nonce: ZtcJf-
51.. section: Core and Builtins
52
53Optimized the float.fromhex() class method for exact float. It is now 2
54times faster.
55
56..
57
58.. bpo: 18531
Ned Deilyaee5df52018-06-27 18:45:50 -040059.. date: 9247
larryhastingsf9f17342017-09-04 13:30:19 -070060.. nonce: PkXgtO
61.. section: Core and Builtins
62
63Single var-keyword argument of dict subtype was passed unscathed to the
64C-defined function. Now it is converted to exact dict.
65
66..
67
68.. bpo: 26811
Ned Deilyaee5df52018-06-27 18:45:50 -040069.. date: 9246
larryhastingsf9f17342017-09-04 13:30:19 -070070.. nonce: oNzUWt
71.. section: Core and Builtins
72
73gc.get_objects() no longer contains a broken tuple with NULL pointer.
74
75..
76
77.. bpo: 20120
Ned Deilyaee5df52018-06-27 18:45:50 -040078.. date: 9245
larryhastingsf9f17342017-09-04 13:30:19 -070079.. nonce: c-FZZc
80.. section: Core and Builtins
81
82Use RawConfigParser for .pypirc parsing, removing support for interpolation
83unintentionally added with move to Python 3. Behavior no longer does any
84interpolation in .pypirc files, matching behavior in Python 2.7 and
85Setuptools 19.0.
86
87..
88
89.. bpo: 26249
Ned Deilyaee5df52018-06-27 18:45:50 -040090.. date: 9244
larryhastingsf9f17342017-09-04 13:30:19 -070091.. nonce: ZbpWF3
92.. section: Core and Builtins
93
94Memory functions of the :c:func:`PyMem_Malloc` domain
95(:c:data:`PYMEM_DOMAIN_MEM`) now use the :ref:`pymalloc allocator
96<pymalloc>` rather than system :c:func:`malloc`. Applications calling
97:c:func:`PyMem_Malloc` without holding the GIL can now crash: use
98``PYTHONMALLOC=debug`` environment variable to validate the usage of memory
99allocators in your application.
100
101..
102
103.. bpo: 26802
Ned Deilyaee5df52018-06-27 18:45:50 -0400104.. date: 9243
larryhastingsf9f17342017-09-04 13:30:19 -0700105.. nonce: hWpU4v
106.. section: Core and Builtins
107
108Optimize function calls only using unpacking like ``func(*tuple)`` (no other
109positional argument, no keyword): avoid copying the tuple. Patch written by
110Joe Jevnik.
111
112..
113
114.. bpo: 26659
Ned Deilyaee5df52018-06-27 18:45:50 -0400115.. date: 9242
larryhastingsf9f17342017-09-04 13:30:19 -0700116.. nonce: 5PRa83
117.. section: Core and Builtins
118
119Make the builtin slice type support cycle collection.
120
121..
122
123.. bpo: 26718
Ned Deilyaee5df52018-06-27 18:45:50 -0400124.. date: 9241
larryhastingsf9f17342017-09-04 13:30:19 -0700125.. nonce: K5PQ8j
126.. section: Core and Builtins
127
128super.__init__ no longer leaks memory if called multiple times. NOTE: A
129direct call of super.__init__ is not endorsed!
130
131..
132
133.. bpo: 27138
Ned Deilyaee5df52018-06-27 18:45:50 -0400134.. date: 9240
larryhastingsf9f17342017-09-04 13:30:19 -0700135.. nonce: ifYEro
136.. section: Core and Builtins
137
138Fix the doc comment for FileFinder.find_spec().
139
140..
141
142.. bpo: 27147
Ned Deilyaee5df52018-06-27 18:45:50 -0400143.. date: 9239
larryhastingsf9f17342017-09-04 13:30:19 -0700144.. nonce: tCCgmH
145.. section: Core and Builtins
146
Stéphane Wirtel12e696b2018-10-27 00:58:26 +0200147Mention :pep:`420` in the importlib docs.
larryhastingsf9f17342017-09-04 13:30:19 -0700148
149..
150
151.. bpo: 25339
Ned Deilyaee5df52018-06-27 18:45:50 -0400152.. date: 9238
larryhastingsf9f17342017-09-04 13:30:19 -0700153.. nonce: ZcaC2E
154.. section: Core and Builtins
155
156PYTHONIOENCODING now has priority over locale in setting the error handler
157for stdin and stdout.
158
159..
160
161.. bpo: 26494
Ned Deilyaee5df52018-06-27 18:45:50 -0400162.. date: 9237
larryhastingsf9f17342017-09-04 13:30:19 -0700163.. nonce: G6eXIi
164.. section: Core and Builtins
165
166Fixed crash on iterating exhausting iterators. Affected classes are generic
167sequence iterators, iterators of str, bytes, bytearray, list, tuple, set,
168frozenset, dict, OrderedDict, corresponding views and os.scandir() iterator.
169
170..
171
172.. bpo: 26574
Ned Deilyaee5df52018-06-27 18:45:50 -0400173.. date: 9236
larryhastingsf9f17342017-09-04 13:30:19 -0700174.. nonce: D2YL_w
175.. section: Core and Builtins
176
177Optimize ``bytes.replace(b'', b'.')`` and ``bytearray.replace(b'', b'.')``.
178Patch written by Josh Snider.
179
180..
181
182.. bpo: 26581
Ned Deilyaee5df52018-06-27 18:45:50 -0400183.. date: 9235
larryhastingsf9f17342017-09-04 13:30:19 -0700184.. nonce: yNA7nm
185.. section: Core and Builtins
186
187If coding cookie is specified multiple times on a line in Python source code
188file, only the first one is taken to account.
189
190..
191
192.. bpo: 19711
Ned Deilyaee5df52018-06-27 18:45:50 -0400193.. date: 9234
larryhastingsf9f17342017-09-04 13:30:19 -0700194.. nonce: gDDPJE
195.. section: Core and Builtins
196
197Add tests for reloading namespace packages.
198
199..
200
201.. bpo: 21099
Ned Deilyaee5df52018-06-27 18:45:50 -0400202.. date: 9233
larryhastingsf9f17342017-09-04 13:30:19 -0700203.. nonce: CuMWZJ
204.. section: Core and Builtins
205
Stéphane Wirtel12e696b2018-10-27 00:58:26 +0200206Switch applicable importlib tests to use :pep:`451` API.
larryhastingsf9f17342017-09-04 13:30:19 -0700207
208..
209
210.. bpo: 26563
Ned Deilyaee5df52018-06-27 18:45:50 -0400211.. date: 9232
larryhastingsf9f17342017-09-04 13:30:19 -0700212.. nonce: lyrB2Q
213.. section: Core and Builtins
214
215Debug hooks on Python memory allocators now raise a fatal error if functions
216of the :c:func:`PyMem_Malloc` family are called without holding the GIL.
217
218..
219
220.. bpo: 26564
Ned Deilyaee5df52018-06-27 18:45:50 -0400221.. date: 9231
larryhastingsf9f17342017-09-04 13:30:19 -0700222.. nonce: xeRXaz
223.. section: Core and Builtins
224
225On error, the debug hooks on Python memory allocators now use the
226:mod:`tracemalloc` module to get the traceback where a memory block was
227allocated.
228
229..
230
231.. bpo: 26558
Ned Deilyaee5df52018-06-27 18:45:50 -0400232.. date: 9230
larryhastingsf9f17342017-09-04 13:30:19 -0700233.. nonce: s05jz7
234.. section: Core and Builtins
235
236The debug hooks on Python memory allocator :c:func:`PyObject_Malloc` now
237detect when functions are called without holding the GIL.
238
239..
240
241.. bpo: 26516
Ned Deilyaee5df52018-06-27 18:45:50 -0400242.. date: 9229
larryhastingsf9f17342017-09-04 13:30:19 -0700243.. nonce: OjekqZ
244.. section: Core and Builtins
245
246Add :envvar:`PYTHONMALLOC` environment variable to set the Python memory
247allocators and/or install debug hooks.
248
249..
250
251.. bpo: 26516
Ned Deilyaee5df52018-06-27 18:45:50 -0400252.. date: 9228
larryhastingsf9f17342017-09-04 13:30:19 -0700253.. nonce: chNJuF
254.. section: Core and Builtins
255
256The :c:func:`PyMem_SetupDebugHooks` function can now also be used on Python
257compiled in release mode.
258
259..
260
261.. bpo: 26516
Ned Deilyaee5df52018-06-27 18:45:50 -0400262.. date: 9227
larryhastingsf9f17342017-09-04 13:30:19 -0700263.. nonce: q7fu1f
264.. section: Core and Builtins
265
266The :envvar:`PYTHONMALLOCSTATS` environment variable can now also be used on
267Python compiled in release mode. It now has no effect if set to an empty
268string.
269
270..
271
272.. bpo: 26516
Ned Deilyaee5df52018-06-27 18:45:50 -0400273.. date: 9226
larryhastingsf9f17342017-09-04 13:30:19 -0700274.. nonce: 2k9k6R
275.. section: Core and Builtins
276
277In debug mode, debug hooks are now also installed on Python memory
278allocators when Python is configured without pymalloc.
279
280..
281
282.. bpo: 26464
Ned Deilyaee5df52018-06-27 18:45:50 -0400283.. date: 9225
larryhastingsf9f17342017-09-04 13:30:19 -0700284.. nonce: 7BreGz
285.. section: Core and Builtins
286
287Fix str.translate() when string is ASCII and first replacements removes
288character, but next replacement uses a non-ASCII character or a string
289longer than 1 character. Regression introduced in Python 3.5.0.
290
291..
292
293.. bpo: 22836
Ned Deilyaee5df52018-06-27 18:45:50 -0400294.. date: 9224
larryhastingsf9f17342017-09-04 13:30:19 -0700295.. nonce: cimt1y
296.. section: Core and Builtins
297
298Ensure exception reports from PyErr_Display() and PyErr_WriteUnraisable()
299are sensible even when formatting them produces secondary errors. This
300affects the reports produced by sys.__excepthook__() and when __del__()
301raises an exception.
302
303..
304
305.. bpo: 26302
Ned Deilyaee5df52018-06-27 18:45:50 -0400306.. date: 9223
larryhastingsf9f17342017-09-04 13:30:19 -0700307.. nonce: UD9XQt
308.. section: Core and Builtins
309
310Correct behavior to reject comma as a legal character for cookie names.
311
312..
313
314.. bpo: 26136
Ned Deilyaee5df52018-06-27 18:45:50 -0400315.. date: 9222
larryhastingsf9f17342017-09-04 13:30:19 -0700316.. nonce: eZ0t1K
317.. section: Core and Builtins
318
319Upgrade the warning when a generator raises StopIteration from
320PendingDeprecationWarning to DeprecationWarning. Patch by Anish Shah.
321
322..
323
324.. bpo: 26204
Ned Deilyaee5df52018-06-27 18:45:50 -0400325.. date: 9221
larryhastingsf9f17342017-09-04 13:30:19 -0700326.. nonce: x3Zp8E
327.. section: Core and Builtins
328
329The compiler now ignores all constant statements: bytes, str, int, float,
330complex, name constants (None, False, True), Ellipsis and ast.Constant; not
331only str and int. For example, ``1.0`` is now ignored in ``def f(): 1.0``.
332
333..
334
335.. bpo: 4806
Ned Deilyaee5df52018-06-27 18:45:50 -0400336.. date: 9220
larryhastingsf9f17342017-09-04 13:30:19 -0700337.. nonce: i9m3hj
338.. section: Core and Builtins
339
340Avoid masking the original TypeError exception when using star (``*``)
341unpacking in function calls. Based on patch by Hagen Fürstenau and Daniel
342Urban.
343
344..
345
346.. bpo: 26146
Ned Deilyaee5df52018-06-27 18:45:50 -0400347.. date: 9219
larryhastingsf9f17342017-09-04 13:30:19 -0700348.. nonce: HKrUth
349.. section: Core and Builtins
350
351Add a new kind of AST node: ``ast.Constant``. It can be used by external AST
352optimizers, but the compiler does not emit directly such node.
353
354..
355
356.. bpo: 23601
Ned Deilyaee5df52018-06-27 18:45:50 -0400357.. date: 9218
larryhastingsf9f17342017-09-04 13:30:19 -0700358.. nonce: 2E4seG
359.. section: Core and Builtins
360
361Sped-up allocation of dict key objects by using Python's small object
362allocator. (Contributed by Julian Taylor.)
363
364..
365
366.. bpo: 18018
Ned Deilyaee5df52018-06-27 18:45:50 -0400367.. date: 9217
larryhastingsf9f17342017-09-04 13:30:19 -0700368.. nonce: XKKap3
369.. section: Core and Builtins
370
371Import raises ImportError instead of SystemError if a relative import is
372attempted without a known parent package.
373
374..
375
376.. bpo: 25843
Ned Deilyaee5df52018-06-27 18:45:50 -0400377.. date: 9216
larryhastingsf9f17342017-09-04 13:30:19 -0700378.. nonce: NtJZie
379.. section: Core and Builtins
380
381When compiling code, don't merge constants if they are equal but have a
382different types. For example, ``f1, f2 = lambda: 1, lambda: 1.0`` is now
383correctly compiled to two different functions: ``f1()`` returns ``1``
384(``int``) and ``f2()`` returns ``1.0`` (``float``), even if ``1`` and
385``1.0`` are equal.
386
387..
388
389.. bpo: 26107
Ned Deilyaee5df52018-06-27 18:45:50 -0400390.. date: 9215
larryhastingsf9f17342017-09-04 13:30:19 -0700391.. nonce: q0LBMY
392.. section: Core and Builtins
393
394The format of the ``co_lnotab`` attribute of code objects changes to support
395negative line number delta.
396
397..
398
399.. bpo: 26154
Ned Deilyaee5df52018-06-27 18:45:50 -0400400.. date: 9214
larryhastingsf9f17342017-09-04 13:30:19 -0700401.. nonce: MtnRAH
402.. section: Core and Builtins
403
404Add a new private _PyThreadState_UncheckedGet() function to get the current
405Python thread state, but don't issue a fatal error if it is NULL. This new
406function must be used instead of accessing directly the
407_PyThreadState_Current variable. The variable is no more exposed since
408Python 3.5.1 to hide the exact implementation of atomic C types, to avoid
409compiler issues.
410
411..
412
413.. bpo: 25791
Ned Deilyaee5df52018-06-27 18:45:50 -0400414.. date: 9213
larryhastingsf9f17342017-09-04 13:30:19 -0700415.. nonce: gllzPw
416.. section: Core and Builtins
417
418If __package__ != __spec__.parent or if neither __package__ or __spec__ are
419defined then ImportWarning is raised.
420
421..
422
423.. bpo: 22995
Ned Deilyaee5df52018-06-27 18:45:50 -0400424.. date: 9212
larryhastingsf9f17342017-09-04 13:30:19 -0700425.. nonce: KYNKvs
426.. section: Core and Builtins
427
428[UPDATE] Comment out the one of the pickleability tests in
429_PyObject_GetState() due to regressions observed in Cython-based projects.
430
431..
432
433.. bpo: 25961
Ned Deilyaee5df52018-06-27 18:45:50 -0400434.. date: 9211
larryhastingsf9f17342017-09-04 13:30:19 -0700435.. nonce: Hdjjw0
436.. section: Core and Builtins
437
438Disallowed null characters in the type name.
439
440..
441
442.. bpo: 25973
Ned Deilyaee5df52018-06-27 18:45:50 -0400443.. date: 9210
larryhastingsf9f17342017-09-04 13:30:19 -0700444.. nonce: Ud__ZP
445.. section: Core and Builtins
446
447Fix segfault when an invalid nonlocal statement binds a name starting with
448two underscores.
449
450..
451
452.. bpo: 22995
Ned Deilyaee5df52018-06-27 18:45:50 -0400453.. date: 9209
larryhastingsf9f17342017-09-04 13:30:19 -0700454.. nonce: Wq0E86
455.. section: Core and Builtins
456
457Instances of extension types with a state that aren't subclasses of list or
458dict and haven't implemented any pickle-related methods (__reduce__,
459__reduce_ex__, __getnewargs__, __getnewargs_ex__, or __getstate__), can no
460longer be pickled. Including memoryview.
461
462..
463
464.. bpo: 20440
Ned Deilyaee5df52018-06-27 18:45:50 -0400465.. date: 9208
larryhastingsf9f17342017-09-04 13:30:19 -0700466.. nonce: GCwOfH
467.. section: Core and Builtins
468
469Massive replacing unsafe attribute setting code with special macro
470Py_SETREF.
471
472..
473
474.. bpo: 25766
Ned Deilyaee5df52018-06-27 18:45:50 -0400475.. date: 9207
larryhastingsf9f17342017-09-04 13:30:19 -0700476.. nonce: jn93Yu
477.. section: Core and Builtins
478
479Special method __bytes__() now works in str subclasses.
480
481..
482
483.. bpo: 25421
Ned Deilyaee5df52018-06-27 18:45:50 -0400484.. date: 9206
larryhastingsf9f17342017-09-04 13:30:19 -0700485.. nonce: c47YEL
486.. section: Core and Builtins
487
488__sizeof__ methods of builtin types now use dynamic basic size. This allows
489sys.getsize() to work correctly with their subclasses with __slots__
490defined.
491
492..
493
494.. bpo: 25709
Ned Deilyaee5df52018-06-27 18:45:50 -0400495.. date: 9205
larryhastingsf9f17342017-09-04 13:30:19 -0700496.. nonce: WwGm2k
497.. section: Core and Builtins
498
499Fixed problem with in-place string concatenation and utf-8 cache.
500
501..
502
503.. bpo: 5319
Ned Deilyaee5df52018-06-27 18:45:50 -0400504.. date: 9204
larryhastingsf9f17342017-09-04 13:30:19 -0700505.. nonce: HxlGwI
506.. section: Core and Builtins
507
508New Py_FinalizeEx() API allowing Python to set an exit status of 120 on
509failure to flush buffered streams.
510
511..
512
513.. bpo: 25485
Ned Deilyaee5df52018-06-27 18:45:50 -0400514.. date: 9203
larryhastingsf9f17342017-09-04 13:30:19 -0700515.. nonce: 9qnaPt
516.. section: Core and Builtins
517
518telnetlib.Telnet is now a context manager.
519
520..
521
522.. bpo: 24097
Ned Deilyaee5df52018-06-27 18:45:50 -0400523.. date: 9202
larryhastingsf9f17342017-09-04 13:30:19 -0700524.. nonce: Vt4E-i
525.. section: Core and Builtins
526
527Fixed crash in object.__reduce__() if slot name is freed inside __getattr__.
528
529..
530
531.. bpo: 24731
Ned Deilyaee5df52018-06-27 18:45:50 -0400532.. date: 9201
larryhastingsf9f17342017-09-04 13:30:19 -0700533.. nonce: h9-hnz
534.. section: Core and Builtins
535
536Fixed crash on converting objects with special methods __bytes__, __trunc__,
537and __float__ returning instances of subclasses of bytes, int, and float to
538subclasses of bytes, int, and float correspondingly.
539
540..
541
542.. bpo: 25630
Ned Deilyaee5df52018-06-27 18:45:50 -0400543.. date: 9200
larryhastingsf9f17342017-09-04 13:30:19 -0700544.. nonce: ZxzcoY
545.. section: Core and Builtins
546
547Fix a possible segfault during argument parsing in functions that accept
548filesystem paths.
549
550..
551
552.. bpo: 23564
Ned Deilyaee5df52018-06-27 18:45:50 -0400553.. date: 9199
larryhastingsf9f17342017-09-04 13:30:19 -0700554.. nonce: XHarGG
555.. section: Core and Builtins
556
557Fixed a partially broken sanity check in the _posixsubprocess internals
558regarding how fds_to_pass were passed to the child. The bug had no actual
559impact as subprocess.py already avoided it.
560
561..
562
563.. bpo: 25388
Ned Deilyaee5df52018-06-27 18:45:50 -0400564.. date: 9198
larryhastingsf9f17342017-09-04 13:30:19 -0700565.. nonce: zm3uuQ
566.. section: Core and Builtins
567
568Fixed tokenizer crash when processing undecodable source code with a null
569byte.
570
571..
572
573.. bpo: 25462
Ned Deilyaee5df52018-06-27 18:45:50 -0400574.. date: 9197
larryhastingsf9f17342017-09-04 13:30:19 -0700575.. nonce: eXDzgO
576.. section: Core and Builtins
577
578The hash of the key now is calculated only once in most operations in C
579implementation of OrderedDict.
580
581..
582
583.. bpo: 22995
Ned Deilyaee5df52018-06-27 18:45:50 -0400584.. date: 9196
larryhastingsf9f17342017-09-04 13:30:19 -0700585.. nonce: 90kpuP
586.. section: Core and Builtins
587
588Default implementation of __reduce__ and __reduce_ex__ now rejects builtin
589types with not defined __new__.
590
591..
592
593.. bpo: 24802
Ned Deilyaee5df52018-06-27 18:45:50 -0400594.. date: 9195
larryhastingsf9f17342017-09-04 13:30:19 -0700595.. nonce: Qie066
596.. section: Core and Builtins
597
598Avoid buffer overreads when int(), float(), compile(), exec() and eval() are
599passed bytes-like objects. These objects are not necessarily terminated by
600a null byte, but the functions assumed they were.
601
602..
603
604.. bpo: 25555
Ned Deilyaee5df52018-06-27 18:45:50 -0400605.. date: 9194
larryhastingsf9f17342017-09-04 13:30:19 -0700606.. nonce: MUpG-j
607.. section: Core and Builtins
608
609Fix parser and AST: fill lineno and col_offset of "arg" node when compiling
610AST from Python objects.
611
612..
613
614.. bpo: 24726
Ned Deilyaee5df52018-06-27 18:45:50 -0400615.. date: 9193
larryhastingsf9f17342017-09-04 13:30:19 -0700616.. nonce: AHk4v2
617.. section: Core and Builtins
618
619Fixed a crash and leaking NULL in repr() of OrderedDict that was mutated by
620direct calls of dict methods.
621
622..
623
624.. bpo: 25449
Ned Deilyaee5df52018-06-27 18:45:50 -0400625.. date: 9192
larryhastingsf9f17342017-09-04 13:30:19 -0700626.. nonce: VqTOFi
627.. section: Core and Builtins
628
629Iterating OrderedDict with keys with unstable hash now raises KeyError in C
630implementations as well as in Python implementation.
631
632..
633
634.. bpo: 25395
Ned Deilyaee5df52018-06-27 18:45:50 -0400635.. date: 9191
larryhastingsf9f17342017-09-04 13:30:19 -0700636.. nonce: htkE3W
637.. section: Core and Builtins
638
639Fixed crash when highly nested OrderedDict structures were garbage
640collected.
641
642..
643
644.. bpo: 25401
Ned Deilyaee5df52018-06-27 18:45:50 -0400645.. date: 9190
larryhastingsf9f17342017-09-04 13:30:19 -0700646.. nonce: ofrAtd
647.. section: Core and Builtins
648
649Optimize bytes.fromhex() and bytearray.fromhex(): they are now between 2x
650and 3.5x faster.
651
652..
653
654.. bpo: 25399
Ned Deilyaee5df52018-06-27 18:45:50 -0400655.. date: 9189
larryhastingsf9f17342017-09-04 13:30:19 -0700656.. nonce: dNKIhY
657.. section: Core and Builtins
658
659Optimize bytearray % args using the new private _PyBytesWriter API.
660Formatting is now between 2.5 and 5 times faster.
661
662..
663
664.. bpo: 25274
Ned Deilyaee5df52018-06-27 18:45:50 -0400665.. date: 9188
larryhastingsf9f17342017-09-04 13:30:19 -0700666.. nonce: QCGvAF
667.. section: Core and Builtins
668
669sys.setrecursionlimit() now raises a RecursionError if the new recursion
670limit is too low depending at the current recursion depth. Modify also the
671"lower-water mark" formula to make it monotonic. This mark is used to decide
672when the overflowed flag of the thread state is reset.
673
674..
675
676.. bpo: 24402
Ned Deilyaee5df52018-06-27 18:45:50 -0400677.. date: 9187
larryhastingsf9f17342017-09-04 13:30:19 -0700678.. nonce: MAgi3X
679.. section: Core and Builtins
680
681Fix input() to prompt to the redirected stdout when sys.stdout.fileno()
682fails.
683
684..
685
686.. bpo: 25349
Ned Deilyaee5df52018-06-27 18:45:50 -0400687.. date: 9186
larryhastingsf9f17342017-09-04 13:30:19 -0700688.. nonce: 7lBgJ8
689.. section: Core and Builtins
690
691Optimize bytes % args using the new private _PyBytesWriter API. Formatting
692is now up to 2 times faster.
693
694..
695
696.. bpo: 24806
Ned Deilyaee5df52018-06-27 18:45:50 -0400697.. date: 9185
larryhastingsf9f17342017-09-04 13:30:19 -0700698.. nonce: Nb0znT
699.. section: Core and Builtins
700
701Prevent builtin types that are not allowed to be subclassed from being
702subclassed through multiple inheritance.
703
704..
705
706.. bpo: 25301
Ned Deilyaee5df52018-06-27 18:45:50 -0400707.. date: 9184
larryhastingsf9f17342017-09-04 13:30:19 -0700708.. nonce: hUTCfr
709.. section: Core and Builtins
710
711The UTF-8 decoder is now up to 15 times as fast for error handlers:
712``ignore``, ``replace`` and ``surrogateescape``.
713
714..
715
716.. bpo: 24848
Ned Deilyaee5df52018-06-27 18:45:50 -0400717.. date: 9183
larryhastingsf9f17342017-09-04 13:30:19 -0700718.. nonce: HlUSuy
719.. section: Core and Builtins
720
721Fixed a number of bugs in UTF-7 decoding of misformed data.
722
723..
724
725.. bpo: 25267
Ned Deilyaee5df52018-06-27 18:45:50 -0400726.. date: 9182
larryhastingsf9f17342017-09-04 13:30:19 -0700727.. nonce: SW8Gs6
728.. section: Core and Builtins
729
730The UTF-8 encoder is now up to 75 times as fast for error handlers:
Serhiy Storchakaaef639f2018-05-21 02:36:05 +0300731``ignore``, ``replace``, ``surrogateescape``, ``surrogatepass``. Patch
732co-written with Serhiy Storchaka.
larryhastingsf9f17342017-09-04 13:30:19 -0700733
734..
735
736.. bpo: 25280
Ned Deilyaee5df52018-06-27 18:45:50 -0400737.. date: 9181
larryhastingsf9f17342017-09-04 13:30:19 -0700738.. nonce: ivTMwd
739.. section: Core and Builtins
740
741Import trace messages emitted in verbose (-v) mode are no longer formatted
742twice.
743
744..
745
746.. bpo: 25227
Ned Deilyaee5df52018-06-27 18:45:50 -0400747.. date: 9180
larryhastingsf9f17342017-09-04 13:30:19 -0700748.. nonce: 19v5rp
749.. section: Core and Builtins
750
751Optimize ASCII and latin1 encoders with the ``surrogateescape`` error
752handler: the encoders are now up to 3 times as fast. Initial patch written
753by Serhiy Storchaka.
754
755..
756
757.. bpo: 25003
Ned Deilyaee5df52018-06-27 18:45:50 -0400758.. date: 9179
larryhastingsf9f17342017-09-04 13:30:19 -0700759.. nonce: _ban92
760.. section: Core and Builtins
761
762On Solaris 11.3 or newer, os.urandom() now uses the getrandom() function
763instead of the getentropy() function. The getentropy() function is blocking
Serhiy Storchakaaef639f2018-05-21 02:36:05 +0300764to generate very good quality entropy, os.urandom() doesn't need such
765high-quality entropy.
larryhastingsf9f17342017-09-04 13:30:19 -0700766
767..
768
769.. bpo: 9232
Ned Deilyaee5df52018-06-27 18:45:50 -0400770.. date: 9178
larryhastingsf9f17342017-09-04 13:30:19 -0700771.. nonce: pjsmWw
772.. section: Core and Builtins
773
774Modify Python's grammar to allow trailing commas in the argument list of a
775function declaration. For example, "def f(\*, a = 3,): pass" is now legal.
776Patch from Mark Dickinson.
777
778..
779
780.. bpo: 24965
Ned Deilyaee5df52018-06-27 18:45:50 -0400781.. date: 9177
larryhastingsf9f17342017-09-04 13:30:19 -0700782.. nonce: wfyxbB
783.. section: Core and Builtins
784
Stéphane Wirtel12e696b2018-10-27 00:58:26 +0200785Implement :pep:`498` "Literal String Interpolation". This allows you to embed
larryhastingsf9f17342017-09-04 13:30:19 -0700786expressions inside f-strings, which are converted to normal strings at run
787time. Given x=3, then f'value={x}' == 'value=3'. Patch by Eric V. Smith.
788
789..
790
791.. bpo: 26478
Ned Deilyaee5df52018-06-27 18:45:50 -0400792.. date: 9176
larryhastingsf9f17342017-09-04 13:30:19 -0700793.. nonce: n0dB8e
794.. section: Core and Builtins
795
796Fix semantic bugs when using binary operators with dictionary views and
797tuples.
798
799..
800
801.. bpo: 26171
Ned Deilyaee5df52018-06-27 18:45:50 -0400802.. date: 9175
larryhastingsf9f17342017-09-04 13:30:19 -0700803.. nonce: 8SaQEa
804.. section: Core and Builtins
805
806Fix possible integer overflow and heap corruption in zipimporter.get_data().
807
808..
809
810.. bpo: 25660
Ned Deilyaee5df52018-06-27 18:45:50 -0400811.. date: 9174
larryhastingsf9f17342017-09-04 13:30:19 -0700812.. nonce: 93DzBo
813.. section: Core and Builtins
814
815Fix TAB key behaviour in REPL with readline.
816
817..
818
819.. bpo: 26288
Ned Deilyaee5df52018-06-27 18:45:50 -0400820.. date: 9173
larryhastingsf9f17342017-09-04 13:30:19 -0700821.. nonce: f67RLk
822.. section: Core and Builtins
823
824Optimize PyLong_AsDouble.
825
826..
827
828.. bpo: 26289
Ned Deilyaee5df52018-06-27 18:45:50 -0400829.. date: 9172
larryhastingsf9f17342017-09-04 13:30:19 -0700830.. nonce: uG9ozG
831.. section: Core and Builtins
832
833Optimize floor and modulo division for single-digit longs. Microbenchmarks
834show 2-2.5x improvement. Built-in 'divmod' function is now also ~10%
835faster. (See also: bpo-26315)
836
837..
838
839.. bpo: 25887
Ned Deilyaee5df52018-06-27 18:45:50 -0400840.. date: 9171
larryhastingsf9f17342017-09-04 13:30:19 -0700841.. nonce: PtVIX7
842.. section: Core and Builtins
843
844Raise a RuntimeError when a coroutine object is awaited more than once.
845
846..
847
848.. bpo: 27057
Ned Deilyaee5df52018-06-27 18:45:50 -0400849.. date: 9170
larryhastingsf9f17342017-09-04 13:30:19 -0700850.. nonce: YzTA_Q
851.. section: Library
852
853Fix os.set_inheritable() on Android, ioctl() is blocked by SELinux and fails
854with EACCESS. The function now falls back to fcntl(). Patch written by
855Michał Bednarski.
856
857..
858
859.. bpo: 27014
Ned Deilyaee5df52018-06-27 18:45:50 -0400860.. date: 9169
larryhastingsf9f17342017-09-04 13:30:19 -0700861.. nonce: ui7Khn
862.. section: Library
863
864Fix infinite recursion using typing.py. Thanks to Kalle Tuure!
865
866..
867
868.. bpo: 27031
Ned Deilyaee5df52018-06-27 18:45:50 -0400869.. date: 9168
larryhastingsf9f17342017-09-04 13:30:19 -0700870.. nonce: FtvDPs
871.. section: Library
872
873Removed dummy methods in Tkinter widget classes: tk_menuBar() and
874tk_bindForTraversal().
875
876..
877
878.. bpo: 14132
Ned Deilyaee5df52018-06-27 18:45:50 -0400879.. date: 9167
larryhastingsf9f17342017-09-04 13:30:19 -0700880.. nonce: 5wR9MN
881.. section: Library
882
883Fix urllib.request redirect handling when the target only has a query
884string. Original fix by Ján Janech.
885
886..
887
888.. bpo: 17214
Ned Deilyaee5df52018-06-27 18:45:50 -0400889.. date: 9166
larryhastingsf9f17342017-09-04 13:30:19 -0700890.. nonce: lUbZOV
891.. section: Library
892
893The "urllib.request" module now percent-encodes non-ASCII bytes found in
Serhiy Storchakaaef639f2018-05-21 02:36:05 +0300894redirect target URLs. Some servers send Location header fields with
895non-ASCII bytes, but "http.client" requires the request target to be
896ASCII-encodable, otherwise a UnicodeEncodeError is raised. Based on patch by
larryhastingsf9f17342017-09-04 13:30:19 -0700897Christian Heimes.
898
899..
900
901.. bpo: 27033
Ned Deilyaee5df52018-06-27 18:45:50 -0400902.. date: 9165
larryhastingsf9f17342017-09-04 13:30:19 -0700903.. nonce: o4XIPr
904.. section: Library
905
906The default value of the decode_data parameter for smtpd.SMTPChannel and
907smtpd.SMTPServer constructors is changed to False.
908
909..
910
911.. bpo: 27034
Ned Deilyaee5df52018-06-27 18:45:50 -0400912.. date: 9164
larryhastingsf9f17342017-09-04 13:30:19 -0700913.. nonce: ptzz_S
914.. section: Library
915
916Removed deprecated class asynchat.fifo.
917
918..
919
920.. bpo: 26870
Ned Deilyaee5df52018-06-27 18:45:50 -0400921.. date: 9163
larryhastingsf9f17342017-09-04 13:30:19 -0700922.. nonce: 5tCUlp
923.. section: Library
924
925Added readline.set_auto_history(), which can stop entries being
926automatically added to the history list. Based on patch by Tyler Crompton.
927
928..
929
930.. bpo: 26039
Ned Deilyaee5df52018-06-27 18:45:50 -0400931.. date: 9162
larryhastingsf9f17342017-09-04 13:30:19 -0700932.. nonce: JnXjiE
933.. section: Library
934
935zipfile.ZipFile.open() can now be used to write data into a ZIP file, as
936well as for extracting data. Patch by Thomas Kluyver.
937
938..
939
940.. bpo: 26892
Ned Deilyaee5df52018-06-27 18:45:50 -0400941.. date: 9161
larryhastingsf9f17342017-09-04 13:30:19 -0700942.. nonce: XIXb0h
943.. section: Library
944
945Honor debuglevel flag in urllib.request.HTTPHandler. Patch contributed by
946Chi Hsuan Yen.
947
948..
949
950.. bpo: 22274
Ned Deilyaee5df52018-06-27 18:45:50 -0400951.. date: 9160
larryhastingsf9f17342017-09-04 13:30:19 -0700952.. nonce: 0RHDMN
953.. section: Library
954
955In the subprocess module, allow stderr to be redirected to stdout even when
956stdout is not redirected. Patch by Akira Li.
957
958..
959
960.. bpo: 26807
Ned Deilyaee5df52018-06-27 18:45:50 -0400961.. date: 9159
larryhastingsf9f17342017-09-04 13:30:19 -0700962.. nonce: LXSPP6
963.. section: Library
964
965mock_open 'files' no longer error on readline at end of file. Patch from
966Yolanda Robla.
967
968..
969
970.. bpo: 25745
Ned Deilyaee5df52018-06-27 18:45:50 -0400971.. date: 9158
larryhastingsf9f17342017-09-04 13:30:19 -0700972.. nonce: -n8acU
973.. section: Library
974
975Fixed leaking a userptr in curses panel destructor.
976
977..
978
979.. bpo: 26977
Ned Deilyaee5df52018-06-27 18:45:50 -0400980.. date: 9157
larryhastingsf9f17342017-09-04 13:30:19 -0700981.. nonce: 5G4HtL
982.. section: Library
983
984Removed unnecessary, and ignored, call to sum of squares helper in
985statistics.pvariance.
986
987..
988
989.. bpo: 26002
Ned Deilyaee5df52018-06-27 18:45:50 -0400990.. date: 9156
larryhastingsf9f17342017-09-04 13:30:19 -0700991.. nonce: bVD4pW
992.. section: Library
993
994Use bisect in statistics.median instead of a linear search. Patch by Upendra
995Kuma.
996
997..
998
999.. bpo: 25974
Ned Deilyaee5df52018-06-27 18:45:50 -04001000.. date: 9155
larryhastingsf9f17342017-09-04 13:30:19 -07001001.. nonce: cpOy5R
1002.. section: Library
1003
1004Make use of new Decimal.as_integer_ratio() method in statistics module.
1005Patch by Stefan Krah.
1006
1007..
1008
1009.. bpo: 26996
Ned Deilyaee5df52018-06-27 18:45:50 -04001010.. date: 9154
larryhastingsf9f17342017-09-04 13:30:19 -07001011.. nonce: LR__VD
1012.. section: Library
1013
Stéphane Wirtel12e696b2018-10-27 00:58:26 +02001014Add secrets module as described in :pep:`506`.
larryhastingsf9f17342017-09-04 13:30:19 -07001015
1016..
1017
1018.. bpo: 26881
Ned Deilyaee5df52018-06-27 18:45:50 -04001019.. date: 9153
larryhastingsf9f17342017-09-04 13:30:19 -07001020.. nonce: mdiq_L
1021.. section: Library
1022
1023The modulefinder module now supports extended opcode arguments.
1024
1025..
1026
1027.. bpo: 23815
Ned Deilyaee5df52018-06-27 18:45:50 -04001028.. date: 9152
larryhastingsf9f17342017-09-04 13:30:19 -07001029.. nonce: _krNe8
1030.. section: Library
1031
1032Fixed crashes related to directly created instances of types in _tkinter and
1033curses.panel modules.
1034
1035..
1036
1037.. bpo: 17765
Ned Deilyaee5df52018-06-27 18:45:50 -04001038.. date: 9151
larryhastingsf9f17342017-09-04 13:30:19 -07001039.. nonce: hiSVS1
1040.. section: Library
1041
1042weakref.ref() no longer silently ignores keyword arguments. Patch by Georg
1043Brandl.
1044
1045..
1046
1047.. bpo: 26873
Ned Deilyaee5df52018-06-27 18:45:50 -04001048.. date: 9150
larryhastingsf9f17342017-09-04 13:30:19 -07001049.. nonce: cYXRcH
1050.. section: Library
1051
1052xmlrpc now raises ResponseError on unsupported type tags instead of silently
1053return incorrect result.
1054
1055..
1056
1057.. bpo: 26915
Ned Deilyaee5df52018-06-27 18:45:50 -04001058.. date: 9149
larryhastingsf9f17342017-09-04 13:30:19 -07001059.. nonce: GoQKUL
1060.. section: Library
1061
1062The __contains__ methods in the collections ABCs now check for identity
1063before checking equality. This better matches the behavior of the concrete
1064classes, allows sensible handling of NaNs, and makes it easier to reason
1065about container invariants.
1066
1067..
1068
1069.. bpo: 26711
Ned Deilyaee5df52018-06-27 18:45:50 -04001070.. date: 9148
larryhastingsf9f17342017-09-04 13:30:19 -07001071.. nonce: Eu85Qw
1072.. section: Library
1073
1074Fixed the comparison of plistlib.Data with other types.
1075
1076..
1077
1078.. bpo: 24114
Ned Deilyaee5df52018-06-27 18:45:50 -04001079.. date: 9147
larryhastingsf9f17342017-09-04 13:30:19 -07001080.. nonce: RMRMtM
1081.. section: Library
1082
1083Fix an uninitialized variable in `ctypes.util`.
larryhastingsf9f17342017-09-04 13:30:19 -07001084The bug only occurs on SunOS when the ctypes implementation searches for the
1085`crle` program. Patch by Xiang Zhang. Tested on SunOS by Kees Bos.
1086
1087..
1088
1089.. bpo: 26864
Ned Deilyaee5df52018-06-27 18:45:50 -04001090.. date: 9146
larryhastingsf9f17342017-09-04 13:30:19 -07001091.. nonce: 1KgGds
1092.. section: Library
1093
1094In urllib.request, change the proxy bypass host checking against no_proxy to
1095be case-insensitive, and to not match unrelated host names that happen to
1096have a bypassed hostname as a suffix. Patch by Xiang Zhang.
1097
1098..
1099
1100.. bpo: 24902
Ned Deilyaee5df52018-06-27 18:45:50 -04001101.. date: 9145
larryhastingsf9f17342017-09-04 13:30:19 -07001102.. nonce: bwWpLj
1103.. section: Library
1104
1105Print server URL on http.server startup. Initial patch by Felix Kaiser.
1106
1107..
1108
1109.. bpo: 25788
Ned Deilyaee5df52018-06-27 18:45:50 -04001110.. date: 9144
larryhastingsf9f17342017-09-04 13:30:19 -07001111.. nonce: 9weIV5
1112.. section: Library
1113
1114fileinput.hook_encoded() now supports an "errors" argument for passing to
1115open. Original patch by Joseph Hackman.
1116
1117..
1118
1119.. bpo: 26634
Ned Deilyaee5df52018-06-27 18:45:50 -04001120.. date: 9143
larryhastingsf9f17342017-09-04 13:30:19 -07001121.. nonce: FZvsSb
1122.. section: Library
1123
1124recursive_repr() now sets __qualname__ of wrapper. Patch by Xiang Zhang.
1125
1126..
1127
1128.. bpo: 26804
Ned Deilyaee5df52018-06-27 18:45:50 -04001129.. date: 9142
larryhastingsf9f17342017-09-04 13:30:19 -07001130.. nonce: 9Orp-G
1131.. section: Library
1132
1133urllib.request will prefer lower_case proxy environment variables over
1134UPPER_CASE or Mixed_Case ones. Patch contributed by Hans-Peter Jansen.
1135
1136..
1137
1138.. bpo: 26837
Ned Deilyaee5df52018-06-27 18:45:50 -04001139.. date: 9141
larryhastingsf9f17342017-09-04 13:30:19 -07001140.. nonce: 2FXGsD
1141.. section: Library
1142
1143assertSequenceEqual() now correctly outputs non-stringified differing items
1144(like bytes in the -b mode). This affects assertListEqual() and
1145assertTupleEqual().
1146
1147..
1148
1149.. bpo: 26041
Ned Deilyaee5df52018-06-27 18:45:50 -04001150.. date: 9140
larryhastingsf9f17342017-09-04 13:30:19 -07001151.. nonce: bVem-p
1152.. section: Library
1153
1154Remove "will be removed in Python 3.7" from deprecation messages of
1155platform.dist() and platform.linux_distribution(). Patch by Kumaripaba
1156Miyurusara Athukorala.
1157
1158..
1159
1160.. bpo: 26822
Ned Deilyaee5df52018-06-27 18:45:50 -04001161.. date: 9139
larryhastingsf9f17342017-09-04 13:30:19 -07001162.. nonce: rYSL4W
1163.. section: Library
1164
1165itemgetter, attrgetter and methodcaller objects no longer silently ignore
1166keyword arguments.
1167
1168..
1169
1170.. bpo: 26733
Ned Deilyaee5df52018-06-27 18:45:50 -04001171.. date: 9138
larryhastingsf9f17342017-09-04 13:30:19 -07001172.. nonce: YxaJmL
1173.. section: Library
1174
1175Disassembling a class now disassembles class and static methods. Patch by
1176Xiang Zhang.
1177
1178..
1179
1180.. bpo: 26801
Ned Deilyaee5df52018-06-27 18:45:50 -04001181.. date: 9137
larryhastingsf9f17342017-09-04 13:30:19 -07001182.. nonce: TQGY-7
1183.. section: Library
1184
1185Fix error handling in :func:`shutil.get_terminal_size`, catch
1186:exc:`AttributeError` instead of :exc:`NameError`. Patch written by Emanuel
1187Barry.
1188
1189..
1190
1191.. bpo: 24838
Ned Deilyaee5df52018-06-27 18:45:50 -04001192.. date: 9136
larryhastingsf9f17342017-09-04 13:30:19 -07001193.. nonce: 3Pfx8T
1194.. section: Library
1195
1196tarfile's ustar and gnu formats now correctly calculate name and link field
1197limits for multibyte character encodings like utf-8.
1198
1199..
1200
1201.. bpo: 26657
Ned Deilyaee5df52018-06-27 18:45:50 -04001202.. date: 9135
larryhastingsf9f17342017-09-04 13:30:19 -07001203.. nonce: C_-XFg
1204.. original section: Library
1205.. section: Security
1206
1207Fix directory traversal vulnerability with http.server on Windows. This
1208fixes a regression that was introduced in 3.3.4rc1 and 3.4.0rc1. Based on
1209patch by Philipp Hagemeister.
1210
1211..
1212
1213.. bpo: 26717
Ned Deilyaee5df52018-06-27 18:45:50 -04001214.. date: 9134
larryhastingsf9f17342017-09-04 13:30:19 -07001215.. nonce: jngTdu
1216.. section: Library
1217
1218Stop encoding Latin-1-ized WSGI paths with UTF-8. Patch by Anthony Sottile.
1219
1220..
1221
1222.. bpo: 26782
Ned Deilyaee5df52018-06-27 18:45:50 -04001223.. date: 9133
larryhastingsf9f17342017-09-04 13:30:19 -07001224.. nonce: JWLPrH
1225.. section: Library
1226
1227Add STARTUPINFO to subprocess.__all__ on Windows.
1228
1229..
1230
1231.. bpo: 26404
Ned Deilyaee5df52018-06-27 18:45:50 -04001232.. date: 9132
larryhastingsf9f17342017-09-04 13:30:19 -07001233.. nonce: hXw7Bs
1234.. section: Library
1235
1236Add context manager to socketserver. Patch by Aviv Palivoda.
1237
1238..
1239
1240.. bpo: 26735
Ned Deilyaee5df52018-06-27 18:45:50 -04001241.. date: 9131
larryhastingsf9f17342017-09-04 13:30:19 -07001242.. nonce: riSl3b
1243.. section: Library
1244
1245Fix :func:`os.urandom` on Solaris 11.3 and newer when reading more than
12461,024 bytes: call ``getrandom()`` multiple times with a limit of 1024 bytes
1247per call.
1248
1249..
1250
1251.. bpo: 26585
Ned Deilyaee5df52018-06-27 18:45:50 -04001252.. date: 9130
larryhastingsf9f17342017-09-04 13:30:19 -07001253.. nonce: kfb749
1254.. section: Library
1255
1256Eliminate http.server._quote_html() and use html.escape(quote=False). Patch
1257by Xiang Zhang.
1258
1259..
1260
1261.. bpo: 26685
Ned Deilyaee5df52018-06-27 18:45:50 -04001262.. date: 9129
larryhastingsf9f17342017-09-04 13:30:19 -07001263.. nonce: sI_1Ff
1264.. section: Library
1265
1266Raise OSError if closing a socket fails.
1267
1268..
1269
1270.. bpo: 16329
Ned Deilyaee5df52018-06-27 18:45:50 -04001271.. date: 9128
larryhastingsf9f17342017-09-04 13:30:19 -07001272.. nonce: nuXD8W
1273.. section: Library
1274
1275Add .webm to mimetypes.types_map. Patch by Giampaolo Rodola'.
1276
1277..
1278
1279.. bpo: 13952
Ned Deilyaee5df52018-06-27 18:45:50 -04001280.. date: 9127
larryhastingsf9f17342017-09-04 13:30:19 -07001281.. nonce: SOoTVE
1282.. section: Library
1283
1284Add .csv to mimetypes.types_map. Patch by Geoff Wilson.
1285
1286..
1287
1288.. bpo: 26587
Ned Deilyaee5df52018-06-27 18:45:50 -04001289.. date: 9126
larryhastingsf9f17342017-09-04 13:30:19 -07001290.. nonce: Qo-B6C
1291.. section: Library
1292
1293the site module now allows .pth files to specify files to be added to
1294sys.path (e.g. zip files).
1295
1296..
1297
1298.. bpo: 25609
Ned Deilyaee5df52018-06-27 18:45:50 -04001299.. date: 9125
larryhastingsf9f17342017-09-04 13:30:19 -07001300.. nonce: t1ydQM
1301.. section: Library
1302
1303Introduce contextlib.AbstractContextManager and typing.ContextManager.
1304
1305..
1306
1307.. bpo: 26709
Ned Deilyaee5df52018-06-27 18:45:50 -04001308.. date: 9124
larryhastingsf9f17342017-09-04 13:30:19 -07001309.. nonce: luOPbP
1310.. section: Library
1311
1312Fixed Y2038 problem in loading binary PLists.
1313
1314..
1315
1316.. bpo: 23735
Ned Deilyaee5df52018-06-27 18:45:50 -04001317.. date: 9123
larryhastingsf9f17342017-09-04 13:30:19 -07001318.. nonce: Y5oQ9r
1319.. section: Library
1320
1321Handle terminal resizing with Readline 6.3+ by installing our own SIGWINCH
1322handler. Patch by Eric Price.
1323
1324..
1325
1326.. bpo: 25951
Ned Deilyaee5df52018-06-27 18:45:50 -04001327.. date: 9122
larryhastingsf9f17342017-09-04 13:30:19 -07001328.. nonce: 1CUASJ
1329.. section: Library
1330
1331Change SSLSocket.sendall() to return None, as explicitly documented for
1332plain socket objects. Patch by Aviv Palivoda.
1333
1334..
1335
1336.. bpo: 26586
Ned Deilyaee5df52018-06-27 18:45:50 -04001337.. date: 9121
larryhastingsf9f17342017-09-04 13:30:19 -07001338.. nonce: V5pZNa
1339.. section: Library
1340
1341In http.server, respond with "413 Request header fields too large" if there
1342are too many header fields to parse, rather than killing the connection and
1343raising an unhandled exception. Patch by Xiang Zhang.
1344
1345..
1346
1347.. bpo: 26676
Ned Deilyaee5df52018-06-27 18:45:50 -04001348.. date: 9120
larryhastingsf9f17342017-09-04 13:30:19 -07001349.. nonce: zLRFed
1350.. section: Library
1351
1352Added missing XMLPullParser to ElementTree.__all__.
1353
1354..
1355
1356.. bpo: 22854
Ned Deilyaee5df52018-06-27 18:45:50 -04001357.. date: 9119
larryhastingsf9f17342017-09-04 13:30:19 -07001358.. nonce: K3rMEH
1359.. section: Library
1360
1361Change BufferedReader.writable() and BufferedWriter.readable() to always
1362return False.
1363
1364..
1365
1366.. bpo: 26492
Ned Deilyaee5df52018-06-27 18:45:50 -04001367.. date: 9118
larryhastingsf9f17342017-09-04 13:30:19 -07001368.. nonce: YN18iz
1369.. section: Library
1370
1371Exhausted iterator of array.array now conforms with the behavior of
1372iterators of other mutable sequences: it lefts exhausted even if iterated
1373array is extended.
1374
1375..
1376
1377.. bpo: 26641
Ned Deilyaee5df52018-06-27 18:45:50 -04001378.. date: 9117
larryhastingsf9f17342017-09-04 13:30:19 -07001379.. nonce: 1ICQz0
1380.. section: Library
1381
1382doctest.DocFileTest and doctest.testfile() now support packages (module
1383splitted into multiple directories) for the package parameter.
1384
1385..
1386
1387.. bpo: 25195
Ned Deilyaee5df52018-06-27 18:45:50 -04001388.. date: 9116
larryhastingsf9f17342017-09-04 13:30:19 -07001389.. nonce: EOc4Po
1390.. section: Library
1391
1392Fix a regression in mock.MagicMock. _Call is a subclass of tuple (changeset
13933603bae63c13 only works for classes) so we need to implement __ne__
1394ourselves. Patch by Andrew Plummer.
1395
1396..
1397
1398.. bpo: 26644
Ned Deilyaee5df52018-06-27 18:45:50 -04001399.. date: 9115
larryhastingsf9f17342017-09-04 13:30:19 -07001400.. nonce: 7tt1tk
1401.. section: Library
1402
1403Raise ValueError rather than SystemError when a negative length is passed to
1404SSLSocket.recv() or read().
1405
1406..
1407
1408.. bpo: 23804
Ned Deilyaee5df52018-06-27 18:45:50 -04001409.. date: 9114
larryhastingsf9f17342017-09-04 13:30:19 -07001410.. nonce: PP63Ff
1411.. section: Library
1412
1413Fix SSL recv(0) and read(0) methods to return zero bytes instead of up to
14141024.
1415
1416..
1417
1418.. bpo: 26616
Ned Deilyaee5df52018-06-27 18:45:50 -04001419.. date: 9113
larryhastingsf9f17342017-09-04 13:30:19 -07001420.. nonce: v3QwdD
1421.. section: Library
1422
1423Fixed a bug in datetime.astimezone() method.
1424
1425..
1426
1427.. bpo: 26637
Ned Deilyaee5df52018-06-27 18:45:50 -04001428.. date: 9112
larryhastingsf9f17342017-09-04 13:30:19 -07001429.. nonce: ttiUf7
1430.. section: Library
1431
1432The :mod:`importlib` module now emits an :exc:`ImportError` rather than a
1433:exc:`TypeError` if :func:`__import__` is tried during the Python shutdown
1434process but :data:`sys.path` is already cleared (set to ``None``).
1435
1436..
1437
1438.. bpo: 21925
Ned Deilyaee5df52018-06-27 18:45:50 -04001439.. date: 9111
larryhastingsf9f17342017-09-04 13:30:19 -07001440.. nonce: xFz-hR
1441.. section: Library
1442
1443:func:`warnings.formatwarning` now catches exceptions when calling
1444:func:`linecache.getline` and :func:`tracemalloc.get_object_traceback` to be
1445able to log :exc:`ResourceWarning` emitted late during the Python shutdown
1446process.
1447
1448..
1449
1450.. bpo: 23848
Ned Deilyaee5df52018-06-27 18:45:50 -04001451.. date: 9110
larryhastingsf9f17342017-09-04 13:30:19 -07001452.. nonce: RkKqPi
1453.. section: Library
1454
1455On Windows, faulthandler.enable() now also installs an exception handler to
1456dump the traceback of all Python threads on any Windows exception, not only
1457on UNIX signals (SIGSEGV, SIGFPE, SIGABRT).
1458
1459..
1460
1461.. bpo: 26530
Ned Deilyaee5df52018-06-27 18:45:50 -04001462.. date: 9109
larryhastingsf9f17342017-09-04 13:30:19 -07001463.. nonce: RWN1jR
1464.. section: Library
1465
1466Add C functions :c:func:`_PyTraceMalloc_Track` and
1467:c:func:`_PyTraceMalloc_Untrack` to track memory blocks using the
1468:mod:`tracemalloc` module. Add :c:func:`_PyTraceMalloc_GetTraceback` to get
1469the traceback of an object.
1470
1471..
1472
1473.. bpo: 26588
Ned Deilyaee5df52018-06-27 18:45:50 -04001474.. date: 9108
larryhastingsf9f17342017-09-04 13:30:19 -07001475.. nonce: uen0XP
1476.. section: Library
1477
1478The _tracemalloc now supports tracing memory allocations of multiple address
1479spaces (domains).
1480
1481..
1482
1483.. bpo: 24266
Ned Deilyaee5df52018-06-27 18:45:50 -04001484.. date: 9107
larryhastingsf9f17342017-09-04 13:30:19 -07001485.. nonce: YZgVyM
1486.. section: Library
1487
1488Ctrl+C during Readline history search now cancels the search mode when
1489compiled with Readline 7.
1490
1491..
1492
1493.. bpo: 26590
Ned Deilyaee5df52018-06-27 18:45:50 -04001494.. date: 9106
larryhastingsf9f17342017-09-04 13:30:19 -07001495.. nonce: qEy91x
1496.. section: Library
1497
1498Implement a safe finalizer for the _socket.socket type. It now releases the
1499GIL to close the socket.
1500
1501..
1502
1503.. bpo: 18787
Ned Deilyaee5df52018-06-27 18:45:50 -04001504.. date: 9105
larryhastingsf9f17342017-09-04 13:30:19 -07001505.. nonce: rWyzgA
1506.. section: Library
1507
1508spwd.getspnam() now raises a PermissionError if the user doesn't have
1509privileges.
1510
1511..
1512
1513.. bpo: 26560
Ned Deilyaee5df52018-06-27 18:45:50 -04001514.. date: 9104
larryhastingsf9f17342017-09-04 13:30:19 -07001515.. nonce: A4WXNz
1516.. section: Library
1517
1518Avoid potential ValueError in BaseHandler.start_response. Initial patch by
1519Peter Inglesby.
1520
1521..
1522
1523.. bpo: 26567
Ned Deilyaee5df52018-06-27 18:45:50 -04001524.. date: 9103
larryhastingsf9f17342017-09-04 13:30:19 -07001525.. nonce: kcC99B
1526.. section: Library
1527
1528Add a new function :c:func:`PyErr_ResourceWarning` function to pass the
1529destroyed object. Add a *source* attribute to
1530:class:`warnings.WarningMessage`. Add warnings._showwarnmsg() which uses
1531tracemalloc to get the traceback where source object was allocated.
1532
1533..
1534
1535.. bpo: 26313
Ned Deilyaee5df52018-06-27 18:45:50 -04001536.. date: 9102
larryhastingsf9f17342017-09-04 13:30:19 -07001537.. nonce: LjZAjy
1538.. original section: Library
1539.. section: Security
1540
1541ssl.py _load_windows_store_certs fails if windows cert store is empty. Patch
1542by Baji.
1543
1544..
1545
1546.. bpo: 26569
Ned Deilyaee5df52018-06-27 18:45:50 -04001547.. date: 9101
larryhastingsf9f17342017-09-04 13:30:19 -07001548.. nonce: EX8vF1
1549.. section: Library
1550
1551Fix :func:`pyclbr.readmodule` and :func:`pyclbr.readmodule_ex` to support
1552importing packages.
1553
1554..
1555
1556.. bpo: 26499
Ned Deilyaee5df52018-06-27 18:45:50 -04001557.. date: 9100
larryhastingsf9f17342017-09-04 13:30:19 -07001558.. nonce: NP08PI
1559.. section: Library
1560
1561Account for remaining Content-Length in HTTPResponse.readline() and read1().
1562Based on patch by Silent Ghost. Also document that HTTPResponse now supports
1563these methods.
1564
1565..
1566
1567.. bpo: 25320
Ned Deilyaee5df52018-06-27 18:45:50 -04001568.. date: 9099
larryhastingsf9f17342017-09-04 13:30:19 -07001569.. nonce: V96LIy
1570.. section: Library
1571
1572Handle sockets in directories unittest discovery is scanning. Patch from
1573Victor van den Elzen.
1574
1575..
1576
1577.. bpo: 16181
Ned Deilyaee5df52018-06-27 18:45:50 -04001578.. date: 9098
larryhastingsf9f17342017-09-04 13:30:19 -07001579.. nonce: P7lLvo
1580.. section: Library
1581
1582cookiejar.http2time() now returns None if year is higher than
1583datetime.MAXYEAR.
1584
1585..
1586
1587.. bpo: 26513
Ned Deilyaee5df52018-06-27 18:45:50 -04001588.. date: 9097
larryhastingsf9f17342017-09-04 13:30:19 -07001589.. nonce: HoPepy
1590.. section: Library
1591
1592Fixes platform module detection of Windows Server
1593
1594..
1595
1596.. bpo: 23718
Ned Deilyaee5df52018-06-27 18:45:50 -04001597.. date: 9096
larryhastingsf9f17342017-09-04 13:30:19 -07001598.. nonce: AMPC0o
1599.. section: Library
1600
1601Fixed parsing time in week 0 before Jan 1. Original patch by Tamás Bence
1602Gedai.
1603
1604..
1605
1606.. bpo: 26323
Ned Deilyaee5df52018-06-27 18:45:50 -04001607.. date: 9095
larryhastingsf9f17342017-09-04 13:30:19 -07001608.. nonce: KkZqEj
1609.. section: Library
1610
1611Add Mock.assert_called() and Mock.assert_called_once() methods to
1612unittest.mock. Patch written by Amit Saha.
1613
1614..
1615
1616.. bpo: 20589
Ned Deilyaee5df52018-06-27 18:45:50 -04001617.. date: 9094
larryhastingsf9f17342017-09-04 13:30:19 -07001618.. nonce: NsQ_I1
1619.. section: Library
1620
1621Invoking Path.owner() and Path.group() on Windows now raise
1622NotImplementedError instead of ImportError.
1623
1624..
1625
1626.. bpo: 26177
Ned Deilyaee5df52018-06-27 18:45:50 -04001627.. date: 9093
larryhastingsf9f17342017-09-04 13:30:19 -07001628.. nonce: HlSWer
1629.. section: Library
1630
1631Fixed the keys() method for Canvas and Scrollbar widgets.
1632
1633..
1634
1635.. bpo: 15068
Ned Deilyaee5df52018-06-27 18:45:50 -04001636.. date: 9092
larryhastingsf9f17342017-09-04 13:30:19 -07001637.. nonce: xokEVC
1638.. section: Library
1639
1640Got rid of excessive buffering in fileinput. The bufsize parameter is now
1641deprecated and ignored.
1642
1643..
1644
1645.. bpo: 19475
Ned Deilyaee5df52018-06-27 18:45:50 -04001646.. date: 9091
larryhastingsf9f17342017-09-04 13:30:19 -07001647.. nonce: MH2HH9
1648.. section: Library
1649
1650Added an optional argument timespec to the datetime isoformat() method to
1651choose the precision of the time component.
1652
1653..
1654
1655.. bpo: 2202
Ned Deilyaee5df52018-06-27 18:45:50 -04001656.. date: 9090
larryhastingsf9f17342017-09-04 13:30:19 -07001657.. nonce: dk9sd0
1658.. section: Library
1659
1660Fix UnboundLocalError in AbstractDigestAuthHandler.get_algorithm_impls.
1661Initial patch by Mathieu Dupuy.
1662
1663..
1664
1665.. bpo: 26167
Ned Deilyaee5df52018-06-27 18:45:50 -04001666.. date: 9089
larryhastingsf9f17342017-09-04 13:30:19 -07001667.. nonce: 3F-d12
1668.. section: Library
1669
1670Minimized overhead in copy.copy() and copy.deepcopy(). Optimized copying and
1671deepcopying bytearrays, NotImplemented, slices, short lists, tuples, dicts,
1672sets.
1673
1674..
1675
1676.. bpo: 25718
Ned Deilyaee5df52018-06-27 18:45:50 -04001677.. date: 9088
larryhastingsf9f17342017-09-04 13:30:19 -07001678.. nonce: 4EjZyv
1679.. section: Library
1680
1681Fixed pickling and copying the accumulate() iterator with total is None.
1682
1683..
1684
1685.. bpo: 26475
Ned Deilyaee5df52018-06-27 18:45:50 -04001686.. date: 9087
larryhastingsf9f17342017-09-04 13:30:19 -07001687.. nonce: JXVccY
1688.. section: Library
1689
1690Fixed debugging output for regular expressions with the (?x) flag.
1691
1692..
1693
1694.. bpo: 26482
Ned Deilyaee5df52018-06-27 18:45:50 -04001695.. date: 9086
larryhastingsf9f17342017-09-04 13:30:19 -07001696.. nonce: d635gW
1697.. section: Library
1698
1699Allowed pickling recursive dequeues.
1700
1701..
1702
1703.. bpo: 26335
Ned Deilyaee5df52018-06-27 18:45:50 -04001704.. date: 9085
larryhastingsf9f17342017-09-04 13:30:19 -07001705.. nonce: iXw5Yb
1706.. section: Library
1707
1708Make mmap.write() return the number of bytes written like other write
1709methods. Patch by Jakub Stasiak.
1710
1711..
1712
1713.. bpo: 26457
Ned Deilyaee5df52018-06-27 18:45:50 -04001714.. date: 9084
larryhastingsf9f17342017-09-04 13:30:19 -07001715.. nonce: Xe6Clh
1716.. section: Library
1717
1718Fixed the subnets() methods in IP network classes for the case when
1719resulting prefix length is equal to maximal prefix length. Based on patch by
1720Xiang Zhang.
1721
1722..
1723
1724.. bpo: 26385
Ned Deilyaee5df52018-06-27 18:45:50 -04001725.. date: 9083
larryhastingsf9f17342017-09-04 13:30:19 -07001726.. nonce: 50bDXm
1727.. section: Library
1728
1729Remove the file if the internal open() call in NamedTemporaryFile() fails.
1730Patch by Silent Ghost.
1731
1732..
1733
1734.. bpo: 26402
Ned Deilyaee5df52018-06-27 18:45:50 -04001735.. date: 9082
larryhastingsf9f17342017-09-04 13:30:19 -07001736.. nonce: k7DVuU
1737.. section: Library
1738
1739Fix XML-RPC client to retry when the server shuts down a persistent
1740connection. This was a regression related to the new
1741http.client.RemoteDisconnected exception in 3.5.0a4.
1742
1743..
1744
1745.. bpo: 25913
Ned Deilyaee5df52018-06-27 18:45:50 -04001746.. date: 9081
larryhastingsf9f17342017-09-04 13:30:19 -07001747.. nonce: 5flb95
1748.. section: Library
1749
1750Leading ``<~`` is optional now in base64.a85decode() with adobe=True. Patch
1751by Swati Jaiswal.
1752
1753..
1754
1755.. bpo: 26186
Ned Deilyaee5df52018-06-27 18:45:50 -04001756.. date: 9080
larryhastingsf9f17342017-09-04 13:30:19 -07001757.. nonce: R9rfiL
1758.. section: Library
1759
1760Remove an invalid type check in importlib.util.LazyLoader.
1761
1762..
1763
1764.. bpo: 26367
Ned Deilyaee5df52018-06-27 18:45:50 -04001765.. date: 9079
larryhastingsf9f17342017-09-04 13:30:19 -07001766.. nonce: Qct-9S
1767.. section: Library
1768
1769importlib.__import__() raises ImportError like builtins.__import__() when
1770``level`` is specified but without an accompanying package specified.
1771
1772..
1773
1774.. bpo: 26309
Ned Deilyaee5df52018-06-27 18:45:50 -04001775.. date: 9078
larryhastingsf9f17342017-09-04 13:30:19 -07001776.. nonce: ubEeiz
1777.. section: Library
1778
1779In the "socketserver" module, shut down the request (closing the connected
1780socket) when verify_request() returns false. Patch by Aviv Palivoda.
1781
1782..
1783
1784.. bpo: 23430
Ned Deilyaee5df52018-06-27 18:45:50 -04001785.. date: 9077
larryhastingsf9f17342017-09-04 13:30:19 -07001786.. nonce: s_mLiA
1787.. section: Library
1788
1789Change the socketserver module to only catch exceptions raised from a
1790request handler that are derived from Exception (instead of BaseException).
1791Therefore SystemExit and KeyboardInterrupt no longer trigger the
1792handle_error() method, and will now to stop a single-threaded server.
1793
1794..
1795
1796.. bpo: 25939
Ned Deilyaee5df52018-06-27 18:45:50 -04001797.. date: 9076
larryhastingsf9f17342017-09-04 13:30:19 -07001798.. nonce: X49Fqd
1799.. original section: Library
1800.. section: Security
1801
1802On Windows open the cert store readonly in ssl.enum_certificates.
1803
1804..
1805
1806.. bpo: 25995
Ned Deilyaee5df52018-06-27 18:45:50 -04001807.. date: 9075
larryhastingsf9f17342017-09-04 13:30:19 -07001808.. nonce: NfcimP
1809.. section: Library
1810
1811os.walk() no longer uses FDs proportional to the tree depth.
1812
1813..
1814
1815.. bpo: 25994
Ned Deilyaee5df52018-06-27 18:45:50 -04001816.. date: 9074
larryhastingsf9f17342017-09-04 13:30:19 -07001817.. nonce: ga9rT-
1818.. section: Library
1819
1820Added the close() method and the support of the context manager protocol for
1821the os.scandir() iterator.
1822
1823..
1824
1825.. bpo: 23992
Ned Deilyaee5df52018-06-27 18:45:50 -04001826.. date: 9073
larryhastingsf9f17342017-09-04 13:30:19 -07001827.. nonce: O0Hhvc
1828.. section: Library
1829
1830multiprocessing: make MapResult not fail-fast upon exception.
1831
1832..
1833
1834.. bpo: 26243
Ned Deilyaee5df52018-06-27 18:45:50 -04001835.. date: 9072
larryhastingsf9f17342017-09-04 13:30:19 -07001836.. nonce: 41WSpF
1837.. section: Library
1838
1839Support keyword arguments to zlib.compress(). Patch by Aviv Palivoda.
1840
1841..
1842
1843.. bpo: 26117
Ned Deilyaee5df52018-06-27 18:45:50 -04001844.. date: 9071
larryhastingsf9f17342017-09-04 13:30:19 -07001845.. nonce: ne6p11
1846.. section: Library
1847
1848The os.scandir() iterator now closes file descriptor not only when the
1849iteration is finished, but when it was failed with error.
1850
1851..
1852
1853.. bpo: 25949
Ned Deilyaee5df52018-06-27 18:45:50 -04001854.. date: 9070
larryhastingsf9f17342017-09-04 13:30:19 -07001855.. nonce: -Lh9vz
1856.. section: Library
1857
1858__dict__ for an OrderedDict instance is now created only when needed.
1859
1860..
1861
1862.. bpo: 25911
Ned Deilyaee5df52018-06-27 18:45:50 -04001863.. date: 9069
larryhastingsf9f17342017-09-04 13:30:19 -07001864.. nonce: d4Zadh
1865.. section: Library
1866
1867Restored support of bytes paths in os.walk() on Windows.
1868
1869..
1870
1871.. bpo: 26045
Ned Deilyaee5df52018-06-27 18:45:50 -04001872.. date: 9068
larryhastingsf9f17342017-09-04 13:30:19 -07001873.. nonce: WmzUrX
1874.. section: Library
1875
1876Add UTF-8 suggestion to error message when posting a non-Latin-1 string with
1877http.client.
1878
1879..
1880
1881.. bpo: 26039
Ned Deilyaee5df52018-06-27 18:45:50 -04001882.. date: 9067
larryhastingsf9f17342017-09-04 13:30:19 -07001883.. nonce: a5Bxm4
1884.. section: Library
1885
1886Added zipfile.ZipInfo.from_file() and zipinfo.ZipInfo.is_dir(). Patch by
1887Thomas Kluyver.
1888
1889..
1890
1891.. bpo: 12923
Ned Deilyaee5df52018-06-27 18:45:50 -04001892.. date: 9066
larryhastingsf9f17342017-09-04 13:30:19 -07001893.. nonce: HPAu-B
1894.. section: Library
1895
1896Reset FancyURLopener's redirect counter even if there is an exception.
1897Based on patches by Brian Brazil and Daniel Rocco.
1898
1899..
1900
1901.. bpo: 25945
Ned Deilyaee5df52018-06-27 18:45:50 -04001902.. date: 9065
larryhastingsf9f17342017-09-04 13:30:19 -07001903.. nonce: guNgNM
1904.. section: Library
1905
1906Fixed a crash when unpickle the functools.partial object with wrong state.
1907Fixed a leak in failed functools.partial constructor. "args" and "keywords"
1908attributes of functools.partial have now always types tuple and dict
1909correspondingly.
1910
1911..
1912
1913.. bpo: 26202
Ned Deilyaee5df52018-06-27 18:45:50 -04001914.. date: 9064
larryhastingsf9f17342017-09-04 13:30:19 -07001915.. nonce: LPIXLg
1916.. section: Library
1917
1918copy.deepcopy() now correctly copies range() objects with non-atomic
1919attributes.
1920
1921..
1922
1923.. bpo: 23076
Ned Deilyaee5df52018-06-27 18:45:50 -04001924.. date: 9063
larryhastingsf9f17342017-09-04 13:30:19 -07001925.. nonce: 8rphoP
1926.. section: Library
1927
1928Path.glob() now raises a ValueError if it's called with an invalid pattern.
1929Patch by Thomas Nyberg.
1930
1931..
1932
1933.. bpo: 19883
Ned Deilyaee5df52018-06-27 18:45:50 -04001934.. date: 9062
larryhastingsf9f17342017-09-04 13:30:19 -07001935.. nonce: z9TsO6
1936.. section: Library
1937
1938Fixed possible integer overflows in zipimport.
1939
1940..
1941
1942.. bpo: 26227
Ned Deilyaee5df52018-06-27 18:45:50 -04001943.. date: 9061
larryhastingsf9f17342017-09-04 13:30:19 -07001944.. nonce: Fe6oiB
1945.. section: Library
1946
1947On Windows, getnameinfo(), gethostbyaddr() and gethostbyname_ex() functions
1948of the socket module now decode the hostname from the ANSI code page rather
1949than UTF-8.
1950
1951..
1952
1953.. bpo: 26099
Ned Deilyaee5df52018-06-27 18:45:50 -04001954.. date: 9060
larryhastingsf9f17342017-09-04 13:30:19 -07001955.. nonce: CH5jer
1956.. section: Library
1957
1958The site module now writes an error into stderr if sitecustomize module can
1959be imported but executing the module raise an ImportError. Same change for
1960usercustomize.
1961
1962..
1963
1964.. bpo: 26147
Ned Deilyaee5df52018-06-27 18:45:50 -04001965.. date: 9059
larryhastingsf9f17342017-09-04 13:30:19 -07001966.. nonce: i-Jc01
1967.. section: Library
1968
1969xmlrpc now works with strings not encodable with used non-UTF-8 encoding.
1970
1971..
1972
1973.. bpo: 25935
Ned Deilyaee5df52018-06-27 18:45:50 -04001974.. date: 9058
larryhastingsf9f17342017-09-04 13:30:19 -07001975.. nonce: cyni91
1976.. section: Library
1977
1978Garbage collector now breaks reference loops with OrderedDict.
1979
1980..
1981
1982.. bpo: 16620
Ned Deilyaee5df52018-06-27 18:45:50 -04001983.. date: 9057
larryhastingsf9f17342017-09-04 13:30:19 -07001984.. nonce: rxpn_Y
1985.. section: Library
1986
1987Fixed AttributeError in msilib.Directory.glob().
1988
1989..
1990
1991.. bpo: 26013
Ned Deilyaee5df52018-06-27 18:45:50 -04001992.. date: 9056
larryhastingsf9f17342017-09-04 13:30:19 -07001993.. nonce: 93RKNz
1994.. section: Library
1995
1996Added compatibility with broken protocol 2 pickles created in old Python 3
1997versions (3.4.3 and lower).
1998
1999..
2000
2001.. bpo: 26129
Ned Deilyaee5df52018-06-27 18:45:50 -04002002.. date: 9055
larryhastingsf9f17342017-09-04 13:30:19 -07002003.. nonce: g4RQZd
2004.. section: Library
2005
2006Deprecated accepting non-integers in grp.getgrgid().
2007
2008..
2009
2010.. bpo: 25850
Ned Deilyaee5df52018-06-27 18:45:50 -04002011.. date: 9054
larryhastingsf9f17342017-09-04 13:30:19 -07002012.. nonce: jwFPxj
2013.. section: Library
2014
2015Use cross-compilation by default for 64-bit Windows.
2016
2017..
2018
2019.. bpo: 25822
Ned Deilyaee5df52018-06-27 18:45:50 -04002020.. date: 9053
larryhastingsf9f17342017-09-04 13:30:19 -07002021.. nonce: 0Eafyi
2022.. section: Library
2023
2024Add docstrings to the fields of urllib.parse results. Patch contributed by
2025Swati Jaiswal.
2026
2027..
2028
2029.. bpo: 22642
Ned Deilyaee5df52018-06-27 18:45:50 -04002030.. date: 9052
larryhastingsf9f17342017-09-04 13:30:19 -07002031.. nonce: PEgS9F
2032.. section: Library
2033
2034Convert trace module option parsing mechanism to argparse. Patch contributed
2035by SilentGhost.
2036
2037..
2038
2039.. bpo: 24705
Ned Deilyaee5df52018-06-27 18:45:50 -04002040.. date: 9051
larryhastingsf9f17342017-09-04 13:30:19 -07002041.. nonce: IZYwjR
2042.. section: Library
2043
2044Fix sysconfig._parse_makefile not expanding ${} vars appearing before $()
2045vars.
2046
2047..
2048
2049.. bpo: 26069
Ned Deilyaee5df52018-06-27 18:45:50 -04002050.. date: 9050
larryhastingsf9f17342017-09-04 13:30:19 -07002051.. nonce: NaF4lN
2052.. section: Library
2053
2054Remove the deprecated apis in the trace module.
2055
2056..
2057
2058.. bpo: 22138
Ned Deilyaee5df52018-06-27 18:45:50 -04002059.. date: 9049
larryhastingsf9f17342017-09-04 13:30:19 -07002060.. nonce: nRNYkc
2061.. section: Library
2062
2063Fix mock.patch behavior when patching descriptors. Restore original values
2064after patching. Patch contributed by Sean McCully.
2065
2066..
2067
2068.. bpo: 25672
Ned Deilyaee5df52018-06-27 18:45:50 -04002069.. date: 9048
larryhastingsf9f17342017-09-04 13:30:19 -07002070.. nonce: fw9RJP
2071.. section: Library
2072
2073In the ssl module, enable the SSL_MODE_RELEASE_BUFFERS mode option if it is
2074safe to do so.
2075
2076..
2077
2078.. bpo: 26012
Ned Deilyaee5df52018-06-27 18:45:50 -04002079.. date: 9047
larryhastingsf9f17342017-09-04 13:30:19 -07002080.. nonce: IFSXNm
2081.. section: Library
2082
2083Don't traverse into symlinks for ``**`` pattern in pathlib.Path.[r]glob().
2084
2085..
2086
2087.. bpo: 24120
Ned Deilyaee5df52018-06-27 18:45:50 -04002088.. date: 9046
larryhastingsf9f17342017-09-04 13:30:19 -07002089.. nonce: Yiwa0h
2090.. section: Library
2091
2092Ignore PermissionError when traversing a tree with pathlib.Path.[r]glob().
2093Patch by Ulrich Petri.
2094
2095..
2096
2097.. bpo: 21815
Ned Deilyaee5df52018-06-27 18:45:50 -04002098.. date: 9045
larryhastingsf9f17342017-09-04 13:30:19 -07002099.. nonce: h7-UY8
2100.. section: Library
2101
2102Accept ] characters in the data portion of imap responses, in order to
2103handle the flags with square brackets accepted and produced by servers such
2104as gmail.
2105
2106..
2107
2108.. bpo: 25447
Ned Deilyaee5df52018-06-27 18:45:50 -04002109.. date: 9044
larryhastingsf9f17342017-09-04 13:30:19 -07002110.. nonce: -4m4xO
2111.. section: Library
2112
2113fileinput now uses sys.stdin as-is if it does not have a buffer attribute
2114(restores backward compatibility).
2115
2116..
2117
2118.. bpo: 25971
Ned Deilyaee5df52018-06-27 18:45:50 -04002119.. date: 9043
larryhastingsf9f17342017-09-04 13:30:19 -07002120.. nonce: vhMeG0
2121.. section: Library
2122
2123Optimized creating Fractions from floats by 2 times and from Decimals by 3
2124times.
2125
2126..
2127
2128.. bpo: 25802
Ned Deilyaee5df52018-06-27 18:45:50 -04002129.. date: 9042
larryhastingsf9f17342017-09-04 13:30:19 -07002130.. nonce: Y2KOnA
2131.. section: Library
2132
2133Document as deprecated the remaining implementations of
2134importlib.abc.Loader.load_module().
2135
2136..
2137
2138.. bpo: 25928
Ned Deilyaee5df52018-06-27 18:45:50 -04002139.. date: 9041
larryhastingsf9f17342017-09-04 13:30:19 -07002140.. nonce: JsQfKK
2141.. section: Library
2142
2143Add Decimal.as_integer_ratio().
2144
2145..
2146
2147.. bpo: 25447
Ned Deilyaee5df52018-06-27 18:45:50 -04002148.. date: 9040
larryhastingsf9f17342017-09-04 13:30:19 -07002149.. nonce: ajPRDy
2150.. section: Library
2151
2152Copying the lru_cache() wrapper object now always works, independently from
2153the type of the wrapped object (by returning the original object unchanged).
2154
2155..
2156
2157.. bpo: 25768
Ned Deilyaee5df52018-06-27 18:45:50 -04002158.. date: 9039
larryhastingsf9f17342017-09-04 13:30:19 -07002159.. nonce: GDj2ip
2160.. section: Library
2161
2162Have the functions in compileall return booleans instead of ints and add
2163proper documentation and tests for the return values.
2164
2165..
2166
2167.. bpo: 24103
Ned Deilyaee5df52018-06-27 18:45:50 -04002168.. date: 9038
larryhastingsf9f17342017-09-04 13:30:19 -07002169.. nonce: WufqrQ
2170.. section: Library
2171
2172Fixed possible use after free in ElementTree.XMLPullParser.
2173
2174..
2175
2176.. bpo: 25860
Ned Deilyaee5df52018-06-27 18:45:50 -04002177.. date: 9037
larryhastingsf9f17342017-09-04 13:30:19 -07002178.. nonce: 0hActb
2179.. section: Library
2180
2181os.fwalk() no longer skips remaining directories when error occurs.
2182Original patch by Samson Lee.
2183
2184..
2185
2186.. bpo: 25914
Ned Deilyaee5df52018-06-27 18:45:50 -04002187.. date: 9036
larryhastingsf9f17342017-09-04 13:30:19 -07002188.. nonce: h0V61F
2189.. section: Library
2190
2191Fixed and simplified OrderedDict.__sizeof__.
2192
2193..
2194
2195.. bpo: 25869
Ned Deilyaee5df52018-06-27 18:45:50 -04002196.. date: 9035
larryhastingsf9f17342017-09-04 13:30:19 -07002197.. nonce: eAnRH5
2198.. section: Library
2199
2200Optimized deepcopying ElementTree; it is now 20 times faster.
2201
2202..
2203
2204.. bpo: 25873
Ned Deilyaee5df52018-06-27 18:45:50 -04002205.. date: 9034
larryhastingsf9f17342017-09-04 13:30:19 -07002206.. nonce: L4Fgjm
2207.. section: Library
2208
2209Optimized iterating ElementTree. Iterating elements Element.iter() is now
221040% faster, iterating text Element.itertext() is now up to 2.5 times faster.
2211
2212..
2213
2214.. bpo: 25902
Ned Deilyaee5df52018-06-27 18:45:50 -04002215.. date: 9033
larryhastingsf9f17342017-09-04 13:30:19 -07002216.. nonce: 6t2FmH
2217.. section: Library
2218
2219Fixed various refcount issues in ElementTree iteration.
2220
2221..
2222
2223.. bpo: 22227
Ned Deilyaee5df52018-06-27 18:45:50 -04002224.. date: 9032
larryhastingsf9f17342017-09-04 13:30:19 -07002225.. nonce: 5utM-Q
2226.. section: Library
2227
2228The TarFile iterator is reimplemented using generator. This implementation
2229is simpler that using class.
2230
2231..
2232
2233.. bpo: 25638
Ned Deilyaee5df52018-06-27 18:45:50 -04002234.. date: 9031
larryhastingsf9f17342017-09-04 13:30:19 -07002235.. nonce: yitRj4
2236.. section: Library
2237
2238Optimized ElementTree.iterparse(); it is now 2x faster. Optimized
2239ElementTree parsing; it is now 10% faster.
2240
2241..
2242
2243.. bpo: 25761
Ned Deilyaee5df52018-06-27 18:45:50 -04002244.. date: 9030
larryhastingsf9f17342017-09-04 13:30:19 -07002245.. nonce: JGgMOP
2246.. section: Library
2247
2248Improved detecting errors in broken pickle data.
2249
2250..
2251
2252.. bpo: 25717
Ned Deilyaee5df52018-06-27 18:45:50 -04002253.. date: 9029
larryhastingsf9f17342017-09-04 13:30:19 -07002254.. nonce: 0_xjaK
2255.. section: Library
2256
2257Restore the previous behaviour of tolerating most fstat() errors when
2258opening files. This was a regression in 3.5a1, and stopped anonymous
2259temporary files from working in special cases.
2260
2261..
2262
2263.. bpo: 24903
Ned Deilyaee5df52018-06-27 18:45:50 -04002264.. date: 9028
larryhastingsf9f17342017-09-04 13:30:19 -07002265.. nonce: 3LBdzb
2266.. section: Library
2267
2268Fix regression in number of arguments compileall accepts when '-d' is
2269specified. The check on the number of arguments has been dropped completely
2270as it never worked correctly anyway.
2271
2272..
2273
2274.. bpo: 25764
Ned Deilyaee5df52018-06-27 18:45:50 -04002275.. date: 9027
larryhastingsf9f17342017-09-04 13:30:19 -07002276.. nonce: 7WWG07
2277.. section: Library
2278
2279In the subprocess module, preserve any exception caused by fork() failure
2280when preexec_fn is used.
2281
2282..
2283
2284.. bpo: 25771
Ned Deilyaee5df52018-06-27 18:45:50 -04002285.. date: 9026
larryhastingsf9f17342017-09-04 13:30:19 -07002286.. nonce: It-7Qf
2287.. section: Library
2288
2289Tweak the exception message for importlib.util.resolve_name() when 'package'
2290isn't specified but necessary.
2291
2292..
2293
2294.. bpo: 6478
Ned Deilyaee5df52018-06-27 18:45:50 -04002295.. date: 9025
larryhastingsf9f17342017-09-04 13:30:19 -07002296.. nonce: -Bi9Hb
2297.. section: Library
2298
2299_strptime's regexp cache now is reset after changing timezone with
2300time.tzset().
2301
2302..
2303
2304.. bpo: 14285
Ned Deilyaee5df52018-06-27 18:45:50 -04002305.. date: 9024
larryhastingsf9f17342017-09-04 13:30:19 -07002306.. nonce: UyG8Hj
2307.. section: Library
2308
2309When executing a package with the "python -m package" option, and package
2310initialization fails, a proper traceback is now reported. The "runpy"
2311module now lets exceptions from package initialization pass back to the
2312caller, rather than raising ImportError.
2313
2314..
2315
2316.. bpo: 19771
Ned Deilyaee5df52018-06-27 18:45:50 -04002317.. date: 9023
larryhastingsf9f17342017-09-04 13:30:19 -07002318.. nonce: 5NG-bg
2319.. section: Library
2320
2321Also in runpy and the "-m" option, omit the irrelevant message ". . . is a
2322package and cannot be directly executed" if the package could not even be
2323initialized (e.g. due to a bad ``*.pyc`` file).
2324
2325..
2326
2327.. bpo: 25177
Ned Deilyaee5df52018-06-27 18:45:50 -04002328.. date: 9022
larryhastingsf9f17342017-09-04 13:30:19 -07002329.. nonce: aNR4Ha
2330.. section: Library
2331
2332Fixed problem with the mean of very small and very large numbers. As a side
2333effect, statistics.mean and statistics.variance should be significantly
2334faster.
2335
2336..
2337
2338.. bpo: 25718
Ned Deilyaee5df52018-06-27 18:45:50 -04002339.. date: 9021
larryhastingsf9f17342017-09-04 13:30:19 -07002340.. nonce: D9mHZF
2341.. section: Library
2342
2343Fixed copying object with state with boolean value is false.
2344
2345..
2346
2347.. bpo: 10131
Ned Deilyaee5df52018-06-27 18:45:50 -04002348.. date: 9020
larryhastingsf9f17342017-09-04 13:30:19 -07002349.. nonce: a7tptz
2350.. section: Library
2351
2352Fixed deep copying of minidom documents. Based on patch by Marian Ganisin.
2353
2354..
2355
2356.. bpo: 7990
Ned Deilyaee5df52018-06-27 18:45:50 -04002357.. date: 9019
larryhastingsf9f17342017-09-04 13:30:19 -07002358.. nonce: fpvQxH
2359.. section: Library
2360
2361dir() on ElementTree.Element now lists properties: "tag", "text", "tail" and
2362"attrib". Original patch by Santoso Wijaya.
2363
2364..
2365
2366.. bpo: 25725
Ned Deilyaee5df52018-06-27 18:45:50 -04002367.. date: 9018
larryhastingsf9f17342017-09-04 13:30:19 -07002368.. nonce: XIKv3R
2369.. section: Library
2370
2371Fixed a reference leak in pickle.loads() when unpickling invalid data
2372including tuple instructions.
2373
2374..
2375
2376.. bpo: 25663
Ned Deilyaee5df52018-06-27 18:45:50 -04002377.. date: 9017
larryhastingsf9f17342017-09-04 13:30:19 -07002378.. nonce: Ofwfqa
2379.. section: Library
2380
2381In the Readline completer, avoid listing duplicate global names, and search
2382the global namespace before searching builtins.
2383
2384..
2385
2386.. bpo: 25688
Ned Deilyaee5df52018-06-27 18:45:50 -04002387.. date: 9016
larryhastingsf9f17342017-09-04 13:30:19 -07002388.. nonce: 8P1HOv
2389.. section: Library
2390
2391Fixed file leak in ElementTree.iterparse() raising an error.
2392
2393..
2394
2395.. bpo: 23914
Ned Deilyaee5df52018-06-27 18:45:50 -04002396.. date: 9015
larryhastingsf9f17342017-09-04 13:30:19 -07002397.. nonce: 1sEz4J
2398.. section: Library
2399
2400Fixed SystemError raised by unpickler on broken pickle data.
2401
2402..
2403
2404.. bpo: 25691
Ned Deilyaee5df52018-06-27 18:45:50 -04002405.. date: 9014
larryhastingsf9f17342017-09-04 13:30:19 -07002406.. nonce: ZEaapY
2407.. section: Library
2408
2409Fixed crash on deleting ElementTree.Element attributes.
2410
2411..
2412
2413.. bpo: 25624
Ned Deilyaee5df52018-06-27 18:45:50 -04002414.. date: 9013
larryhastingsf9f17342017-09-04 13:30:19 -07002415.. nonce: ed-fM0
2416.. section: Library
2417
2418ZipFile now always writes a ZIP_STORED header for directory entries. Patch
2419by Dingyuan Wang.
2420
2421..
2422
2423.. bpo: 25626
Ned Deilyaee5df52018-06-27 18:45:50 -04002424.. date: 9012
larryhastingsf9f17342017-09-04 13:30:19 -07002425.. nonce: TQ3fvb
2426.. section: Library
2427
2428Change three zlib functions to accept sizes that fit in Py_ssize_t, but
2429internally cap those sizes to UINT_MAX. This resolves a regression in 3.5
2430where GzipFile.read() failed to read chunks larger than 2 or 4 GiB. The
2431change affects the zlib.Decompress.decompress() max_length parameter, the
2432zlib.decompress() bufsize parameter, and the zlib.Decompress.flush() length
2433parameter.
2434
2435..
2436
2437.. bpo: 25583
Ned Deilyaee5df52018-06-27 18:45:50 -04002438.. date: 9011
larryhastingsf9f17342017-09-04 13:30:19 -07002439.. nonce: Gk-cim
2440.. section: Library
2441
2442Avoid incorrect errors raised by os.makedirs(exist_ok=True) when the OS
2443gives priority to errors such as EACCES over EEXIST.
2444
2445..
2446
2447.. bpo: 25593
Ned Deilyaee5df52018-06-27 18:45:50 -04002448.. date: 9010
larryhastingsf9f17342017-09-04 13:30:19 -07002449.. nonce: 56uegI
2450.. section: Library
2451
2452Change semantics of EventLoop.stop() in asyncio.
2453
2454..
2455
2456.. bpo: 6973
Ned Deilyaee5df52018-06-27 18:45:50 -04002457.. date: 9009
larryhastingsf9f17342017-09-04 13:30:19 -07002458.. nonce: nl5cHt
2459.. section: Library
2460
2461When we know a subprocess.Popen process has died, do not allow the
2462send_signal(), terminate(), or kill() methods to do anything as they could
2463potentially signal a different process.
2464
2465..
2466
2467.. bpo: 23883
Ned Deilyaee5df52018-06-27 18:45:50 -04002468.. date: 9008
larryhastingsf9f17342017-09-04 13:30:19 -07002469.. nonce: OQS5sS
2470.. section: Library
2471
2472Added missing APIs to __all__ to match the documented APIs for the following
2473modules: calendar, csv, enum, fileinput, ftplib, logging, optparse, tarfile,
2474threading and wave. Also added a test.support.check__all__() helper.
2475Patches by Jacek Kołodziej, Mauro S. M. Rodrigues and Joel Taddei.
2476
2477..
2478
2479.. bpo: 25590
Ned Deilyaee5df52018-06-27 18:45:50 -04002480.. date: 9007
larryhastingsf9f17342017-09-04 13:30:19 -07002481.. nonce: KPcnfv
2482.. section: Library
2483
2484In the Readline completer, only call getattr() once per attribute. Also
2485complete names of attributes such as properties and slots which are listed
2486by dir() but not yet created on an instance.
2487
2488..
2489
2490.. bpo: 25498
Ned Deilyaee5df52018-06-27 18:45:50 -04002491.. date: 9006
larryhastingsf9f17342017-09-04 13:30:19 -07002492.. nonce: AvqEBl
2493.. section: Library
2494
2495Fix a crash when garbage-collecting ctypes objects created by wrapping a
2496memoryview. This was a regression made in 3.5a1. Based on patch by
2497Eryksun.
2498
2499..
2500
2501.. bpo: 25584
Ned Deilyaee5df52018-06-27 18:45:50 -04002502.. date: 9005
larryhastingsf9f17342017-09-04 13:30:19 -07002503.. nonce: 124mYw
2504.. section: Library
2505
2506Added "escape" to the __all__ list in the glob module.
2507
2508..
2509
2510.. bpo: 25584
Ned Deilyaee5df52018-06-27 18:45:50 -04002511.. date: 9004
larryhastingsf9f17342017-09-04 13:30:19 -07002512.. nonce: ZeWX0J
2513.. section: Library
2514
2515Fixed recursive glob() with patterns starting with ``**``.
2516
2517..
2518
2519.. bpo: 25446
Ned Deilyaee5df52018-06-27 18:45:50 -04002520.. date: 9003
larryhastingsf9f17342017-09-04 13:30:19 -07002521.. nonce: k1DByx
2522.. section: Library
2523
2524Fix regression in smtplib's AUTH LOGIN support.
2525
2526..
2527
2528.. bpo: 18010
Ned Deilyaee5df52018-06-27 18:45:50 -04002529.. date: 9002
larryhastingsf9f17342017-09-04 13:30:19 -07002530.. nonce: Azyf1C
2531.. section: Library
2532
2533Fix the pydoc web server's module search function to handle exceptions from
2534importing packages.
2535
2536..
2537
2538.. bpo: 25554
Ned Deilyaee5df52018-06-27 18:45:50 -04002539.. date: 9001
larryhastingsf9f17342017-09-04 13:30:19 -07002540.. nonce: UM9MlR
2541.. section: Library
2542
2543Got rid of circular references in regular expression parsing.
2544
2545..
2546
2547.. bpo: 18973
Ned Deilyaee5df52018-06-27 18:45:50 -04002548.. date: 9000
larryhastingsf9f17342017-09-04 13:30:19 -07002549.. nonce: Am9jFL
2550.. section: Library
2551
2552Command-line interface of the calendar module now uses argparse instead of
2553optparse.
2554
2555..
2556
2557.. bpo: 25510
Ned Deilyaee5df52018-06-27 18:45:50 -04002558.. date: 8999
larryhastingsf9f17342017-09-04 13:30:19 -07002559.. nonce: 79g7LA
2560.. section: Library
2561
2562fileinput.FileInput.readline() now returns b'' instead of '' at the end if
2563the FileInput was opened with binary mode. Patch by Ryosuke Ito.
2564
2565..
2566
2567.. bpo: 25503
Ned Deilyaee5df52018-06-27 18:45:50 -04002568.. date: 8998
larryhastingsf9f17342017-09-04 13:30:19 -07002569.. nonce: Zea0Y7
2570.. section: Library
2571
2572Fixed inspect.getdoc() for inherited docstrings of properties. Original
2573patch by John Mark Vandenberg.
2574
2575..
2576
2577.. bpo: 25515
Ned Deilyaee5df52018-06-27 18:45:50 -04002578.. date: 8997
larryhastingsf9f17342017-09-04 13:30:19 -07002579.. nonce: fQsyYG
2580.. section: Library
2581
2582Always use os.urandom as a source of randomness in uuid.uuid4.
2583
2584..
2585
2586.. bpo: 21827
Ned Deilyaee5df52018-06-27 18:45:50 -04002587.. date: 8996
larryhastingsf9f17342017-09-04 13:30:19 -07002588.. nonce: k2oreR
2589.. section: Library
2590
2591Fixed textwrap.dedent() for the case when largest common whitespace is a
2592substring of smallest leading whitespace. Based on patch by Robert Li.
2593
2594..
2595
2596.. bpo: 25447
Ned Deilyaee5df52018-06-27 18:45:50 -04002597.. date: 8995
larryhastingsf9f17342017-09-04 13:30:19 -07002598.. nonce: eDYc4t
2599.. section: Library
2600
2601The lru_cache() wrapper objects now can be copied and pickled (by returning
2602the original object unchanged).
2603
2604..
2605
2606.. bpo: 25390
Ned Deilyaee5df52018-06-27 18:45:50 -04002607.. date: 8994
larryhastingsf9f17342017-09-04 13:30:19 -07002608.. nonce: 6mSgRq
2609.. section: Library
2610
2611typing: Don't crash on Union[str, Pattern].
2612
2613..
2614
2615.. bpo: 25441
Ned Deilyaee5df52018-06-27 18:45:50 -04002616.. date: 8993
larryhastingsf9f17342017-09-04 13:30:19 -07002617.. nonce: d7zph6
2618.. section: Library
2619
2620asyncio: Raise error from drain() when socket is closed.
2621
2622..
2623
2624.. bpo: 25410
Ned Deilyaee5df52018-06-27 18:45:50 -04002625.. date: 8992
larryhastingsf9f17342017-09-04 13:30:19 -07002626.. nonce: QAs_3B
2627.. section: Library
2628
2629Cleaned up and fixed minor bugs in C implementation of OrderedDict.
2630
2631..
2632
2633.. bpo: 25411
Ned Deilyaee5df52018-06-27 18:45:50 -04002634.. date: 8991
larryhastingsf9f17342017-09-04 13:30:19 -07002635.. nonce: qsJTCb
2636.. section: Library
2637
2638Improved Unicode support in SMTPHandler through better use of the email
2639package. Thanks to user simon04 for the patch.
2640
2641..
2642
2643.. bpo: 0
Ned Deilyaee5df52018-06-27 18:45:50 -04002644.. date: 8990
larryhastingsf9f17342017-09-04 13:30:19 -07002645.. nonce: pFHJ0i
2646.. section: Library
2647
2648Move the imp module from a PendingDeprecationWarning to DeprecationWarning.
2649
2650..
2651
2652.. bpo: 25407
Ned Deilyaee5df52018-06-27 18:45:50 -04002653.. date: 8989
larryhastingsf9f17342017-09-04 13:30:19 -07002654.. nonce: ukNt1D
2655.. section: Library
2656
2657Remove mentions of the formatter module being removed in Python 3.6.
2658
2659..
2660
2661.. bpo: 25406
Ned Deilyaee5df52018-06-27 18:45:50 -04002662.. date: 8988
larryhastingsf9f17342017-09-04 13:30:19 -07002663.. nonce: 5MZKU_
2664.. section: Library
2665
2666Fixed a bug in C implementation of OrderedDict.move_to_end() that caused
2667segmentation fault or hang in iterating after moving several items to the
2668start of ordered dict.
2669
2670..
2671
2672.. bpo: 25382
Ned Deilyaee5df52018-06-27 18:45:50 -04002673.. date: 8987
larryhastingsf9f17342017-09-04 13:30:19 -07002674.. nonce: XQ44yE
2675.. section: Library
2676
2677pickletools.dis() now outputs implicit memo index for the MEMOIZE opcode.
2678
2679..
2680
2681.. bpo: 25357
Ned Deilyaee5df52018-06-27 18:45:50 -04002682.. date: 8986
larryhastingsf9f17342017-09-04 13:30:19 -07002683.. nonce: ebqGy-
2684.. section: Library
2685
Stéphane Wirtel683281f2018-10-06 16:35:53 +02002686Add an optional newline parameter to binascii.b2a_base64(). base64.b64encode()
larryhastingsf9f17342017-09-04 13:30:19 -07002687uses it to avoid a memory copy.
2688
2689..
2690
2691.. bpo: 24164
Ned Deilyaee5df52018-06-27 18:45:50 -04002692.. date: 8985
larryhastingsf9f17342017-09-04 13:30:19 -07002693.. nonce: oi6H3E
2694.. section: Library
2695
2696Objects that need calling ``__new__`` with keyword arguments, can now be
2697pickled using pickle protocols older than protocol version 4.
2698
2699..
2700
2701.. bpo: 25364
Ned Deilyaee5df52018-06-27 18:45:50 -04002702.. date: 8984
larryhastingsf9f17342017-09-04 13:30:19 -07002703.. nonce: u_1Wi6
2704.. section: Library
2705
2706zipfile now works in threads disabled builds.
2707
2708..
2709
2710.. bpo: 25328
Ned Deilyaee5df52018-06-27 18:45:50 -04002711.. date: 8983
larryhastingsf9f17342017-09-04 13:30:19 -07002712.. nonce: Rja1Xg
2713.. section: Library
2714
2715smtpd's SMTPChannel now correctly raises a ValueError if both decode_data
2716and enable_SMTPUTF8 are set to true.
2717
2718..
2719
2720.. bpo: 16099
Ned Deilyaee5df52018-06-27 18:45:50 -04002721.. date: 8982
larryhastingsf9f17342017-09-04 13:30:19 -07002722.. nonce: _MTt3k
2723.. section: Library
2724
2725RobotFileParser now supports Crawl-delay and Request-rate extensions. Patch
2726by Nikolay Bogoychev.
2727
2728..
2729
2730.. bpo: 25316
Ned Deilyaee5df52018-06-27 18:45:50 -04002731.. date: 8981
larryhastingsf9f17342017-09-04 13:30:19 -07002732.. nonce: dHQHWI
2733.. section: Library
2734
2735distutils raises OSError instead of DistutilsPlatformError when MSVC is not
2736installed.
2737
2738..
2739
2740.. bpo: 25380
Ned Deilyaee5df52018-06-27 18:45:50 -04002741.. date: 8980
larryhastingsf9f17342017-09-04 13:30:19 -07002742.. nonce: sKZ6-I
2743.. section: Library
2744
2745Fixed protocol for the STACK_GLOBAL opcode in pickletools.opcodes.
2746
2747..
2748
2749.. bpo: 23972
Ned Deilyaee5df52018-06-27 18:45:50 -04002750.. date: 8979
larryhastingsf9f17342017-09-04 13:30:19 -07002751.. nonce: s2g30g
2752.. section: Library
2753
2754Updates asyncio datagram create method allowing reuseport and reuseaddr
2755socket options to be set prior to binding the socket. Mirroring the existing
2756asyncio create_server method the reuseaddr option for datagram sockets
2757defaults to True if the O/S is 'posix' (except if the platform is Cygwin).
2758Patch by Chris Laws.
2759
2760..
2761
2762.. bpo: 25304
Ned Deilyaee5df52018-06-27 18:45:50 -04002763.. date: 8978
larryhastingsf9f17342017-09-04 13:30:19 -07002764.. nonce: CsmLyI
2765.. section: Library
2766
2767Add asyncio.run_coroutine_threadsafe(). This lets you submit a coroutine to
2768a loop from another thread, returning a concurrent.futures.Future. By
2769Vincent Michel.
2770
2771..
2772
2773.. bpo: 25232
Ned Deilyaee5df52018-06-27 18:45:50 -04002774.. date: 8977
larryhastingsf9f17342017-09-04 13:30:19 -07002775.. nonce: KhKjCE
2776.. section: Library
2777
2778Fix CGIRequestHandler to split the query from the URL at the first question
2779mark (?) rather than the last. Patch from Xiang Zhang.
2780
2781..
2782
2783.. bpo: 24657
Ned Deilyaee5df52018-06-27 18:45:50 -04002784.. date: 8976
larryhastingsf9f17342017-09-04 13:30:19 -07002785.. nonce: h2Ag7y
2786.. section: Library
2787
2788Prevent CGIRequestHandler from collapsing slashes in the query part of the
2789URL as if it were a path. Patch from Xiang Zhang.
2790
2791..
2792
2793.. bpo: 25287
Ned Deilyaee5df52018-06-27 18:45:50 -04002794.. date: 8975
larryhastingsf9f17342017-09-04 13:30:19 -07002795.. nonce: KhzzMW
2796.. section: Library
2797
2798Don't add crypt.METHOD_CRYPT to crypt.methods if it's not supported. Check
2799if it is supported, it may not be supported on OpenBSD for example.
2800
2801..
2802
2803.. bpo: 23600
Ned Deilyaee5df52018-06-27 18:45:50 -04002804.. date: 8974
larryhastingsf9f17342017-09-04 13:30:19 -07002805.. nonce: 7J_RD5
2806.. section: Library
2807
2808Default implementation of tzinfo.fromutc() was returning wrong results in
2809some cases.
2810
2811..
2812
2813.. bpo: 25203
Ned Deilyaee5df52018-06-27 18:45:50 -04002814.. date: 8973
larryhastingsf9f17342017-09-04 13:30:19 -07002815.. nonce: IgDEbt
2816.. section: Library
2817
2818Failed readline.set_completer_delims() no longer left the module in
2819inconsistent state.
2820
2821..
2822
2823.. bpo: 25011
Ned Deilyaee5df52018-06-27 18:45:50 -04002824.. date: 8972
larryhastingsf9f17342017-09-04 13:30:19 -07002825.. nonce: VcaCd6
2826.. section: Library
2827
2828rlcompleter now omits private and special attribute names unless the prefix
2829starts with underscores.
2830
2831..
2832
2833.. bpo: 25209
Ned Deilyaee5df52018-06-27 18:45:50 -04002834.. date: 8971
larryhastingsf9f17342017-09-04 13:30:19 -07002835.. nonce: WxKcdJ
2836.. section: Library
2837
2838rlcompleter now can add a space or a colon after completed keyword.
2839
2840..
2841
2842.. bpo: 22241
Ned Deilyaee5df52018-06-27 18:45:50 -04002843.. date: 8970
larryhastingsf9f17342017-09-04 13:30:19 -07002844.. nonce: a-Mtw2
2845.. section: Library
2846
2847timezone.utc name is now plain 'UTC', not 'UTC-00:00'.
2848
2849..
2850
2851.. bpo: 23517
Ned Deilyaee5df52018-06-27 18:45:50 -04002852.. date: 8969
larryhastingsf9f17342017-09-04 13:30:19 -07002853.. nonce: 0ABp8q
2854.. section: Library
2855
2856fromtimestamp() and utcfromtimestamp() methods of datetime.datetime now
2857round microseconds to nearest with ties going to nearest even integer
2858(ROUND_HALF_EVEN), as round(float), instead of rounding towards -Infinity
2859(ROUND_FLOOR).
2860
2861..
2862
2863.. bpo: 23552
Ned Deilyaee5df52018-06-27 18:45:50 -04002864.. date: 8968
larryhastingsf9f17342017-09-04 13:30:19 -07002865.. nonce: I0T-M-
2866.. section: Library
2867
2868Timeit now warns when there is substantial (4x) variance between best and
2869worst times. Patch from Serhiy Storchaka.
2870
2871..
2872
2873.. bpo: 24633
Ned Deilyaee5df52018-06-27 18:45:50 -04002874.. date: 8967
larryhastingsf9f17342017-09-04 13:30:19 -07002875.. nonce: 6Unn9B
2876.. section: Library
2877
2878site-packages/README -> README.txt.
2879
2880..
2881
2882.. bpo: 24879
Ned Deilyaee5df52018-06-27 18:45:50 -04002883.. date: 8966
larryhastingsf9f17342017-09-04 13:30:19 -07002884.. nonce: YUzg_z
2885.. section: Library
2886
2887help() and pydoc can now list named tuple fields in the order they were
2888defined rather than alphabetically. The ordering is determined by the
2889_fields attribute if present.
2890
2891..
2892
2893.. bpo: 24874
Ned Deilyaee5df52018-06-27 18:45:50 -04002894.. date: 8965
larryhastingsf9f17342017-09-04 13:30:19 -07002895.. nonce: luBfgA
2896.. section: Library
2897
2898Improve speed of itertools.cycle() and make its pickle more compact.
2899
2900..
2901
2902.. bpo: 0
Ned Deilyaee5df52018-06-27 18:45:50 -04002903.. date: 8964
larryhastingsf9f17342017-09-04 13:30:19 -07002904.. nonce: mD-_3v
2905.. section: Library
2906
2907Fix crash in itertools.cycle.__setstate__() when the first argument wasn't a
2908list.
2909
2910..
2911
2912.. bpo: 20059
Ned Deilyaee5df52018-06-27 18:45:50 -04002913.. date: 8963
larryhastingsf9f17342017-09-04 13:30:19 -07002914.. nonce: SHv0Ji
2915.. section: Library
2916
2917urllib.parse raises ValueError on all invalid ports. Patch by Martin Panter.
2918
2919..
2920
2921.. bpo: 24360
Ned Deilyaee5df52018-06-27 18:45:50 -04002922.. date: 8962
larryhastingsf9f17342017-09-04 13:30:19 -07002923.. nonce: 5RwH-e
2924.. section: Library
2925
2926Improve __repr__ of argparse.Namespace() for invalid identifiers. Patch by
2927Matthias Bussonnier.
2928
2929..
2930
2931.. bpo: 23426
Ned Deilyaee5df52018-06-27 18:45:50 -04002932.. date: 8961
larryhastingsf9f17342017-09-04 13:30:19 -07002933.. nonce: PUV-Cx
2934.. section: Library
2935
2936run_setup was broken in distutils. Patch from Alexander Belopolsky.
2937
2938..
2939
2940.. bpo: 13938
Ned Deilyaee5df52018-06-27 18:45:50 -04002941.. date: 8960
larryhastingsf9f17342017-09-04 13:30:19 -07002942.. nonce: e5NSE1
2943.. section: Library
2944
29452to3 converts StringTypes to a tuple. Patch from Mark Hammond.
2946
2947..
2948
2949.. bpo: 2091
Ned Deilyaee5df52018-06-27 18:45:50 -04002950.. date: 8959
larryhastingsf9f17342017-09-04 13:30:19 -07002951.. nonce: bp56pO
2952.. section: Library
2953
2954open() accepted a 'U' mode string containing '+', but 'U' can only be used
2955with 'r'. Patch from Jeff Balogh and John O'Connor.
2956
2957..
2958
2959.. bpo: 8585
Ned Deilyaee5df52018-06-27 18:45:50 -04002960.. date: 8958
larryhastingsf9f17342017-09-04 13:30:19 -07002961.. nonce: 78hPc2
2962.. section: Library
2963
2964improved tests for zipimporter2. Patch from Mark Lawrence.
2965
2966..
2967
2968.. bpo: 18622
Ned Deilyaee5df52018-06-27 18:45:50 -04002969.. date: 8957
larryhastingsf9f17342017-09-04 13:30:19 -07002970.. nonce: i6nCCW
2971.. section: Library
2972
2973unittest.mock.mock_open().reset_mock would recurse infinitely. Patch from
2974Nicola Palumbo and Laurent De Buyst.
2975
2976..
2977
2978.. bpo: 24426
Ned Deilyaee5df52018-06-27 18:45:50 -04002979.. date: 8956
larryhastingsf9f17342017-09-04 13:30:19 -07002980.. nonce: yCtQfT
2981.. section: Library
2982
2983Fast searching optimization in regular expressions now works for patterns
2984that starts with capturing groups. Fast searching optimization now can't be
2985disabled at compile time.
2986
2987..
2988
2989.. bpo: 23661
Ned Deilyaee5df52018-06-27 18:45:50 -04002990.. date: 8955
larryhastingsf9f17342017-09-04 13:30:19 -07002991.. nonce: 5VHJmh
2992.. section: Library
2993
2994unittest.mock side_effects can now be exceptions again. This was a
2995regression vs Python 3.4. Patch from Ignacio Rossi
2996
2997..
2998
2999.. bpo: 13248
Ned Deilyaee5df52018-06-27 18:45:50 -04003000.. date: 8954
larryhastingsf9f17342017-09-04 13:30:19 -07003001.. nonce: SA2hvu
3002.. section: Library
3003
3004Remove deprecated inspect.getmoduleinfo function.
3005
3006..
3007
3008.. bpo: 25578
Ned Deilyaee5df52018-06-27 18:45:50 -04003009.. date: 8953
larryhastingsf9f17342017-09-04 13:30:19 -07003010.. nonce: G6S-ft
3011.. section: Library
3012
3013Fix (another) memory leak in SSLSocket.getpeercer().
3014
3015..
3016
3017.. bpo: 25530
Ned Deilyaee5df52018-06-27 18:45:50 -04003018.. date: 8952
larryhastingsf9f17342017-09-04 13:30:19 -07003019.. nonce: hDFkwu
3020.. section: Library
3021
3022Disable the vulnerable SSLv3 protocol by default when creating
3023ssl.SSLContext.
3024
3025..
3026
3027.. bpo: 25569
Ned Deilyaee5df52018-06-27 18:45:50 -04003028.. date: 8951
larryhastingsf9f17342017-09-04 13:30:19 -07003029.. nonce: CfvQjK
3030.. section: Library
3031
3032Fix memory leak in SSLSocket.getpeercert().
3033
3034..
3035
3036.. bpo: 25471
Ned Deilyaee5df52018-06-27 18:45:50 -04003037.. date: 8950
larryhastingsf9f17342017-09-04 13:30:19 -07003038.. nonce: T0A02M
3039.. section: Library
3040
3041Sockets returned from accept() shouldn't appear to be nonblocking.
3042
3043..
3044
3045.. bpo: 25319
Ned Deilyaee5df52018-06-27 18:45:50 -04003046.. date: 8949
larryhastingsf9f17342017-09-04 13:30:19 -07003047.. nonce: iyuglv
3048.. section: Library
3049
3050When threading.Event is reinitialized, the underlying condition should use a
3051regular lock rather than a recursive lock.
3052
3053..
3054
3055.. bpo: 0
Ned Deilyaee5df52018-06-27 18:45:50 -04003056.. date: 8948
larryhastingsf9f17342017-09-04 13:30:19 -07003057.. nonce: rtZyid
3058.. section: Library
3059
3060Skip getaddrinfo if host is already resolved. Patch by A. Jesse Jiryu Davis.
3061
3062..
3063
3064.. bpo: 26050
Ned Deilyaee5df52018-06-27 18:45:50 -04003065.. date: 8947
larryhastingsf9f17342017-09-04 13:30:19 -07003066.. nonce: sclyvk
3067.. section: Library
3068
3069Add asyncio.StreamReader.readuntil() method. Patch by Марк Коренберг.
3070
3071..
3072
3073.. bpo: 25924
Ned Deilyaee5df52018-06-27 18:45:50 -04003074.. date: 8946
larryhastingsf9f17342017-09-04 13:30:19 -07003075.. nonce: Uxr2vt
3076.. section: Library
3077
3078Avoid unnecessary serialization of getaddrinfo(3) calls on OS X versions
307910.5 or higher. Original patch by A. Jesse Jiryu Davis.
3080
3081..
3082
3083.. bpo: 26406
Ned Deilyaee5df52018-06-27 18:45:50 -04003084.. date: 8945
larryhastingsf9f17342017-09-04 13:30:19 -07003085.. nonce: ihvhF4
3086.. section: Library
3087
3088Avoid unnecessary serialization of getaddrinfo(3) calls on current versions
3089of OpenBSD and NetBSD. Patch by A. Jesse Jiryu Davis.
3090
3091..
3092
3093.. bpo: 26848
Ned Deilyaee5df52018-06-27 18:45:50 -04003094.. date: 8944
larryhastingsf9f17342017-09-04 13:30:19 -07003095.. nonce: ChBOpQ
3096.. section: Library
3097
3098Fix asyncio/subprocess.communicate() to handle empty input. Patch by Jack
3099O'Connor.
3100
3101..
3102
3103.. bpo: 27040
Ned Deilyaee5df52018-06-27 18:45:50 -04003104.. date: 8943
larryhastingsf9f17342017-09-04 13:30:19 -07003105.. nonce: UASyCC
3106.. section: Library
3107
3108Add loop.get_exception_handler method
3109
3110..
3111
3112.. bpo: 27041
Ned Deilyaee5df52018-06-27 18:45:50 -04003113.. date: 8942
larryhastingsf9f17342017-09-04 13:30:19 -07003114.. nonce: p3893U
3115.. section: Library
3116
3117asyncio: Add loop.create_future method
3118
3119..
3120
3121.. bpo: 20640
Ned Deilyaee5df52018-06-27 18:45:50 -04003122.. date: 8941
larryhastingsf9f17342017-09-04 13:30:19 -07003123.. nonce: PmI-G8
3124.. section: IDLE
3125
3126Add tests for idlelib.configHelpSourceEdit. Patch by Saimadhav Heblikar.
3127
3128..
3129
3130.. bpo: 0
Ned Deilyaee5df52018-06-27 18:45:50 -04003131.. date: 8940
larryhastingsf9f17342017-09-04 13:30:19 -07003132.. nonce: _YJfG7
3133.. section: IDLE
3134
3135In the 'IDLE-console differences' section of the IDLE doc, clarify how
3136running with IDLE affects sys.modules and the standard streams.
3137
3138..
3139
3140.. bpo: 25507
Ned Deilyaee5df52018-06-27 18:45:50 -04003141.. date: 8939
larryhastingsf9f17342017-09-04 13:30:19 -07003142.. nonce: i8bNpk
3143.. section: IDLE
3144
3145fix incorrect change in IOBinding that prevented printing. Augment IOBinding
3146htest to include all major IOBinding functions.
3147
3148..
3149
3150.. bpo: 25905
Ned Deilyaee5df52018-06-27 18:45:50 -04003151.. date: 8938
larryhastingsf9f17342017-09-04 13:30:19 -07003152.. nonce: FzNb3B
3153.. section: IDLE
3154
3155Revert unwanted conversion of ' to ’ RIGHT SINGLE QUOTATION MARK in
3156README.txt and open this and NEWS.txt with 'ascii'. Re-encode CREDITS.txt to
3157utf-8 and open it with 'utf-8'.
3158
3159..
3160
3161.. bpo: 15348
Ned Deilyaee5df52018-06-27 18:45:50 -04003162.. date: 8937
larryhastingsf9f17342017-09-04 13:30:19 -07003163.. nonce: d1Fg01
3164.. section: IDLE
3165
3166Stop the debugger engine (normally in a user process) before closing the
3167debugger window (running in the IDLE process). This prevents the
3168RuntimeErrors that were being caught and ignored.
3169
3170..
3171
3172.. bpo: 24455
Ned Deilyaee5df52018-06-27 18:45:50 -04003173.. date: 8936
larryhastingsf9f17342017-09-04 13:30:19 -07003174.. nonce: x6YqtE
3175.. section: IDLE
3176
3177Prevent IDLE from hanging when a) closing the shell while the debugger is
3178active (15347); b) closing the debugger with the [X] button (15348); and c)
3179activating the debugger when already active (24455). The patch by Mark
3180Roseman does this by making two changes. 1. Suspend and resume the
3181gui.interaction method with the tcl vwait mechanism intended for this
3182purpose (instead of root.mainloop & .quit). 2. In gui.run, allow any
3183existing interaction to terminate first.
3184
3185..
3186
3187.. bpo: 0
Ned Deilyaee5df52018-06-27 18:45:50 -04003188.. date: 8935
larryhastingsf9f17342017-09-04 13:30:19 -07003189.. nonce: Yp9LRY
3190.. section: IDLE
3191
3192Change 'The program' to 'Your program' in an IDLE 'kill program?' message to
3193make it clearer that the program referred to is the currently running user
3194program, not IDLE itself.
3195
3196..
3197
3198.. bpo: 24750
Ned Deilyaee5df52018-06-27 18:45:50 -04003199.. date: 8934
larryhastingsf9f17342017-09-04 13:30:19 -07003200.. nonce: xgsi-K
3201.. section: IDLE
3202
3203Improve the appearance of the IDLE editor window status bar. Patch by Mark
3204Roseman.
3205
3206..
3207
3208.. bpo: 25313
Ned Deilyaee5df52018-06-27 18:45:50 -04003209.. date: 8933
larryhastingsf9f17342017-09-04 13:30:19 -07003210.. nonce: xMXHpO
3211.. section: IDLE
3212
3213Change the handling of new built-in text color themes to better address the
3214compatibility problem introduced by the addition of IDLE Dark. Consistently
3215use the revised idleConf.CurrentTheme everywhere in idlelib.
3216
3217..
3218
3219.. bpo: 24782
Ned Deilyaee5df52018-06-27 18:45:50 -04003220.. date: 8932
larryhastingsf9f17342017-09-04 13:30:19 -07003221.. nonce: RgIPYE
3222.. section: IDLE
3223
3224Extension configuration is now a tab in the IDLE Preferences dialog rather
3225than a separate dialog. The former tabs are now a sorted list. Patch by
3226Mark Roseman.
3227
3228..
3229
3230.. bpo: 22726
Ned Deilyaee5df52018-06-27 18:45:50 -04003231.. date: 8931
larryhastingsf9f17342017-09-04 13:30:19 -07003232.. nonce: x8T0dA
3233.. section: IDLE
3234
3235Re-activate the config dialog help button with some content about the other
3236buttons and the new IDLE Dark theme.
3237
3238..
3239
3240.. bpo: 24820
Ned Deilyaee5df52018-06-27 18:45:50 -04003241.. date: 8930
larryhastingsf9f17342017-09-04 13:30:19 -07003242.. nonce: TFPJhr
3243.. section: IDLE
3244
3245IDLE now has an 'IDLE Dark' built-in text color theme. It is more or less
3246IDLE Classic inverted, with a cobalt blue background. Strings, comments,
3247keywords, ... are still green, red, orange, ... . To use it with IDLEs
3248released before November 2015, hit the 'Save as New Custom Theme' button and
3249enter a new name, such as 'Custom Dark'. The custom theme will work with
3250any IDLE release, and can be modified.
3251
3252..
3253
3254.. bpo: 25224
Ned Deilyaee5df52018-06-27 18:45:50 -04003255.. date: 8929
larryhastingsf9f17342017-09-04 13:30:19 -07003256.. nonce: 5Llwo4
3257.. section: IDLE
3258
3259README.txt is now an idlelib index for IDLE developers and curious users.
3260The previous user content is now in the IDLE doc chapter. 'IDLE' now means
3261'Integrated Development and Learning Environment'.
3262
3263..
3264
3265.. bpo: 24820
Ned Deilyaee5df52018-06-27 18:45:50 -04003266.. date: 8928
larryhastingsf9f17342017-09-04 13:30:19 -07003267.. nonce: ZUz9Fn
3268.. section: IDLE
3269
3270Users can now set breakpoint colors in Settings -> Custom Highlighting.
3271Original patch by Mark Roseman.
3272
3273..
3274
3275.. bpo: 24972
Ned Deilyaee5df52018-06-27 18:45:50 -04003276.. date: 8927
larryhastingsf9f17342017-09-04 13:30:19 -07003277.. nonce: uc0uNo
3278.. section: IDLE
3279
3280Inactive selection background now matches active selection background, as
3281configured by users, on all systems. Found items are now always highlighted
3282on Windows. Initial patch by Mark Roseman.
3283
3284..
3285
3286.. bpo: 24570
Ned Deilyaee5df52018-06-27 18:45:50 -04003287.. date: 8926
larryhastingsf9f17342017-09-04 13:30:19 -07003288.. nonce: s3EkNn
3289.. section: IDLE
3290
3291Idle: make calltip and completion boxes appear on Macs affected by a tk
3292regression. Initial patch by Mark Roseman.
3293
3294..
3295
3296.. bpo: 24988
Ned Deilyaee5df52018-06-27 18:45:50 -04003297.. date: 8925
larryhastingsf9f17342017-09-04 13:30:19 -07003298.. nonce: tXqq4T
3299.. section: IDLE
3300
3301Idle ScrolledList context menus (used in debugger) now work on Mac Aqua.
3302Patch by Mark Roseman.
3303
3304..
3305
3306.. bpo: 24801
Ned Deilyaee5df52018-06-27 18:45:50 -04003307.. date: 8924
larryhastingsf9f17342017-09-04 13:30:19 -07003308.. nonce: -bj_Ou
3309.. section: IDLE
3310
3311Make right-click for context menu work on Mac Aqua. Patch by Mark Roseman.
3312
3313..
3314
3315.. bpo: 25173
Ned Deilyaee5df52018-06-27 18:45:50 -04003316.. date: 8923
larryhastingsf9f17342017-09-04 13:30:19 -07003317.. nonce: EZzrPg
3318.. section: IDLE
3319
3320Associate tkinter messageboxes with a specific widget. For Mac OSX, make
3321them a 'sheet'. Patch by Mark Roseman.
3322
3323..
3324
3325.. bpo: 25198
Ned Deilyaee5df52018-06-27 18:45:50 -04003326.. date: 8922
larryhastingsf9f17342017-09-04 13:30:19 -07003327.. nonce: -j_BV7
3328.. section: IDLE
3329
Serhiy Storchakaaef639f2018-05-21 02:36:05 +03003330Enhance the initial html viewer now used for Idle Help. Properly indent
3331fixed-pitch text (patch by Mark Roseman). Give code snippet a very
3332Sphinx-like light blueish-gray background. Re-use initial width and height set by
3333users for shell and editor. When the Table of Contents (TOC) menu is used,
larryhastingsf9f17342017-09-04 13:30:19 -07003334put the section header at the top of the screen.
3335
3336..
3337
3338.. bpo: 25225
Ned Deilyaee5df52018-06-27 18:45:50 -04003339.. date: 8921
larryhastingsf9f17342017-09-04 13:30:19 -07003340.. nonce: 9pvdq6
3341.. section: IDLE
3342
3343Condense and rewrite Idle doc section on text colors.
3344
3345..
3346
3347.. bpo: 21995
Ned Deilyaee5df52018-06-27 18:45:50 -04003348.. date: 8920
larryhastingsf9f17342017-09-04 13:30:19 -07003349.. nonce: C5Rmzx
3350.. section: IDLE
3351
3352Explain some differences between IDLE and console Python.
3353
3354..
3355
3356.. bpo: 22820
Ned Deilyaee5df52018-06-27 18:45:50 -04003357.. date: 8919
larryhastingsf9f17342017-09-04 13:30:19 -07003358.. nonce: hix_8X
3359.. section: IDLE
3360
3361Explain need for *print* when running file from Idle editor.
3362
3363..
3364
3365.. bpo: 25224
Ned Deilyaee5df52018-06-27 18:45:50 -04003366.. date: 8918
larryhastingsf9f17342017-09-04 13:30:19 -07003367.. nonce: UVMYQq
3368.. section: IDLE
3369
3370Doc: augment Idle feature list and no-subprocess section.
3371
3372..
3373
3374.. bpo: 25219
Ned Deilyaee5df52018-06-27 18:45:50 -04003375.. date: 8917
larryhastingsf9f17342017-09-04 13:30:19 -07003376.. nonce: 8_9DYg
3377.. section: IDLE
3378
3379Update doc for Idle command line options. Some were missing and notes were
3380not correct.
3381
3382..
3383
3384.. bpo: 24861
Ned Deilyaee5df52018-06-27 18:45:50 -04003385.. date: 8916
larryhastingsf9f17342017-09-04 13:30:19 -07003386.. nonce: Ecg2yT
3387.. section: IDLE
3388
3389Most of idlelib is private and subject to change. Use idleib.idle.* to start
3390Idle. See idlelib.__init__.__doc__.
3391
3392..
3393
3394.. bpo: 25199
Ned Deilyaee5df52018-06-27 18:45:50 -04003395.. date: 8915
larryhastingsf9f17342017-09-04 13:30:19 -07003396.. nonce: ih7yY3
3397.. section: IDLE
3398
3399Idle: add synchronization comments for future maintainers.
3400
3401..
3402
3403.. bpo: 16893
Ned Deilyaee5df52018-06-27 18:45:50 -04003404.. date: 8914
larryhastingsf9f17342017-09-04 13:30:19 -07003405.. nonce: uIi1oB
3406.. section: IDLE
3407
3408Replace help.txt with help.html for Idle doc display. The new
3409idlelib/help.html is rstripped Doc/build/html/library/idle.html. It looks
3410better than help.txt and will better document Idle as released. The tkinter
3411html viewer that works for this file was written by Rose Roseman. The now
3412unused EditorWindow.HelpDialog class and helt.txt file are deprecated.
3413
3414..
3415
3416.. bpo: 24199
Ned Deilyaee5df52018-06-27 18:45:50 -04003417.. date: 8913
larryhastingsf9f17342017-09-04 13:30:19 -07003418.. nonce: VKnZEv
3419.. section: IDLE
3420
3421Deprecate unused idlelib.idlever with possible removal in 3.6.
3422
3423..
3424
3425.. bpo: 24790
Ned Deilyaee5df52018-06-27 18:45:50 -04003426.. date: 8912
larryhastingsf9f17342017-09-04 13:30:19 -07003427.. nonce: hD1hlj
3428.. section: IDLE
3429
3430Remove extraneous code (which also create 2 & 3 conflicts).
3431
3432..
3433
3434.. bpo: 26736
Ned Deilyaee5df52018-06-27 18:45:50 -04003435.. date: 8911
larryhastingsf9f17342017-09-04 13:30:19 -07003436.. nonce: U_Hyqo
3437.. section: Documentation
3438
3439Used HTTPS for external links in the documentation if possible.
3440
3441..
3442
3443.. bpo: 6953
Ned Deilyaee5df52018-06-27 18:45:50 -04003444.. date: 8910
larryhastingsf9f17342017-09-04 13:30:19 -07003445.. nonce: Zk6rno
3446.. section: Documentation
3447
3448Rework the Readline module documentation to group related functions
3449together, and add more details such as what underlying Readline functions
3450and variables are accessed.
3451
3452..
3453
3454.. bpo: 23606
Ned Deilyaee5df52018-06-27 18:45:50 -04003455.. date: 8909
larryhastingsf9f17342017-09-04 13:30:19 -07003456.. nonce: 9MhIso
3457.. section: Documentation
3458
3459Adds note to ctypes documentation regarding cdll.msvcrt.
3460
3461..
3462
3463.. bpo: 24952
Ned Deilyaee5df52018-06-27 18:45:50 -04003464.. date: 8908
larryhastingsf9f17342017-09-04 13:30:19 -07003465.. nonce: RHhFPE
3466.. section: Documentation
3467
3468Clarify the default size argument of stack_size() in the "threading" and
3469"_thread" modules. Patch from Mattip.
3470
3471..
3472
3473.. bpo: 26014
Ned Deilyaee5df52018-06-27 18:45:50 -04003474.. date: 8907
larryhastingsf9f17342017-09-04 13:30:19 -07003475.. nonce: ptdZ_I
3476.. section: Documentation
3477
3478Update 3.x packaging documentation: * "See also" links to the new docs are
3479now provided in the legacy pages * links to setuptools documentation have
3480been updated
3481
3482..
3483
3484.. bpo: 21916
Ned Deilyaee5df52018-06-27 18:45:50 -04003485.. date: 8906
larryhastingsf9f17342017-09-04 13:30:19 -07003486.. nonce: muwCyp
3487.. section: Tests
3488
3489Added tests for the turtle module. Patch by ingrid, Gregory Loyse and Jelle
3490Zijlstra.
3491
3492..
3493
3494.. bpo: 26295
Ned Deilyaee5df52018-06-27 18:45:50 -04003495.. date: 8905
larryhastingsf9f17342017-09-04 13:30:19 -07003496.. nonce: sYBtj5
3497.. section: Tests
3498
3499When using "python3 -m test --testdir=TESTDIR", regrtest doesn't add "test."
3500prefix to test module names.
3501
3502..
3503
3504.. bpo: 26523
Ned Deilyaee5df52018-06-27 18:45:50 -04003505.. date: 8904
larryhastingsf9f17342017-09-04 13:30:19 -07003506.. nonce: em_Uzt
3507.. section: Tests
3508
3509The multiprocessing thread pool (multiprocessing.dummy.Pool) was untested.
3510
3511..
3512
3513.. bpo: 26015
Ned Deilyaee5df52018-06-27 18:45:50 -04003514.. date: 8903
larryhastingsf9f17342017-09-04 13:30:19 -07003515.. nonce: p3oWK3
3516.. section: Tests
3517
3518Added new tests for pickling iterators of mutable sequences.
3519
3520..
3521
3522.. bpo: 26325
Ned Deilyaee5df52018-06-27 18:45:50 -04003523.. date: 8902
larryhastingsf9f17342017-09-04 13:30:19 -07003524.. nonce: KOUc82
3525.. section: Tests
3526
3527Added test.support.check_no_resource_warning() to check that no
3528ResourceWarning is emitted.
3529
3530..
3531
3532.. bpo: 25940
Ned Deilyaee5df52018-06-27 18:45:50 -04003533.. date: 8901
larryhastingsf9f17342017-09-04 13:30:19 -07003534.. nonce: MvBwSe
3535.. section: Tests
3536
3537Changed test_ssl to use its internal local server more. This avoids relying
3538on svn.python.org, which recently changed root certificate.
3539
3540..
3541
3542.. bpo: 25616
Ned Deilyaee5df52018-06-27 18:45:50 -04003543.. date: 8900
larryhastingsf9f17342017-09-04 13:30:19 -07003544.. nonce: Qr-60p
3545.. section: Tests
3546
3547Tests for OrderedDict are extracted from test_collections into separate file
3548test_ordered_dict.
3549
3550..
3551
3552.. bpo: 25449
Ned Deilyaee5df52018-06-27 18:45:50 -04003553.. date: 8899
larryhastingsf9f17342017-09-04 13:30:19 -07003554.. nonce: MP6KNs
3555.. section: Tests
3556
3557Added tests for OrderedDict subclasses.
3558
3559..
3560
3561.. bpo: 25188
Ned Deilyaee5df52018-06-27 18:45:50 -04003562.. date: 8898
larryhastingsf9f17342017-09-04 13:30:19 -07003563.. nonce: lnLnIW
3564.. section: Tests
3565
3566Add -P/--pgo to test.regrtest to suppress error output when running the test
3567suite for the purposes of a PGO build. Initial patch by Alecsandru Patrascu.
3568
3569..
3570
3571.. bpo: 22806
Ned Deilyaee5df52018-06-27 18:45:50 -04003572.. date: 8897
larryhastingsf9f17342017-09-04 13:30:19 -07003573.. nonce: _QHyyV
3574.. section: Tests
3575
3576Add ``python -m test --list-tests`` command to list tests.
3577
3578..
3579
3580.. bpo: 18174
Ned Deilyaee5df52018-06-27 18:45:50 -04003581.. date: 8896
larryhastingsf9f17342017-09-04 13:30:19 -07003582.. nonce: TzH9d_
3583.. section: Tests
3584
3585``python -m test --huntrleaks ...`` now also checks for leak of file
3586descriptors. Patch written by Richard Oudkerk.
3587
3588..
3589
3590.. bpo: 25260
Ned Deilyaee5df52018-06-27 18:45:50 -04003591.. date: 8895
larryhastingsf9f17342017-09-04 13:30:19 -07003592.. nonce: jw3p83
3593.. section: Tests
3594
3595Fix ``python -m test --coverage`` on Windows. Remove the list of ignored
3596directories.
3597
3598..
3599
3600.. bpo: 0
Ned Deilyaee5df52018-06-27 18:45:50 -04003601.. date: 8894
larryhastingsf9f17342017-09-04 13:30:19 -07003602.. nonce: X-Bk5l
3603.. section: Tests
3604
3605``PCbuild\rt.bat`` now accepts an unlimited number of arguments to pass
3606along to regrtest.py. Previously there was a limit of 9.
3607
3608..
3609
3610.. bpo: 26583
Ned Deilyaee5df52018-06-27 18:45:50 -04003611.. date: 8893
larryhastingsf9f17342017-09-04 13:30:19 -07003612.. nonce: Up7hTl
3613.. section: Tests
3614
3615Skip test_timestamp_overflow in test_import if bytecode files cannot be
3616written.
3617
3618..
3619
3620.. bpo: 21277
Ned Deilyaee5df52018-06-27 18:45:50 -04003621.. date: 8892
larryhastingsf9f17342017-09-04 13:30:19 -07003622.. nonce: 7y1j9a
3623.. section: Build
3624
3625Don't try to link _ctypes with a ffi_convenience library.
3626
3627..
3628
3629.. bpo: 26884
Ned Deilyaee5df52018-06-27 18:45:50 -04003630.. date: 8891
larryhastingsf9f17342017-09-04 13:30:19 -07003631.. nonce: O8-azL
3632.. section: Build
3633
3634Fix linking extension modules for cross builds. Patch by Xavier de Gaye.
3635
3636..
3637
3638.. bpo: 26932
Ned Deilyaee5df52018-06-27 18:45:50 -04003639.. date: 8890
larryhastingsf9f17342017-09-04 13:30:19 -07003640.. nonce: 5kzaG9
3641.. section: Build
3642
3643Fixed support of RTLD_* constants defined as enum values, not via macros (in
3644particular on Android). Patch by Chi Hsuan Yen.
3645
3646..
3647
3648.. bpo: 22359
Ned Deilyaee5df52018-06-27 18:45:50 -04003649.. date: 8889
larryhastingsf9f17342017-09-04 13:30:19 -07003650.. nonce: HDjM4s
3651.. section: Build
3652
Serhiy Storchakaaef639f2018-05-21 02:36:05 +03003653Disable the rules for running _freeze_importlib and pgen when
3654cross-compiling. The output of these programs is normally saved with the source
larryhastingsf9f17342017-09-04 13:30:19 -07003655code anyway, and is still regenerated when doing a native build. Patch by
3656Xavier de Gaye.
3657
3658..
3659
3660.. bpo: 21668
Ned Deilyaee5df52018-06-27 18:45:50 -04003661.. date: 8888
larryhastingsf9f17342017-09-04 13:30:19 -07003662.. nonce: qWwBui
3663.. section: Build
3664
3665Link audioop, _datetime, _ctypes_test modules to libm, except on Mac OS X.
3666Patch written by Chi Hsuan Yen.
3667
3668..
3669
3670.. bpo: 25702
Ned Deilyaee5df52018-06-27 18:45:50 -04003671.. date: 8887
larryhastingsf9f17342017-09-04 13:30:19 -07003672.. nonce: ipxyJs
3673.. section: Build
3674
3675A --with-lto configure option has been added that will enable link time
3676optimizations at build time during a make profile-opt. Some compilers and
3677toolchains are known to not produce stable code when using LTO, be sure to
3678test things thoroughly before relying on it. It can provide a few % speed up
3679over profile-opt alone.
3680
3681..
3682
3683.. bpo: 26624
Ned Deilyaee5df52018-06-27 18:45:50 -04003684.. date: 8886
larryhastingsf9f17342017-09-04 13:30:19 -07003685.. nonce: 4fGrTl
3686.. section: Build
3687
3688Adds validation of ucrtbase[d].dll version with warning for old versions.
3689
3690..
3691
3692.. bpo: 17603
Ned Deilyaee5df52018-06-27 18:45:50 -04003693.. date: 8885
larryhastingsf9f17342017-09-04 13:30:19 -07003694.. nonce: 102DA-
3695.. section: Build
3696
Min ho Kim96e12d52019-07-22 06:12:33 +10003697Avoid error about nonexistent fileblocks.o file by using a lower-level check
larryhastingsf9f17342017-09-04 13:30:19 -07003698for st_blocks in struct stat.
3699
3700..
3701
3702.. bpo: 26079
Ned Deilyaee5df52018-06-27 18:45:50 -04003703.. date: 8884
larryhastingsf9f17342017-09-04 13:30:19 -07003704.. nonce: mEzW0O
3705.. section: Build
3706
3707Fixing the build output folder for tix-8.4.3.6. Patch by Bjoern Thiel.
3708
3709..
3710
3711.. bpo: 26465
Ned Deilyaee5df52018-06-27 18:45:50 -04003712.. date: 8883
larryhastingsf9f17342017-09-04 13:30:19 -07003713.. nonce: _YR608
3714.. section: Build
3715
3716Update Windows builds to use OpenSSL 1.0.2g.
3717
3718..
3719
3720.. bpo: 25348
Ned Deilyaee5df52018-06-27 18:45:50 -04003721.. date: 8882
larryhastingsf9f17342017-09-04 13:30:19 -07003722.. nonce: FLSPfp
3723.. section: Build
3724
3725Added ``--pgo`` and ``--pgo-job`` arguments to ``PCbuild\build.bat`` for
3726building with Profile-Guided Optimization. The old
3727``PCbuild\build_pgo.bat`` script is removed.
3728
3729..
3730
3731.. bpo: 25827
Ned Deilyaee5df52018-06-27 18:45:50 -04003732.. date: 8881
larryhastingsf9f17342017-09-04 13:30:19 -07003733.. nonce: yg3DMM
3734.. section: Build
3735
3736Add support for building with ICC to ``configure``, including a new
3737``--with-icc`` flag.
3738
3739..
3740
3741.. bpo: 25696
Ned Deilyaee5df52018-06-27 18:45:50 -04003742.. date: 8880
larryhastingsf9f17342017-09-04 13:30:19 -07003743.. nonce: 2R_wIv
3744.. section: Build
3745
3746Fix installation of Python on UNIX with make -j9.
3747
3748..
3749
3750.. bpo: 24986
Ned Deilyaee5df52018-06-27 18:45:50 -04003751.. date: 8879
larryhastingsf9f17342017-09-04 13:30:19 -07003752.. nonce: 1WyXeU
3753.. section: Build
3754
3755It is now possible to build Python on Windows without errors when external
3756libraries are not available.
3757
3758..
3759
3760.. bpo: 24421
Ned Deilyaee5df52018-06-27 18:45:50 -04003761.. date: 8878
larryhastingsf9f17342017-09-04 13:30:19 -07003762.. nonce: 2zY7vM
3763.. section: Build
3764
3765Compile Modules/_math.c once, before building extensions. Previously it
3766could fail to compile properly if the math and cmath builds were concurrent.
3767
3768..
3769
3770.. bpo: 26465
Ned Deilyaee5df52018-06-27 18:45:50 -04003771.. date: 8877
larryhastingsf9f17342017-09-04 13:30:19 -07003772.. nonce: PkIaV8
3773.. section: Build
3774
3775Update OS X 10.5+ 32-bit-only installer to build and link with OpenSSL
37761.0.2g.
3777
3778..
3779
3780.. bpo: 26268
Ned Deilyaee5df52018-06-27 18:45:50 -04003781.. date: 8876
larryhastingsf9f17342017-09-04 13:30:19 -07003782.. nonce: I3-YLh
3783.. section: Build
3784
3785Update Windows builds to use OpenSSL 1.0.2f.
3786
3787..
3788
3789.. bpo: 25136
Ned Deilyaee5df52018-06-27 18:45:50 -04003790.. date: 8875
larryhastingsf9f17342017-09-04 13:30:19 -07003791.. nonce: Vi-fmO
3792.. section: Build
3793
3794Support Apple Xcode 7's new textual SDK stub libraries.
3795
3796..
3797
3798.. bpo: 24324
Ned Deilyaee5df52018-06-27 18:45:50 -04003799.. date: 8874
larryhastingsf9f17342017-09-04 13:30:19 -07003800.. nonce: m6DZMx
3801.. section: Build
3802
3803Do not enable unreachable code warnings when using gcc as the option does
3804not work correctly in older versions of gcc and has been silently removed as
3805of gcc-4.5.
3806
3807..
3808
3809.. bpo: 27053
Ned Deilyaee5df52018-06-27 18:45:50 -04003810.. date: 8873
larryhastingsf9f17342017-09-04 13:30:19 -07003811.. nonce: 1IRbae
3812.. section: Windows
3813
3814Updates make_zip.py to correctly generate library ZIP file.
3815
3816..
3817
3818.. bpo: 26268
Ned Deilyaee5df52018-06-27 18:45:50 -04003819.. date: 8872
larryhastingsf9f17342017-09-04 13:30:19 -07003820.. nonce: Z-lJEh
3821.. section: Windows
3822
3823Update the prepare_ssl.py script to handle OpenSSL releases that don't
3824include the contents of the include directory (that is, 1.0.2e and later).
3825
3826..
3827
3828.. bpo: 26071
Ned Deilyaee5df52018-06-27 18:45:50 -04003829.. date: 8871
larryhastingsf9f17342017-09-04 13:30:19 -07003830.. nonce: wLxL2l
3831.. section: Windows
3832
3833bdist_wininst created binaries fail to start and find 32bit Python
3834
3835..
3836
3837.. bpo: 26073
Ned Deilyaee5df52018-06-27 18:45:50 -04003838.. date: 8870
larryhastingsf9f17342017-09-04 13:30:19 -07003839.. nonce: XwWgHp
3840.. section: Windows
3841
3842Update the list of magic numbers in launcher
3843
3844..
3845
3846.. bpo: 26065
Ned Deilyaee5df52018-06-27 18:45:50 -04003847.. date: 8869
larryhastingsf9f17342017-09-04 13:30:19 -07003848.. nonce: SkVLJp
3849.. section: Windows
3850
3851Excludes venv from library when generating embeddable distro.
3852
3853..
3854
3855.. bpo: 25022
Ned Deilyaee5df52018-06-27 18:45:50 -04003856.. date: 8868
larryhastingsf9f17342017-09-04 13:30:19 -07003857.. nonce: vAt_zr
3858.. section: Windows
3859
3860Removed very outdated PC/example_nt/ directory.
3861
3862..
3863
3864.. bpo: 26799
Ned Deilyaee5df52018-06-27 18:45:50 -04003865.. date: 8867
larryhastingsf9f17342017-09-04 13:30:19 -07003866.. nonce: gK2VXX
3867.. section: Tools/Demos
3868
3869Fix python-gdb.py: don't get C types once when the Python code is loaded,
3870but get C types on demand. The C types can change if python-gdb.py is loaded
3871before the Python executable. Patch written by Thomas Ilsche.
3872
3873..
3874
3875.. bpo: 26271
Ned Deilyaee5df52018-06-27 18:45:50 -04003876.. date: 8866
larryhastingsf9f17342017-09-04 13:30:19 -07003877.. nonce: wg-rzr
3878.. section: Tools/Demos
3879
3880Fix the Freeze tool to properly use flags passed through configure. Patch by
3881Daniel Shaulov.
3882
3883..
3884
3885.. bpo: 26489
Ned Deilyaee5df52018-06-27 18:45:50 -04003886.. date: 8865
larryhastingsf9f17342017-09-04 13:30:19 -07003887.. nonce: rJ_U5S
3888.. section: Tools/Demos
3889
3890Add dictionary unpacking support to Tools/parser/unparse.py. Patch by Guo Ci
3891Teo.
3892
3893..
3894
3895.. bpo: 26316
Ned Deilyaee5df52018-06-27 18:45:50 -04003896.. date: 8864
larryhastingsf9f17342017-09-04 13:30:19 -07003897.. nonce: QJvVOi
3898.. section: Tools/Demos
3899
3900Fix variable name typo in Argument Clinic.
3901
3902..
3903
3904.. bpo: 25440
Ned Deilyaee5df52018-06-27 18:45:50 -04003905.. date: 8863
larryhastingsf9f17342017-09-04 13:30:19 -07003906.. nonce: 5xhyGr
3907.. section: Tools/Demos
3908
3909Fix output of python-config --extension-suffix.
3910
3911..
3912
3913.. bpo: 25154
Ned Deilyaee5df52018-06-27 18:45:50 -04003914.. date: 8862
larryhastingsf9f17342017-09-04 13:30:19 -07003915.. nonce: yLO-r4
3916.. section: Tools/Demos
3917
3918The pyvenv script has been deprecated in favour of `python3 -m venv`.
3919
3920..
3921
3922.. bpo: 26312
Ned Deilyaee5df52018-06-27 18:45:50 -04003923.. date: 8861
larryhastingsf9f17342017-09-04 13:30:19 -07003924.. nonce: h1T61B
3925.. section: C API
3926
3927SystemError is now raised in all programming bugs with using
3928PyArg_ParseTupleAndKeywords(). RuntimeError did raised before in some
3929programming bugs.
3930
3931..
3932
3933.. bpo: 26198
Ned Deilyaee5df52018-06-27 18:45:50 -04003934.. date: 8860
larryhastingsf9f17342017-09-04 13:30:19 -07003935.. nonce: lVn1HX
3936.. section: C API
3937
3938ValueError is now raised instead of TypeError on buffer overflow in parsing
3939"es#" and "et#" format units. SystemError is now raised instead of
Stéphane Wirtel683281f2018-10-06 16:35:53 +02003940TypeError on programmatical error in parsing format string.