• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1.. bpo: 20041
2.. date: 9253
3.. 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
12.. date: 9252
13.. 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
21.. date: 9251
22.. nonce: yWGNhz
23.. section: Core and Builtins
24
25Fix possible refleak when creating a function with annotations.
26
27..
28
29.. bpo: 27039
30.. date: 9250
31.. 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
40.. date: 9249
41.. nonce: kvNC4c
42.. section: Core and Builtins
43
44int.from_bytes() no longer bypasses constructors for subclasses.
45
46..
47
48.. bpo: 27005
49.. date: 9248
50.. 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
59.. date: 9247
60.. 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
69.. date: 9246
70.. 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
78.. date: 9245
79.. 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
90.. date: 9244
91.. 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
104.. date: 9243
105.. 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
115.. date: 9242
116.. nonce: 5PRa83
117.. section: Core and Builtins
118
119Make the builtin slice type support cycle collection.
120
121..
122
123.. bpo: 26718
124.. date: 9241
125.. 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
134.. date: 9240
135.. nonce: ifYEro
136.. section: Core and Builtins
137
138Fix the doc comment for FileFinder.find_spec().
139
140..
141
142.. bpo: 27147
143.. date: 9239
144.. nonce: tCCgmH
145.. section: Core and Builtins
146
147Mention :pep:`420` in the importlib docs.
148
149..
150
151.. bpo: 25339
152.. date: 9238
153.. 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
162.. date: 9237
163.. 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
173.. date: 9236
174.. 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
183.. date: 9235
184.. 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
193.. date: 9234
194.. nonce: gDDPJE
195.. section: Core and Builtins
196
197Add tests for reloading namespace packages.
198
199..
200
201.. bpo: 21099
202.. date: 9233
203.. nonce: CuMWZJ
204.. section: Core and Builtins
205
206Switch applicable importlib tests to use :pep:`451` API.
207
208..
209
210.. bpo: 26563
211.. date: 9232
212.. 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
221.. date: 9231
222.. 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
232.. date: 9230
233.. 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
242.. date: 9229
243.. 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
252.. date: 9228
253.. 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
262.. date: 9227
263.. 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
273.. date: 9226
274.. 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
283.. date: 9225
284.. 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
294.. date: 9224
295.. 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
306.. date: 9223
307.. 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
315.. date: 9222
316.. 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
325.. date: 9221
326.. 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
336.. date: 9220
337.. 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
347.. date: 9219
348.. 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
357.. date: 9218
358.. 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
367.. date: 9217
368.. 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
377.. date: 9216
378.. 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
390.. date: 9215
391.. 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
400.. date: 9214
401.. 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
414.. date: 9213
415.. 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
424.. date: 9212
425.. 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
434.. date: 9211
435.. nonce: Hdjjw0
436.. section: Core and Builtins
437
438Disallowed null characters in the type name.
439
440..
441
442.. bpo: 25973
443.. date: 9210
444.. 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
453.. date: 9209
454.. 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
465.. date: 9208
466.. 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
475.. date: 9207
476.. nonce: jn93Yu
477.. section: Core and Builtins
478
479Special method __bytes__() now works in str subclasses.
480
481..
482
483.. bpo: 25421
484.. date: 9206
485.. 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
495.. date: 9205
496.. 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
504.. date: 9204
505.. 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
514.. date: 9203
515.. nonce: 9qnaPt
516.. section: Core and Builtins
517
518telnetlib.Telnet is now a context manager.
519
520..
521
522.. bpo: 24097
523.. date: 9202
524.. 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
532.. date: 9201
533.. 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
543.. date: 9200
544.. 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
553.. date: 9199
554.. 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
564.. date: 9198
565.. 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
574.. date: 9197
575.. 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
584.. date: 9196
585.. 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
594.. date: 9195
595.. 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
605.. date: 9194
606.. 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
615.. date: 9193
616.. 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
625.. date: 9192
626.. 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
635.. date: 9191
636.. nonce: htkE3W
637.. section: Core and Builtins
638
639Fixed crash when highly nested OrderedDict structures were garbage
640collected.
641
642..
643
644.. bpo: 25401
645.. date: 9190
646.. 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
655.. date: 9189
656.. 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
665.. date: 9188
666.. 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
677.. date: 9187
678.. 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
687.. date: 9186
688.. 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
697.. date: 9185
698.. 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
707.. date: 9184
708.. 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
717.. date: 9183
718.. 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
726.. date: 9182
727.. nonce: SW8Gs6
728.. section: Core and Builtins
729
730The UTF-8 encoder is now up to 75 times as fast for error handlers:
731``ignore``, ``replace``, ``surrogateescape``, ``surrogatepass``. Patch
732co-written with Serhiy Storchaka.
733
734..
735
736.. bpo: 25280
737.. date: 9181
738.. 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
747.. date: 9180
748.. 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
758.. date: 9179
759.. 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
764to generate very good quality entropy, os.urandom() doesn't need such
765high-quality entropy.
766
767..
768
769.. bpo: 9232
770.. date: 9178
771.. 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
781.. date: 9177
782.. nonce: wfyxbB
783.. section: Core and Builtins
784
785Implement :pep:`498` "Literal String Interpolation". This allows you to embed
786expressions 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
792.. date: 9176
793.. 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
802.. date: 9175
803.. 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
811.. date: 9174
812.. nonce: 93DzBo
813.. section: Core and Builtins
814
815Fix TAB key behaviour in REPL with readline.
816
817..
818
819.. bpo: 26288
820.. date: 9173
821.. nonce: f67RLk
822.. section: Core and Builtins
823
824Optimize PyLong_AsDouble.
825
826..
827
828.. bpo: 26289
829.. date: 9172
830.. 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
840.. date: 9171
841.. 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
849.. date: 9170
850.. 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
860.. date: 9169
861.. nonce: ui7Khn
862.. section: Library
863
864Fix infinite recursion using typing.py.  Thanks to Kalle Tuure!
865
866..
867
868.. bpo: 27031
869.. date: 9168
870.. nonce: FtvDPs
871.. section: Library
872
873Removed dummy methods in Tkinter widget classes: tk_menuBar() and
874tk_bindForTraversal().
875
876..
877
878.. bpo: 14132
879.. date: 9167
880.. 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
889.. date: 9166
890.. nonce: lUbZOV
891.. section: Library
892
893The "urllib.request" module now percent-encodes non-ASCII bytes found in
894redirect 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
897Christian Heimes.
898
899..
900
901.. bpo: 27033
902.. date: 9165
903.. 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
912.. date: 9164
913.. nonce: ptzz_S
914.. section: Library
915
916Removed deprecated class asynchat.fifo.
917
918..
919
920.. bpo: 26870
921.. date: 9163
922.. 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
931.. date: 9162
932.. 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
941.. date: 9161
942.. 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
951.. date: 9160
952.. 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
961.. date: 9159
962.. 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
971.. date: 9158
972.. nonce: -n8acU
973.. section: Library
974
975Fixed leaking a userptr in curses panel destructor.
976
977..
978
979.. bpo: 26977
980.. date: 9157
981.. 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
990.. date: 9156
991.. 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
1000.. date: 9155
1001.. 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
1010.. date: 9154
1011.. nonce: LR__VD
1012.. section: Library
1013
1014Add secrets module as described in :pep:`506`.
1015
1016..
1017
1018.. bpo: 26881
1019.. date: 9153
1020.. nonce: mdiq_L
1021.. section: Library
1022
1023The modulefinder module now supports extended opcode arguments.
1024
1025..
1026
1027.. bpo: 23815
1028.. date: 9152
1029.. 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
1038.. date: 9151
1039.. nonce: hiSVS1
1040.. section: Library
1041
1042weakref.ref() no longer silently ignores keyword arguments. Patch by Georg
1043Brandl.
1044
1045..
1046
1047.. bpo: 26873
1048.. date: 9150
1049.. 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
1058.. date: 9149
1059.. 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
1070.. date: 9148
1071.. nonce: Eu85Qw
1072.. section: Library
1073
1074Fixed the comparison of plistlib.Data with other types.
1075
1076..
1077
1078.. bpo: 24114
1079.. date: 9147
1080.. nonce: RMRMtM
1081.. section: Library
1082
1083Fix an uninitialized variable in `ctypes.util`.
1084The 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
1090.. date: 9146
1091.. 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
1101.. date: 9145
1102.. nonce: bwWpLj
1103.. section: Library
1104
1105Print server URL on http.server startup.  Initial patch by Felix Kaiser.
1106
1107..
1108
1109.. bpo: 25788
1110.. date: 9144
1111.. 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
1120.. date: 9143
1121.. nonce: FZvsSb
1122.. section: Library
1123
1124recursive_repr() now sets __qualname__ of wrapper.  Patch by Xiang Zhang.
1125
1126..
1127
1128.. bpo: 26804
1129.. date: 9142
1130.. 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
1139.. date: 9141
1140.. 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
1150.. date: 9140
1151.. 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
1161.. date: 9139
1162.. nonce: rYSL4W
1163.. section: Library
1164
1165itemgetter, attrgetter and methodcaller objects no longer silently ignore
1166keyword arguments.
1167
1168..
1169
1170.. bpo: 26733
1171.. date: 9138
1172.. 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
1181.. date: 9137
1182.. 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
1192.. date: 9136
1193.. 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
1202.. date: 9135
1203.. 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
1214.. date: 9134
1215.. 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
1223.. date: 9133
1224.. nonce: JWLPrH
1225.. section: Library
1226
1227Add STARTUPINFO to subprocess.__all__ on Windows.
1228
1229..
1230
1231.. bpo: 26404
1232.. date: 9132
1233.. nonce: hXw7Bs
1234.. section: Library
1235
1236Add context manager to socketserver.  Patch by Aviv Palivoda.
1237
1238..
1239
1240.. bpo: 26735
1241.. date: 9131
1242.. 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
1252.. date: 9130
1253.. 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
1262.. date: 9129
1263.. nonce: sI_1Ff
1264.. section: Library
1265
1266Raise OSError if closing a socket fails.
1267
1268..
1269
1270.. bpo: 16329
1271.. date: 9128
1272.. nonce: nuXD8W
1273.. section: Library
1274
1275Add .webm to mimetypes.types_map.  Patch by Giampaolo Rodola'.
1276
1277..
1278
1279.. bpo: 13952
1280.. date: 9127
1281.. nonce: SOoTVE
1282.. section: Library
1283
1284Add .csv to mimetypes.types_map.  Patch by Geoff Wilson.
1285
1286..
1287
1288.. bpo: 26587
1289.. date: 9126
1290.. 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
1299.. date: 9125
1300.. nonce: t1ydQM
1301.. section: Library
1302
1303Introduce contextlib.AbstractContextManager and typing.ContextManager.
1304
1305..
1306
1307.. bpo: 26709
1308.. date: 9124
1309.. nonce: luOPbP
1310.. section: Library
1311
1312Fixed Y2038 problem in loading binary PLists.
1313
1314..
1315
1316.. bpo: 23735
1317.. date: 9123
1318.. 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
1327.. date: 9122
1328.. 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
1337.. date: 9121
1338.. 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
1348.. date: 9120
1349.. nonce: zLRFed
1350.. section: Library
1351
1352Added missing XMLPullParser to ElementTree.__all__.
1353
1354..
1355
1356.. bpo: 22854
1357.. date: 9119
1358.. nonce: K3rMEH
1359.. section: Library
1360
1361Change BufferedReader.writable() and BufferedWriter.readable() to always
1362return False.
1363
1364..
1365
1366.. bpo: 26492
1367.. date: 9118
1368.. 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
1378.. date: 9117
1379.. 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
1388.. date: 9116
1389.. 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
1399.. date: 9115
1400.. 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
1409.. date: 9114
1410.. 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
1419.. date: 9113
1420.. nonce: v3QwdD
1421.. section: Library
1422
1423Fixed a bug in datetime.astimezone() method.
1424
1425..
1426
1427.. bpo: 26637
1428.. date: 9112
1429.. 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
1439.. date: 9111
1440.. 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
1451.. date: 9110
1452.. 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
1462.. date: 9109
1463.. 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
1474.. date: 9108
1475.. nonce: uen0XP
1476.. section: Library
1477
1478The _tracemalloc now supports tracing memory allocations of multiple address
1479spaces (domains).
1480
1481..
1482
1483.. bpo: 24266
1484.. date: 9107
1485.. 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
1494.. date: 9106
1495.. 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
1504.. date: 9105
1505.. 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
1514.. date: 9104
1515.. nonce: A4WXNz
1516.. section: Library
1517
1518Avoid potential ValueError in BaseHandler.start_response. Initial patch by
1519Peter Inglesby.
1520
1521..
1522
1523.. bpo: 26567
1524.. date: 9103
1525.. 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
1536.. date: 9102
1537.. 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
1547.. date: 9101
1548.. 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
1557.. date: 9100
1558.. 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
1568.. date: 9099
1569.. 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
1578.. date: 9098
1579.. nonce: P7lLvo
1580.. section: Library
1581
1582cookiejar.http2time() now returns None if year is higher than
1583datetime.MAXYEAR.
1584
1585..
1586
1587.. bpo: 26513
1588.. date: 9097
1589.. nonce: HoPepy
1590.. section: Library
1591
1592Fixes platform module detection of Windows Server
1593
1594..
1595
1596.. bpo: 23718
1597.. date: 9096
1598.. 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
1607.. date: 9095
1608.. 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
1617.. date: 9094
1618.. 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
1627.. date: 9093
1628.. nonce: HlSWer
1629.. section: Library
1630
1631Fixed the keys() method for Canvas and Scrollbar widgets.
1632
1633..
1634
1635.. bpo: 15068
1636.. date: 9092
1637.. 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
1646.. date: 9091
1647.. 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
1656.. date: 9090
1657.. nonce: dk9sd0
1658.. section: Library
1659
1660Fix UnboundLocalError in AbstractDigestAuthHandler.get_algorithm_impls.
1661Initial patch by Mathieu Dupuy.
1662
1663..
1664
1665.. bpo: 26167
1666.. date: 9089
1667.. 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
1677.. date: 9088
1678.. nonce: 4EjZyv
1679.. section: Library
1680
1681Fixed pickling and copying the accumulate() iterator with total is None.
1682
1683..
1684
1685.. bpo: 26475
1686.. date: 9087
1687.. nonce: JXVccY
1688.. section: Library
1689
1690Fixed debugging output for regular expressions with the (?x) flag.
1691
1692..
1693
1694.. bpo: 26482
1695.. date: 9086
1696.. nonce: d635gW
1697.. section: Library
1698
1699Allowed pickling recursive dequeues.
1700
1701..
1702
1703.. bpo: 26335
1704.. date: 9085
1705.. 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
1714.. date: 9084
1715.. 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
1725.. date: 9083
1726.. 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
1735.. date: 9082
1736.. 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
1746.. date: 9081
1747.. 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
1756.. date: 9080
1757.. nonce: R9rfiL
1758.. section: Library
1759
1760Remove an invalid type check in importlib.util.LazyLoader.
1761
1762..
1763
1764.. bpo: 26367
1765.. date: 9079
1766.. 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
1775.. date: 9078
1776.. 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
1785.. date: 9077
1786.. 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
1797.. date: 9076
1798.. 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
1807.. date: 9075
1808.. nonce: NfcimP
1809.. section: Library
1810
1811os.walk() no longer uses FDs proportional to the tree depth.
1812
1813..
1814
1815.. bpo: 25994
1816.. date: 9074
1817.. 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
1826.. date: 9073
1827.. nonce: O0Hhvc
1828.. section: Library
1829
1830multiprocessing: make MapResult not fail-fast upon exception.
1831
1832..
1833
1834.. bpo: 26243
1835.. date: 9072
1836.. nonce: 41WSpF
1837.. section: Library
1838
1839Support keyword arguments to zlib.compress().  Patch by Aviv Palivoda.
1840
1841..
1842
1843.. bpo: 26117
1844.. date: 9071
1845.. 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
1854.. date: 9070
1855.. nonce: -Lh9vz
1856.. section: Library
1857
1858__dict__ for an OrderedDict instance is now created only when needed.
1859
1860..
1861
1862.. bpo: 25911
1863.. date: 9069
1864.. nonce: d4Zadh
1865.. section: Library
1866
1867Restored support of bytes paths in os.walk() on Windows.
1868
1869..
1870
1871.. bpo: 26045
1872.. date: 9068
1873.. 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
1882.. date: 9067
1883.. 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
1892.. date: 9066
1893.. 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
1902.. date: 9065
1903.. 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
1914.. date: 9064
1915.. nonce: LPIXLg
1916.. section: Library
1917
1918copy.deepcopy() now correctly copies range() objects with non-atomic
1919attributes.
1920
1921..
1922
1923.. bpo: 23076
1924.. date: 9063
1925.. 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
1934.. date: 9062
1935.. nonce: z9TsO6
1936.. section: Library
1937
1938Fixed possible integer overflows in zipimport.
1939
1940..
1941
1942.. bpo: 26227
1943.. date: 9061
1944.. 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
1954.. date: 9060
1955.. 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
1965.. date: 9059
1966.. 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
1974.. date: 9058
1975.. nonce: cyni91
1976.. section: Library
1977
1978Garbage collector now breaks reference loops with OrderedDict.
1979
1980..
1981
1982.. bpo: 16620
1983.. date: 9057
1984.. nonce: rxpn_Y
1985.. section: Library
1986
1987Fixed AttributeError in msilib.Directory.glob().
1988
1989..
1990
1991.. bpo: 26013
1992.. date: 9056
1993.. 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
2002.. date: 9055
2003.. nonce: g4RQZd
2004.. section: Library
2005
2006Deprecated accepting non-integers in grp.getgrgid().
2007
2008..
2009
2010.. bpo: 25850
2011.. date: 9054
2012.. nonce: jwFPxj
2013.. section: Library
2014
2015Use cross-compilation by default for 64-bit Windows.
2016
2017..
2018
2019.. bpo: 25822
2020.. date: 9053
2021.. 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
2030.. date: 9052
2031.. nonce: PEgS9F
2032.. section: Library
2033
2034Convert trace module option parsing mechanism to argparse. Patch contributed
2035by SilentGhost.
2036
2037..
2038
2039.. bpo: 24705
2040.. date: 9051
2041.. nonce: IZYwjR
2042.. section: Library
2043
2044Fix sysconfig._parse_makefile not expanding ${} vars appearing before $()
2045vars.
2046
2047..
2048
2049.. bpo: 26069
2050.. date: 9050
2051.. nonce: NaF4lN
2052.. section: Library
2053
2054Remove the deprecated apis in the trace module.
2055
2056..
2057
2058.. bpo: 22138
2059.. date: 9049
2060.. 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
2069.. date: 9048
2070.. 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
2079.. date: 9047
2080.. nonce: IFSXNm
2081.. section: Library
2082
2083Don't traverse into symlinks for ``**`` pattern in pathlib.Path.[r]glob().
2084
2085..
2086
2087.. bpo: 24120
2088.. date: 9046
2089.. 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
2098.. date: 9045
2099.. 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
2109.. date: 9044
2110.. 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
2119.. date: 9043
2120.. 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
2129.. date: 9042
2130.. nonce: Y2KOnA
2131.. section: Library
2132
2133Document as deprecated the remaining implementations of
2134importlib.abc.Loader.load_module().
2135
2136..
2137
2138.. bpo: 25928
2139.. date: 9041
2140.. nonce: JsQfKK
2141.. section: Library
2142
2143Add Decimal.as_integer_ratio().
2144
2145..
2146
2147.. bpo: 25447
2148.. date: 9040
2149.. 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
2158.. date: 9039
2159.. 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
2168.. date: 9038
2169.. nonce: WufqrQ
2170.. section: Library
2171
2172Fixed possible use after free in ElementTree.XMLPullParser.
2173
2174..
2175
2176.. bpo: 25860
2177.. date: 9037
2178.. 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
2187.. date: 9036
2188.. nonce: h0V61F
2189.. section: Library
2190
2191Fixed and simplified OrderedDict.__sizeof__.
2192
2193..
2194
2195.. bpo: 25869
2196.. date: 9035
2197.. nonce: eAnRH5
2198.. section: Library
2199
2200Optimized deepcopying ElementTree; it is now 20 times faster.
2201
2202..
2203
2204.. bpo: 25873
2205.. date: 9034
2206.. 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
2215.. date: 9033
2216.. nonce: 6t2FmH
2217.. section: Library
2218
2219Fixed various refcount issues in ElementTree iteration.
2220
2221..
2222
2223.. bpo: 22227
2224.. date: 9032
2225.. 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
2234.. date: 9031
2235.. 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
2244.. date: 9030
2245.. nonce: JGgMOP
2246.. section: Library
2247
2248Improved detecting errors in broken pickle data.
2249
2250..
2251
2252.. bpo: 25717
2253.. date: 9029
2254.. 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
2264.. date: 9028
2265.. 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
2275.. date: 9027
2276.. 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
2285.. date: 9026
2286.. 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
2295.. date: 9025
2296.. 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
2305.. date: 9024
2306.. 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
2317.. date: 9023
2318.. 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
2328.. date: 9022
2329.. 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
2339.. date: 9021
2340.. nonce: D9mHZF
2341.. section: Library
2342
2343Fixed copying object with state with boolean value is false.
2344
2345..
2346
2347.. bpo: 10131
2348.. date: 9020
2349.. nonce: a7tptz
2350.. section: Library
2351
2352Fixed deep copying of minidom documents.  Based on patch by Marian Ganisin.
2353
2354..
2355
2356.. bpo: 7990
2357.. date: 9019
2358.. 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
2367.. date: 9018
2368.. 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
2377.. date: 9017
2378.. 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
2387.. date: 9016
2388.. nonce: 8P1HOv
2389.. section: Library
2390
2391Fixed file leak in ElementTree.iterparse() raising an error.
2392
2393..
2394
2395.. bpo: 23914
2396.. date: 9015
2397.. nonce: 1sEz4J
2398.. section: Library
2399
2400Fixed SystemError raised by unpickler on broken pickle data.
2401
2402..
2403
2404.. bpo: 25691
2405.. date: 9014
2406.. nonce: ZEaapY
2407.. section: Library
2408
2409Fixed crash on deleting ElementTree.Element attributes.
2410
2411..
2412
2413.. bpo: 25624
2414.. date: 9013
2415.. 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
2424.. date: 9012
2425.. 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
2438.. date: 9011
2439.. 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
2448.. date: 9010
2449.. nonce: 56uegI
2450.. section: Library
2451
2452Change semantics of EventLoop.stop() in asyncio.
2453
2454..
2455
2456.. bpo: 6973
2457.. date: 9009
2458.. 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
2468.. date: 9008
2469.. 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
2480.. date: 9007
2481.. 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
2491.. date: 9006
2492.. 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
2502.. date: 9005
2503.. nonce: 124mYw
2504.. section: Library
2505
2506Added "escape" to the __all__ list in the glob module.
2507
2508..
2509
2510.. bpo: 25584
2511.. date: 9004
2512.. nonce: ZeWX0J
2513.. section: Library
2514
2515Fixed recursive glob() with patterns starting with ``**``.
2516
2517..
2518
2519.. bpo: 25446
2520.. date: 9003
2521.. nonce: k1DByx
2522.. section: Library
2523
2524Fix regression in smtplib's AUTH LOGIN support.
2525
2526..
2527
2528.. bpo: 18010
2529.. date: 9002
2530.. 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
2539.. date: 9001
2540.. nonce: UM9MlR
2541.. section: Library
2542
2543Got rid of circular references in regular expression parsing.
2544
2545..
2546
2547.. bpo: 18973
2548.. date: 9000
2549.. 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
2558.. date: 8999
2559.. 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
2568.. date: 8998
2569.. 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
2578.. date: 8997
2579.. nonce: fQsyYG
2580.. section: Library
2581
2582Always use os.urandom as a source of randomness in uuid.uuid4.
2583
2584..
2585
2586.. bpo: 21827
2587.. date: 8996
2588.. 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
2597.. date: 8995
2598.. 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
2607.. date: 8994
2608.. nonce: 6mSgRq
2609.. section: Library
2610
2611typing: Don't crash on Union[str, Pattern].
2612
2613..
2614
2615.. bpo: 25441
2616.. date: 8993
2617.. nonce: d7zph6
2618.. section: Library
2619
2620asyncio: Raise error from drain() when socket is closed.
2621
2622..
2623
2624.. bpo: 25410
2625.. date: 8992
2626.. nonce: QAs_3B
2627.. section: Library
2628
2629Cleaned up and fixed minor bugs in C implementation of OrderedDict.
2630
2631..
2632
2633.. bpo: 25411
2634.. date: 8991
2635.. 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
2644.. date: 8990
2645.. nonce: pFHJ0i
2646.. section: Library
2647
2648Move the imp module from a PendingDeprecationWarning to DeprecationWarning.
2649
2650..
2651
2652.. bpo: 25407
2653.. date: 8989
2654.. nonce: ukNt1D
2655.. section: Library
2656
2657Remove mentions of the formatter module being removed in Python 3.6.
2658
2659..
2660
2661.. bpo: 25406
2662.. date: 8988
2663.. 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
2673.. date: 8987
2674.. nonce: XQ44yE
2675.. section: Library
2676
2677pickletools.dis() now outputs implicit memo index for the MEMOIZE opcode.
2678
2679..
2680
2681.. bpo: 25357
2682.. date: 8986
2683.. nonce: ebqGy-
2684.. section: Library
2685
2686Add an optional newline parameter to binascii.b2a_base64(). base64.b64encode()
2687uses it to avoid a memory copy.
2688
2689..
2690
2691.. bpo: 24164
2692.. date: 8985
2693.. 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
2702.. date: 8984
2703.. nonce: u_1Wi6
2704.. section: Library
2705
2706zipfile now works in threads disabled builds.
2707
2708..
2709
2710.. bpo: 25328
2711.. date: 8983
2712.. 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
2721.. date: 8982
2722.. 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
2731.. date: 8981
2732.. nonce: dHQHWI
2733.. section: Library
2734
2735distutils raises OSError instead of DistutilsPlatformError when MSVC is not
2736installed.
2737
2738..
2739
2740.. bpo: 25380
2741.. date: 8980
2742.. nonce: sKZ6-I
2743.. section: Library
2744
2745Fixed protocol for the STACK_GLOBAL opcode in pickletools.opcodes.
2746
2747..
2748
2749.. bpo: 23972
2750.. date: 8979
2751.. 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
2763.. date: 8978
2764.. 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
2774.. date: 8977
2775.. 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
2784.. date: 8976
2785.. 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
2794.. date: 8975
2795.. 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
2804.. date: 8974
2805.. 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
2814.. date: 8973
2815.. 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
2824.. date: 8972
2825.. 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
2834.. date: 8971
2835.. nonce: WxKcdJ
2836.. section: Library
2837
2838rlcompleter now can add a space or a colon after completed keyword.
2839
2840..
2841
2842.. bpo: 22241
2843.. date: 8970
2844.. nonce: a-Mtw2
2845.. section: Library
2846
2847timezone.utc name is now plain 'UTC', not 'UTC-00:00'.
2848
2849..
2850
2851.. bpo: 23517
2852.. date: 8969
2853.. 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
2864.. date: 8968
2865.. 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
2874.. date: 8967
2875.. nonce: 6Unn9B
2876.. section: Library
2877
2878site-packages/README -> README.txt.
2879
2880..
2881
2882.. bpo: 24879
2883.. date: 8966
2884.. 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
2894.. date: 8965
2895.. nonce: luBfgA
2896.. section: Library
2897
2898Improve speed of itertools.cycle() and make its pickle more compact.
2899
2900..
2901
2902.. bpo: 0
2903.. date: 8964
2904.. 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
2913.. date: 8963
2914.. nonce: SHv0Ji
2915.. section: Library
2916
2917urllib.parse raises ValueError on all invalid ports. Patch by Martin Panter.
2918
2919..
2920
2921.. bpo: 24360
2922.. date: 8962
2923.. 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
2932.. date: 8961
2933.. nonce: PUV-Cx
2934.. section: Library
2935
2936run_setup was broken in distutils. Patch from Alexander Belopolsky.
2937
2938..
2939
2940.. bpo: 13938
2941.. date: 8960
2942.. nonce: e5NSE1
2943.. section: Library
2944
29452to3 converts StringTypes to a tuple. Patch from Mark Hammond.
2946
2947..
2948
2949.. bpo: 2091
2950.. date: 8959
2951.. 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
2960.. date: 8958
2961.. nonce: 78hPc2
2962.. section: Library
2963
2964improved tests for zipimporter2. Patch from Mark Lawrence.
2965
2966..
2967
2968.. bpo: 18622
2969.. date: 8957
2970.. 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
2979.. date: 8956
2980.. 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
2990.. date: 8955
2991.. 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
3000.. date: 8954
3001.. nonce: SA2hvu
3002.. section: Library
3003
3004Remove deprecated inspect.getmoduleinfo function.
3005
3006..
3007
3008.. bpo: 25578
3009.. date: 8953
3010.. nonce: G6S-ft
3011.. section: Library
3012
3013Fix (another) memory leak in SSLSocket.getpeercer().
3014
3015..
3016
3017.. bpo: 25530
3018.. date: 8952
3019.. nonce: hDFkwu
3020.. section: Library
3021
3022Disable the vulnerable SSLv3 protocol by default when creating
3023ssl.SSLContext.
3024
3025..
3026
3027.. bpo: 25569
3028.. date: 8951
3029.. nonce: CfvQjK
3030.. section: Library
3031
3032Fix memory leak in SSLSocket.getpeercert().
3033
3034..
3035
3036.. bpo: 25471
3037.. date: 8950
3038.. nonce: T0A02M
3039.. section: Library
3040
3041Sockets returned from accept() shouldn't appear to be nonblocking.
3042
3043..
3044
3045.. bpo: 25319
3046.. date: 8949
3047.. 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
3056.. date: 8948
3057.. 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
3065.. date: 8947
3066.. nonce: sclyvk
3067.. section: Library
3068
3069Add asyncio.StreamReader.readuntil() method. Patch by Марк Коренберг.
3070
3071..
3072
3073.. bpo: 25924
3074.. date: 8946
3075.. 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
3084.. date: 8945
3085.. 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
3094.. date: 8944
3095.. 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
3104.. date: 8943
3105.. nonce: UASyCC
3106.. section: Library
3107
3108Add loop.get_exception_handler method
3109
3110..
3111
3112.. bpo: 27041
3113.. date: 8942
3114.. nonce: p3893U
3115.. section: Library
3116
3117asyncio: Add loop.create_future method
3118
3119..
3120
3121.. bpo: 20640
3122.. date: 8941
3123.. nonce: PmI-G8
3124.. section: IDLE
3125
3126Add tests for idlelib.configHelpSourceEdit. Patch by Saimadhav Heblikar.
3127
3128..
3129
3130.. bpo: 0
3131.. date: 8940
3132.. 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
3141.. date: 8939
3142.. 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
3151.. date: 8938
3152.. 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
3162.. date: 8937
3163.. 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
3173.. date: 8936
3174.. 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
3188.. date: 8935
3189.. 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
3199.. date: 8934
3200.. 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
3209.. date: 8933
3210.. 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
3220.. date: 8932
3221.. 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
3231.. date: 8931
3232.. 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
3241.. date: 8930
3242.. 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
3255.. date: 8929
3256.. 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
3266.. date: 8928
3267.. 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
3276.. date: 8927
3277.. 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
3287.. date: 8926
3288.. 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
3297.. date: 8925
3298.. 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
3307.. date: 8924
3308.. 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
3316.. date: 8923
3317.. 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
3326.. date: 8922
3327.. nonce: -j_BV7
3328.. section: IDLE
3329
3330Enhance 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,
3334put the section header at the top of the screen.
3335
3336..
3337
3338.. bpo: 25225
3339.. date: 8921
3340.. nonce: 9pvdq6
3341.. section: IDLE
3342
3343Condense and rewrite Idle doc section on text colors.
3344
3345..
3346
3347.. bpo: 21995
3348.. date: 8920
3349.. nonce: C5Rmzx
3350.. section: IDLE
3351
3352Explain some differences between IDLE and console Python.
3353
3354..
3355
3356.. bpo: 22820
3357.. date: 8919
3358.. nonce: hix_8X
3359.. section: IDLE
3360
3361Explain need for *print* when running file from Idle editor.
3362
3363..
3364
3365.. bpo: 25224
3366.. date: 8918
3367.. nonce: UVMYQq
3368.. section: IDLE
3369
3370Doc: augment Idle feature list and no-subprocess section.
3371
3372..
3373
3374.. bpo: 25219
3375.. date: 8917
3376.. 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
3385.. date: 8916
3386.. 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
3395.. date: 8915
3396.. nonce: ih7yY3
3397.. section: IDLE
3398
3399Idle: add synchronization comments for future maintainers.
3400
3401..
3402
3403.. bpo: 16893
3404.. date: 8914
3405.. 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
3417.. date: 8913
3418.. nonce: VKnZEv
3419.. section: IDLE
3420
3421Deprecate unused idlelib.idlever with possible removal in 3.6.
3422
3423..
3424
3425.. bpo: 24790
3426.. date: 8912
3427.. nonce: hD1hlj
3428.. section: IDLE
3429
3430Remove extraneous code (which also create 2 & 3 conflicts).
3431
3432..
3433
3434.. bpo: 26736
3435.. date: 8911
3436.. nonce: U_Hyqo
3437.. section: Documentation
3438
3439Used HTTPS for external links in the documentation if possible.
3440
3441..
3442
3443.. bpo: 6953
3444.. date: 8910
3445.. 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
3455.. date: 8909
3456.. nonce: 9MhIso
3457.. section: Documentation
3458
3459Adds note to ctypes documentation regarding cdll.msvcrt.
3460
3461..
3462
3463.. bpo: 24952
3464.. date: 8908
3465.. 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
3474.. date: 8907
3475.. 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
3485.. date: 8906
3486.. 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
3495.. date: 8905
3496.. 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
3505.. date: 8904
3506.. nonce: em_Uzt
3507.. section: Tests
3508
3509The multiprocessing thread pool (multiprocessing.dummy.Pool) was untested.
3510
3511..
3512
3513.. bpo: 26015
3514.. date: 8903
3515.. nonce: p3oWK3
3516.. section: Tests
3517
3518Added new tests for pickling iterators of mutable sequences.
3519
3520..
3521
3522.. bpo: 26325
3523.. date: 8902
3524.. 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
3533.. date: 8901
3534.. 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
3543.. date: 8900
3544.. 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
3553.. date: 8899
3554.. nonce: MP6KNs
3555.. section: Tests
3556
3557Added tests for OrderedDict subclasses.
3558
3559..
3560
3561.. bpo: 25188
3562.. date: 8898
3563.. 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
3572.. date: 8897
3573.. nonce: _QHyyV
3574.. section: Tests
3575
3576Add ``python -m test --list-tests`` command to list tests.
3577
3578..
3579
3580.. bpo: 18174
3581.. date: 8896
3582.. 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
3591.. date: 8895
3592.. 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
3601.. date: 8894
3602.. 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
3611.. date: 8893
3612.. 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
3621.. date: 8892
3622.. nonce: 7y1j9a
3623.. section: Build
3624
3625Don't try to link _ctypes with a ffi_convenience library.
3626
3627..
3628
3629.. bpo: 26884
3630.. date: 8891
3631.. 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
3639.. date: 8890
3640.. 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
3649.. date: 8889
3650.. nonce: HDjM4s
3651.. section: Build
3652
3653Disable the rules for running _freeze_importlib and pgen when
3654cross-compiling.  The output of these programs is normally saved with the source
3655code anyway, and is still regenerated when doing a native build. Patch by
3656Xavier de Gaye.
3657
3658..
3659
3660.. bpo: 21668
3661.. date: 8888
3662.. 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
3671.. date: 8887
3672.. 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
3684.. date: 8886
3685.. nonce: 4fGrTl
3686.. section: Build
3687
3688Adds validation of ucrtbase[d].dll version with warning for old versions.
3689
3690..
3691
3692.. bpo: 17603
3693.. date: 8885
3694.. nonce: 102DA-
3695.. section: Build
3696
3697Avoid error about nonexistent fileblocks.o file by using a lower-level check
3698for st_blocks in struct stat.
3699
3700..
3701
3702.. bpo: 26079
3703.. date: 8884
3704.. 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
3712.. date: 8883
3713.. nonce: _YR608
3714.. section: Build
3715
3716Update Windows builds to use OpenSSL 1.0.2g.
3717
3718..
3719
3720.. bpo: 25348
3721.. date: 8882
3722.. 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
3732.. date: 8881
3733.. 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
3742.. date: 8880
3743.. nonce: 2R_wIv
3744.. section: Build
3745
3746Fix installation of Python on UNIX with make -j9.
3747
3748..
3749
3750.. bpo: 24986
3751.. date: 8879
3752.. 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
3761.. date: 8878
3762.. 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
3771.. date: 8877
3772.. 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
3781.. date: 8876
3782.. nonce: I3-YLh
3783.. section: Build
3784
3785Update Windows builds to use OpenSSL 1.0.2f.
3786
3787..
3788
3789.. bpo: 25136
3790.. date: 8875
3791.. nonce: Vi-fmO
3792.. section: Build
3793
3794Support Apple Xcode 7's new textual SDK stub libraries.
3795
3796..
3797
3798.. bpo: 24324
3799.. date: 8874
3800.. 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
3810.. date: 8873
3811.. nonce: 1IRbae
3812.. section: Windows
3813
3814Updates make_zip.py to correctly generate library ZIP file.
3815
3816..
3817
3818.. bpo: 26268
3819.. date: 8872
3820.. 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
3829.. date: 8871
3830.. nonce: wLxL2l
3831.. section: Windows
3832
3833bdist_wininst created binaries fail to start and find 32bit Python
3834
3835..
3836
3837.. bpo: 26073
3838.. date: 8870
3839.. nonce: XwWgHp
3840.. section: Windows
3841
3842Update the list of magic numbers in launcher
3843
3844..
3845
3846.. bpo: 26065
3847.. date: 8869
3848.. nonce: SkVLJp
3849.. section: Windows
3850
3851Excludes venv from library when generating embeddable distro.
3852
3853..
3854
3855.. bpo: 25022
3856.. date: 8868
3857.. nonce: vAt_zr
3858.. section: Windows
3859
3860Removed very outdated PC/example_nt/ directory.
3861
3862..
3863
3864.. bpo: 26799
3865.. date: 8867
3866.. 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
3876.. date: 8866
3877.. 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
3886.. date: 8865
3887.. 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
3896.. date: 8864
3897.. nonce: QJvVOi
3898.. section: Tools/Demos
3899
3900Fix variable name typo in Argument Clinic.
3901
3902..
3903
3904.. bpo: 25440
3905.. date: 8863
3906.. nonce: 5xhyGr
3907.. section: Tools/Demos
3908
3909Fix output of python-config --extension-suffix.
3910
3911..
3912
3913.. bpo: 25154
3914.. date: 8862
3915.. 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
3923.. date: 8861
3924.. 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
3934.. date: 8860
3935.. 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
3940TypeError on programmatical error in parsing format string.
3941