• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1.. bpo: 23722
2.. date: 9619
3.. nonce: C-8boi
4.. release date: 2016-09-12
5.. section: Core and Builtins
6
7The __class__ cell used by zero-argument super() is now initialized from
8type.__new__ rather than __build_class__, so class methods relying on that
9will now work correctly when called from metaclass methods during class
10creation. Patch by Martin Teichmann.
11
12..
13
14.. bpo: 25221
15.. date: 9618
16.. nonce: 9YbOxB
17.. section: Core and Builtins
18
19Fix corrupted result from PyLong_FromLong(0) when Python is compiled with
20NSMALLPOSINTS = 0.
21
22..
23
24.. bpo: 27080
25.. date: 9617
26.. nonce: Te4Tjb
27.. section: Core and Builtins
28
29Implement formatting support for :pep:`515`.  Initial patch by Chris Angelico.
30
31..
32
33.. bpo: 27199
34.. date: 9616
35.. nonce: GheADD
36.. section: Core and Builtins
37
38In tarfile, expose copyfileobj bufsize to improve throughput. Patch by Jason
39Fried.
40
41..
42
43.. bpo: 27948
44.. date: 9615
45.. nonce: Rpw5nq
46.. section: Core and Builtins
47
48In f-strings, only allow backslashes inside the braces (where the
49expressions are).  This is a breaking change from the 3.6 alpha releases,
50where backslashes are allowed anywhere in an f-string.  Also, require that
51expressions inside f-strings be enclosed within literal braces, and not
52escapes like ``f'\x7b"hi"\x7d'``.
53
54..
55
56.. bpo: 28046
57.. date: 9614
58.. nonce: liHxFW
59.. section: Core and Builtins
60
61Remove platform-specific directories from sys.path.
62
63..
64
65.. bpo: 28071
66.. date: 9613
67.. nonce: PffE44
68.. section: Core and Builtins
69
70Add early-out for differencing from an empty set.
71
72..
73
74.. bpo: 25758
75.. date: 9612
76.. nonce: yR-YTD
77.. section: Core and Builtins
78
79Prevents zipimport from unnecessarily encoding a filename (patch by Eryk
80Sun)
81
82..
83
84.. bpo: 25856
85.. date: 9611
86.. nonce: neCvXl
87.. section: Core and Builtins
88
89The __module__ attribute of extension classes and functions now is interned.
90This leads to more compact pickle data with protocol 4.
91
92..
93
94.. bpo: 27213
95.. date: 9610
96.. nonce: VCfkkp
97.. section: Core and Builtins
98
99Rework CALL_FUNCTION* opcodes to produce shorter and more efficient
100bytecode. Patch by Demur Rumed, design by Serhiy Storchaka, reviewed by
101Serhiy Storchaka and Victor Stinner.
102
103..
104
105.. bpo: 26331
106.. date: 9609
107.. nonce: TdJp8_
108.. section: Core and Builtins
109
110Implement tokenizing support for :pep:`515`. Patch by Georg Brandl.
111
112..
113
114.. bpo: 27999
115.. date: 9608
116.. nonce: 8aacQj
117.. section: Core and Builtins
118
119Make "global after use" a SyntaxError, and ditto for nonlocal. Patch by Ivan
120Levkivskyi.
121
122..
123
124.. bpo: 28003
125.. date: 9607
126.. nonce: noeoav
127.. section: Core and Builtins
128
129Implement :pep:`525` -- Asynchronous Generators.
130
131..
132
133.. bpo: 27985
134.. date: 9606
135.. nonce: 0ayJ5k
136.. section: Core and Builtins
137
138Implement :pep:`526` -- Syntax for Variable Annotations. Patch by Ivan
139Levkivskyi.
140
141..
142
143.. bpo: 26058
144.. date: 9605
145.. nonce: UR_ojv
146.. section: Core and Builtins
147
148Add a new private version to the builtin dict type, incremented at each
149dictionary creation and at each dictionary change. Implementation of the PEP
150509.
151
152..
153
154.. bpo: 27364
155.. date: 9604
156.. nonce: 8u_LoD
157.. section: Core and Builtins
158
159A backslash-character pair that is not a valid escape sequence now generates
160a DeprecationWarning.  Patch by Emanuel Barry.
161
162..
163
164.. bpo: 27350
165.. date: 9603
166.. nonce: aABzcL
167.. section: Core and Builtins
168
169`dict` implementation is changed like PyPy. It is more compact and preserves
170insertion order. (Concept developed by Raymond Hettinger and patch by Inada
171Naoki.)
172
173..
174
175.. bpo: 27911
176.. date: 9602
177.. nonce: 1eaHRd
178.. section: Core and Builtins
179
180Remove unnecessary error checks in ``exec_builtin_or_dynamic()``.
181
182..
183
184.. bpo: 27078
185.. date: 9601
186.. nonce: ZevPQR
187.. section: Core and Builtins
188
189Added BUILD_STRING opcode.  Optimized f-strings evaluation.
190
191..
192
193.. bpo: 17884
194.. date: 9600
195.. nonce: wGy0dr
196.. section: Core and Builtins
197
198Python now requires systems with inttypes.h and stdint.h
199
200..
201
202.. bpo: 27961
203.. date: 9599
204.. nonce: EYS8oe
205.. section: Core and Builtins
206
207Require platforms to support ``long long``. Python hasn't compiled without
208``long long`` for years, so this is basically a formality.
209
210..
211
212.. bpo: 27355
213.. date: 9598
214.. nonce: qdIpxm
215.. section: Core and Builtins
216
217Removed support for Windows CE.  It was never finished, and Windows CE is no
218longer a relevant platform for Python.
219
220..
221
222.. bpo: 0
223.. date: 9597
224.. nonce: rdhhVw
225.. section: Core and Builtins
226
227Implement :pep:`523`.
228
229..
230
231.. bpo: 27870
232.. date: 9596
233.. nonce: Y0u34u
234.. section: Core and Builtins
235
236A left shift of zero by a large integer no longer attempts to allocate large
237amounts of memory.
238
239..
240
241.. bpo: 25402
242.. date: 9595
243.. nonce: naeRHq
244.. section: Core and Builtins
245
246In int-to-decimal-string conversion, improve the estimate of the
247intermediate memory required, and remove an unnecessarily strict overflow
248check. Patch by Serhiy Storchaka.
249
250..
251
252.. bpo: 27214
253.. date: 9594
254.. nonce: CDh8S4
255.. section: Core and Builtins
256
257In long_invert, be more careful about modifying object returned by long_add,
258and remove an unnecessary check for small longs. Thanks Oren Milman for
259analysis and patch.
260
261..
262
263.. bpo: 27506
264.. date: 9593
265.. nonce: eK87PI
266.. section: Core and Builtins
267
268Support passing the bytes/bytearray.translate() "delete" argument by
269keyword.
270
271..
272
273.. bpo: 27812
274.. date: 9592
275.. nonce: sidcs8
276.. section: Core and Builtins
277
278Properly clear out a generator's frame's backreference to the generator to
279prevent crashes in frame.clear().
280
281..
282
283.. bpo: 27811
284.. date: 9591
285.. nonce: T4AuBo
286.. section: Core and Builtins
287
288Fix a crash when a coroutine that has not been awaited is finalized with
289warnings-as-errors enabled.
290
291..
292
293.. bpo: 27587
294.. date: 9590
295.. nonce: mbavY2
296.. section: Core and Builtins
297
298Fix another issue found by PVS-Studio: Null pointer check after use of 'def'
299in _PyState_AddModule(). Initial patch by Christian Heimes.
300
301..
302
303.. bpo: 27792
304.. date: 9589
305.. nonce: Np6_Hl
306.. section: Core and Builtins
307
308The modulo operation applied to ``bool`` and other ``int`` subclasses now
309always returns an ``int``. Previously the return type depended on the input
310values. Patch by Xiang Zhang.
311
312..
313
314.. bpo: 26984
315.. date: 9588
316.. nonce: 7--80J
317.. section: Core and Builtins
318
319int() now always returns an instance of exact int.
320
321..
322
323.. bpo: 25604
324.. date: 9587
325.. nonce: UkeHGy
326.. section: Core and Builtins
327
328Fix a minor bug in integer true division; this bug could potentially have
329caused off-by-one-ulp results on platforms with unreliable ldexp
330implementations.
331
332..
333
334.. bpo: 24254
335.. date: 9586
336.. nonce: 368r1U
337.. section: Core and Builtins
338
339Make class definition namespace ordered by default.
340
341..
342
343.. bpo: 27662
344.. date: 9585
345.. nonce: a8cBpq
346.. section: Core and Builtins
347
348Fix an overflow check in ``List_New``: the original code was checking
349against ``Py_SIZE_MAX`` instead of the correct upper bound of
350``Py_SSIZE_T_MAX``. Patch by Xiang Zhang.
351
352..
353
354.. bpo: 27782
355.. date: 9584
356.. nonce: C8OBQD
357.. section: Core and Builtins
358
359Multi-phase extension module import now correctly allows the ``m_methods``
360field to be used to add module level functions to instances of non-module
361types returned from ``Py_create_mod``. Patch by Xiang Zhang.
362
363..
364
365.. bpo: 27936
366.. date: 9583
367.. nonce: AdOann
368.. section: Core and Builtins
369
370The round() function accepted a second None argument for some types but not
371for others.  Fixed the inconsistency by accepting None for all numeric
372types.
373
374..
375
376.. bpo: 27487
377.. date: 9582
378.. nonce: jeTQNr
379.. section: Core and Builtins
380
381Warn if a submodule argument to "python -m" or runpy.run_module() is found
382in sys.modules after parent packages are imported, but before the submodule
383is executed.
384
385..
386
387.. bpo: 27157
388.. date: 9581
389.. nonce: Wf_eFE
390.. section: Core and Builtins
391
392Make only type() itself accept the one-argument form. Patch by Eryk Sun and
393Emanuel Barry.
394
395..
396
397.. bpo: 27558
398.. date: 9580
399.. nonce: VmltMh
400.. section: Core and Builtins
401
402Fix a SystemError in the implementation of "raise" statement. In a brand new
403thread, raise a RuntimeError since there is no active exception to reraise.
404Patch written by Xiang Zhang.
405
406..
407
408.. bpo: 28008
409.. date: 9579
410.. nonce: 0DdIrA
411.. section: Core and Builtins
412
413Implement :pep:`530` -- asynchronous comprehensions.
414
415..
416
417.. bpo: 27942
418.. date: 9578
419.. nonce: wCAkW5
420.. section: Core and Builtins
421
422Fix memory leak in codeobject.c
423
424..
425
426.. bpo: 28732
427.. date: 9577
428.. nonce: xkG8k7
429.. section: Library
430
431Fix crash in os.spawnv() with no elements in args
432
433..
434
435.. bpo: 28485
436.. date: 9576
437.. nonce: WuKqKh
438.. section: Library
439
440Always raise ValueError for negative compileall.compile_dir(workers=...)
441parameter, even when multithreading is unavailable.
442
443..
444
445.. bpo: 28037
446.. date: 9575
447.. nonce: -3u7zq
448.. section: Library
449
450Use sqlite3_get_autocommit() instead of setting Connection->inTransaction
451manually.
452
453..
454
455.. bpo: 25283
456.. date: 9574
457.. nonce: qwQDX2
458.. section: Library
459
460Attributes tm_gmtoff and tm_zone are now available on all platforms in the
461return values of time.localtime() and time.gmtime().
462
463..
464
465.. bpo: 24454
466.. date: 9573
467.. nonce: pUTKOA
468.. section: Library
469
470Regular expression match object groups are now accessible using __getitem__.
471"mo[x]" is equivalent to "mo.group(x)".
472
473..
474
475.. bpo: 10740
476.. date: 9572
477.. nonce: 8iGFan
478.. section: Library
479
480sqlite3 no longer implicitly commit an open transaction before DDL
481statements.
482
483..
484
485.. bpo: 17941
486.. date: 9571
487.. nonce: E9rm_o
488.. section: Library
489
490Add a *module* parameter to collections.namedtuple().
491
492..
493
494.. bpo: 22493
495.. date: 9570
496.. nonce: yDfUrj
497.. section: Library
498
499Inline flags now should be used only at the start of the regular expression.
500Deprecation warning is emitted if uses them in the middle of the regular
501expression.
502
503..
504
505.. bpo: 26885
506.. date: 9569
507.. nonce: TJ779X
508.. section: Library
509
510xmlrpc now supports unmarshalling additional data types used by Apache
511XML-RPC implementation for numerics and None.
512
513..
514
515.. bpo: 28070
516.. date: 9568
517.. nonce: Kot8Hu
518.. section: Library
519
520Fixed parsing inline verbose flag in regular expressions.
521
522..
523
524.. bpo: 19500
525.. date: 9567
526.. nonce: H7q5im
527.. section: Library
528
529Add client-side SSL session resumption to the ssl module.
530
531..
532
533.. bpo: 28022
534.. date: 9566
535.. nonce: 08kTMg
536.. section: Library
537
538Deprecate ssl-related arguments in favor of SSLContext. The deprecation
539include manual creation of SSLSocket and certfile/keyfile (or similar) in
540ftplib, httplib, imaplib, smtplib, poplib and urllib.
541
542..
543
544.. bpo: 28043
545.. date: 9565
546.. nonce: 588Oy3
547.. section: Library
548
549SSLContext has improved default settings: OP_NO_SSLv2, OP_NO_SSLv3,
550OP_NO_COMPRESSION, OP_CIPHER_SERVER_PREFERENCE, OP_SINGLE_DH_USE,
551OP_SINGLE_ECDH_USE and HIGH ciphers without MD5.
552
553..
554
555.. bpo: 24693
556.. date: 9564
557.. nonce: a63Shp
558.. section: Library
559
560Changed some RuntimeError's in the zipfile module to more appropriate types.
561Improved some error messages and debugging output.
562
563..
564
565.. bpo: 17909
566.. date: 9563
567.. nonce: SMNkt6
568.. section: Library
569
570``json.load`` and ``json.loads`` now support binary input encoded as UTF-8,
571UTF-16 or UTF-32. Patch by Serhiy Storchaka.
572
573..
574
575.. bpo: 27137
576.. date: 9562
577.. nonce: frjG8W
578.. section: Library
579
580the pure Python fallback implementation of ``functools.partial`` now matches
581the behaviour of its accelerated C counterpart for subclassing, pickling and
582text representation purposes. Patch by Emanuel Barry and Serhiy Storchaka.
583
584..
585
586.. bpo: 0
587.. date: 9561
588.. nonce: 81jNns
589.. section: Library
590
591Fix possible integer overflows and crashes in the mmap module with unusual
592usage patterns.
593
594..
595
596.. bpo: 1703178
597.. date: 9560
598.. nonce: meb49K
599.. section: Library
600
601Fix the ability to pass the --link-objects option to the distutils build_ext
602command.
603
604..
605
606.. bpo: 28019
607.. date: 9559
608.. nonce: KUhBaS
609.. section: Library
610
611itertools.count() no longer rounds non-integer step in range between 1.0 and
6122.0 to 1.
613
614..
615
616.. bpo: 18401
617.. date: 9558
618.. nonce: _12WDV
619.. section: Library
620
621Pdb now supports the 'readrc' keyword argument to control whether .pdbrc
622files should be read.  Patch by Martin Matusiak and Sam Kimbrel.
623
624..
625
626.. bpo: 25969
627.. date: 9557
628.. nonce: qSPkl-
629.. section: Library
630
631Update the lib2to3 grammar to handle the unpacking generalizations added in
6323.5.
633
634..
635
636.. bpo: 14977
637.. date: 9556
638.. nonce: 4MvALg
639.. section: Library
640
641mailcap now respects the order of the lines in the mailcap files ("first
642match"), as required by RFC 1542.  Patch by Michael Lazar.
643
644..
645
646.. bpo: 28082
647.. date: 9555
648.. nonce: EICw4d
649.. section: Library
650
651Convert re flag constants to IntFlag.
652
653..
654
655.. bpo: 28025
656.. date: 9554
657.. nonce: YxcZHY
658.. section: Library
659
660Convert all ssl module constants to IntEnum and IntFlags. SSLContext
661properties now return flags and enums.
662
663..
664
665.. bpo: 23591
666.. date: 9553
667.. nonce: 7gSXAN
668.. section: Library
669
670Add Flag, IntFlag, and auto() to enum module.
671
672..
673
674.. bpo: 433028
675.. date: 9552
676.. nonce: yGjT0q
677.. section: Library
678
679Added support of modifier spans in regular expressions.
680
681..
682
683.. bpo: 24594
684.. date: 9551
685.. nonce: 9CnFVS
686.. section: Library
687
688Validates persist parameter when opening MSI database
689
690..
691
692.. bpo: 17582
693.. date: 9550
694.. nonce: MXEHxQ
695.. section: Library
696
697xml.etree.ElementTree nows preserves whitespaces in attributes (Patch by
698Duane Griffin.  Reviewed and approved by Stefan Behnel.)
699
700..
701
702.. bpo: 28047
703.. date: 9549
704.. nonce: pDu3Fm
705.. section: Library
706
707Fixed calculation of line length used for the base64 CTE in the new email
708policies.
709
710..
711
712.. bpo: 27576
713.. date: 9548
714.. nonce: tqZxYv
715.. section: Library
716
717Fix call order in OrderedDict.__init__().
718
719..
720
721.. bpo: 0
722.. date: 9547
723.. nonce: cxHuUo
724.. section: Library
725
726email.generator.DecodedGenerator now supports the policy keyword.
727
728..
729
730.. bpo: 28027
731.. date: 9546
732.. nonce: v39s1z
733.. section: Library
734
735Remove undocumented modules from ``Lib/plat-*``: IN, CDROM, DLFCN, TYPES,
736CDIO, and STROPTS.
737
738..
739
740.. bpo: 27445
741.. date: 9545
742.. nonce: wOG0C0
743.. section: Library
744
745Don't pass str(_charset) to MIMEText.set_payload(). Patch by Claude Paroz.
746
747..
748
749.. bpo: 24277
750.. date: 9544
751.. nonce: OgDA28
752.. section: Library
753
754The new email API is no longer provisional, and the docs have been
755reorganized and rewritten to emphasize the new API.
756
757..
758
759.. bpo: 22450
760.. date: 9543
761.. nonce: T3Sn_J
762.. section: Library
763
764urllib now includes an ``Accept: */*`` header among the default headers.
765This makes the results of REST API requests more consistent and predictable
766especially when proxy servers are involved.
767
768..
769
770.. bpo: 0
771.. date: 9542
772.. nonce: PVZStR
773.. section: Library
774
775lib2to3.pgen3.driver.load_grammar() now creates a stable cache file between
776runs given the same Grammar.txt input regardless of the hash randomization
777setting.
778
779..
780
781.. bpo: 28005
782.. date: 9541
783.. nonce: oJLK1w
784.. section: Library
785
786Allow ImportErrors in encoding implementation to propagate.
787
788..
789
790.. bpo: 26667
791.. date: 9540
792.. nonce: hWs9wA
793.. section: Library
794
795Support path-like objects in importlib.util.
796
797..
798
799.. bpo: 27570
800.. date: 9539
801.. nonce: pU0Zie
802.. section: Library
803
804Avoid zero-length memcpy() etc calls with null source pointers in the
805"ctypes" and "array" modules.
806
807..
808
809.. bpo: 22233
810.. date: 9538
811.. nonce: uXSN0R
812.. section: Library
813
814Break email header lines *only* on the RFC specified CR and LF characters,
815not on arbitrary unicode line breaks.  This also fixes a bug in HTTP header
816parsing.
817
818..
819
820.. bpo: 27331
821.. date: 9537
822.. nonce: akOxfh
823.. section: Library
824
825The email.mime classes now all accept an optional policy keyword.
826
827..
828
829.. bpo: 27988
830.. date: 9536
831.. nonce: VfMzZH
832.. section: Library
833
834Fix email iter_attachments incorrect mutation of payload list.
835
836..
837
838.. bpo: 16113
839.. date: 9535
840.. nonce: jyKRxs
841.. section: Library
842
843Add SHA-3 and SHAKE support to hashlib module.
844
845..
846
847.. bpo: 0
848.. date: 9534
849.. nonce: j7npJi
850.. section: Library
851
852Eliminate a tautological-pointer-compare warning in _scproxy.c.
853
854..
855
856.. bpo: 27776
857.. date: 9533
858.. nonce: dOJcUU
859.. section: Library
860
861The :func:`os.urandom` function does now block on Linux 3.17 and newer until
862the system urandom entropy pool is initialized to increase the security.
863This change is part of the :pep:`524`.
864
865..
866
867.. bpo: 27778
868.. date: 9532
869.. nonce: gvbf3F
870.. section: Library
871
872Expose the Linux ``getrandom()`` syscall as a new :func:`os.getrandom`
873function. This change is part of the :pep:`524`.
874
875..
876
877.. bpo: 27691
878.. date: 9531
879.. nonce: TMYF5_
880.. section: Library
881
882Fix ssl module's parsing of GEN_RID subject alternative name fields in X.509
883certs.
884
885..
886
887.. bpo: 18844
888.. date: 9530
889.. nonce: OZnLOi
890.. section: Library
891
892Add random.choices().
893
894..
895
896.. bpo: 25761
897.. date: 9529
898.. nonce: qd--Ta
899.. section: Library
900
901Improved error reporting about truncated pickle data in C implementation of
902unpickler.  UnpicklingError is now raised instead of AttributeError and
903ValueError in some cases.
904
905..
906
907.. bpo: 26798
908.. date: 9528
909.. nonce: he58yl
910.. section: Library
911
912Add BLAKE2 (blake2b and blake2s) to hashlib.
913
914..
915
916.. bpo: 26032
917.. date: 9527
918.. nonce: v5ByZW
919.. section: Library
920
921Optimized globbing in pathlib by using os.scandir(); it is now about 1.5--4
922times faster.
923
924..
925
926.. bpo: 25596
927.. date: 9526
928.. nonce: TFtyjC
929.. section: Library
930
931Optimized glob() and iglob() functions in the glob module; they are now
932about 3--6 times faster.
933
934..
935
936.. bpo: 27928
937.. date: 9525
938.. nonce: vG2f6q
939.. section: Library
940
941Add scrypt (password-based key derivation function) to hashlib module
942(requires OpenSSL 1.1.0).
943
944..
945
946.. bpo: 27850
947.. date: 9524
948.. nonce: kIVQ0m
949.. section: Library
950
951Remove 3DES from ssl module's default cipher list to counter measure sweet32
952attack (CVE-2016-2183).
953
954..
955
956.. bpo: 27766
957.. date: 9523
958.. nonce: WI70Tc
959.. section: Library
960
961Add ChaCha20 Poly1305 to ssl module's default cipher list. (Required OpenSSL
9621.1.0 or LibreSSL).
963
964..
965
966.. bpo: 25387
967.. date: 9522
968.. nonce: -wsV59
969.. section: Library
970
971Check return value of winsound.MessageBeep.
972
973..
974
975.. bpo: 27866
976.. date: 9521
977.. nonce: FM3-BZ
978.. section: Library
979
980Add SSLContext.get_ciphers() method to get a list of all enabled ciphers.
981
982..
983
984.. bpo: 27744
985.. date: 9520
986.. nonce: 2cVMpG
987.. section: Library
988
989Add AF_ALG (Linux Kernel crypto) to socket module.
990
991..
992
993.. bpo: 26470
994.. date: 9519
995.. nonce: QGu_wo
996.. section: Library
997
998Port ssl and hashlib module to OpenSSL 1.1.0.
999
1000..
1001
1002.. bpo: 11620
1003.. date: 9518
1004.. nonce: JyL-Po
1005.. section: Library
1006
1007Fix support for SND_MEMORY in winsound.PlaySound.  Based on a patch by Tim
1008Lesher.
1009
1010..
1011
1012.. bpo: 11734
1013.. date: 9517
1014.. nonce: AQoy-q
1015.. section: Library
1016
1017Add support for IEEE 754 half-precision floats to the struct module. Based
1018on a patch by Eli Stevens.
1019
1020..
1021
1022.. bpo: 27919
1023.. date: 9516
1024.. nonce: NRqNEW
1025.. section: Library
1026
1027Deprecated ``extra_path`` distribution option in distutils packaging.
1028
1029..
1030
1031.. bpo: 23229
1032.. date: 9515
1033.. nonce: gXhSFh
1034.. section: Library
1035
1036Add new ``cmath`` constants: ``cmath.inf`` and ``cmath.nan`` to match
1037``math.inf`` and ``math.nan``, and also ``cmath.infj`` and ``cmath.nanj`` to
1038match the format used by complex repr.
1039
1040..
1041
1042.. bpo: 27842
1043.. date: 9514
1044.. nonce: qlhp0-
1045.. section: Library
1046
1047The csv.DictReader now returns rows of type OrderedDict. (Contributed by
1048Steve Holden.)
1049
1050..
1051
1052.. bpo: 0
1053.. date: 9513
1054.. nonce: 6TjEgz
1055.. section: Library
1056
1057Remove support for passing a file descriptor to os.access. It never worked
1058but previously didn't raise.
1059
1060..
1061
1062.. bpo: 12885
1063.. date: 9512
1064.. nonce: r-IV1g
1065.. section: Library
1066
1067Fix error when distutils encounters symlink.
1068
1069..
1070
1071.. bpo: 27881
1072.. date: 9511
1073.. nonce: fkETd9
1074.. section: Library
1075
1076Fixed possible bugs when setting sqlite3.Connection.isolation_level. Based
1077on patch by Xiang Zhang.
1078
1079..
1080
1081.. bpo: 27861
1082.. date: 9510
1083.. nonce: DBYuo9
1084.. section: Library
1085
1086Fixed a crash in sqlite3.Connection.cursor() when a factory creates not a
1087cursor.  Patch by Xiang Zhang.
1088
1089..
1090
1091.. bpo: 19884
1092.. date: 9509
1093.. nonce: MO8AWH
1094.. section: Library
1095
1096Avoid spurious output on OS X with Gnu Readline.
1097
1098..
1099
1100.. bpo: 27706
1101.. date: 9508
1102.. nonce: ZY67yu
1103.. section: Library
1104
1105Restore deterministic behavior of random.Random().seed() for string seeds
1106using seeding version 1.  Allows sequences of calls to random() to exactly
1107match those obtained in Python 2. Patch by Nofar Schnider.
1108
1109..
1110
1111.. bpo: 10513
1112.. date: 9507
1113.. nonce: tQIQD_
1114.. section: Library
1115
1116Fix a regression in Connection.commit().  Statements should not be reset
1117after a commit.
1118
1119..
1120
1121.. bpo: 12319
1122.. date: 9506
1123.. nonce: Wc4oUu
1124.. section: Library
1125
1126Chunked transfer encoding support added to http.client.HTTPConnection
1127requests.  The urllib.request.AbstractHTTPHandler class does not enforce a
1128Content-Length header any more.  If a HTTP request has a file or iterable
1129body, but no Content-Length header, the library now falls back to use
1130chunked transfer-encoding.
1131
1132..
1133
1134.. bpo: 0
1135.. date: 9505
1136.. nonce: cYraeH
1137.. section: Library
1138
1139A new version of typing.py from https://github.com/python/typing: -
1140Collection (only for 3.6) (Issue #27598) - Add FrozenSet to __all__
1141(upstream #261) - fix crash in _get_type_vars() (upstream #259) - Remove the
1142dict constraint in ForwardRef._eval_type (upstream #252)
1143
1144..
1145
1146.. bpo: 27832
1147.. date: 9504
1148.. nonce: hxh6_h
1149.. section: Library
1150
1151Make ``_normalize`` parameter to ``Fraction`` constructor keyword-only, so
1152that ``Fraction(2, 3, 4)`` now raises ``TypeError``.
1153
1154..
1155
1156.. bpo: 27539
1157.. date: 9503
1158.. nonce: S4L1cq
1159.. section: Library
1160
1161Fix unnormalised ``Fraction.__pow__`` result in the case of negative
1162exponent and negative base.
1163
1164..
1165
1166.. bpo: 21718
1167.. date: 9502
1168.. nonce: FUJd-7
1169.. section: Library
1170
1171cursor.description is now available for queries using CTEs.
1172
1173..
1174
1175.. bpo: 27819
1176.. date: 9501
1177.. nonce: -A_u1x
1178.. section: Library
1179
1180In distutils sdists, simply produce the "gztar" (gzipped tar format)
1181distributions on all platforms unless "formats" is supplied.
1182
1183..
1184
1185.. bpo: 2466
1186.. date: 9500
1187.. nonce: VRNlkg
1188.. section: Library
1189
1190posixpath.ismount now correctly recognizes mount points which the user does
1191not have permission to access.
1192
1193..
1194
1195.. bpo: 9998
1196.. date: 9499
1197.. nonce: SNIoPr
1198.. section: Library
1199
1200On Linux, ctypes.util.find_library now looks in LD_LIBRARY_PATH for shared
1201libraries.
1202
1203..
1204
1205.. bpo: 27573
1206.. date: 9498
1207.. nonce: yuXLnW
1208.. section: Library
1209
1210exit message for code.interact is now configurable.
1211
1212..
1213
1214.. bpo: 27930
1215.. date: 9497
1216.. nonce: BkOfSi
1217.. section: Library
1218
1219Improved behaviour of logging.handlers.QueueListener. Thanks to Paulo
1220Andrade and Petr Viktorin for the analysis and patch.
1221
1222..
1223
1224.. bpo: 6766
1225.. date: 9496
1226.. nonce: _zO4cV
1227.. section: Library
1228
1229Distributed reference counting added to multiprocessing to support nesting
1230of shared values / proxy objects.
1231
1232..
1233
1234.. bpo: 21201
1235.. date: 9495
1236.. nonce: wLCKiA
1237.. section: Library
1238
1239Improves readability of multiprocessing error message.  Thanks to Wojciech
1240Walczak for patch.
1241
1242..
1243
1244.. bpo: 0
1245.. date: 9494
1246.. nonce: hgCs-W
1247.. section: Library
1248
1249asyncio: Add set_protocol / get_protocol to Transports.
1250
1251..
1252
1253.. bpo: 27456
1254.. date: 9493
1255.. nonce: lI_IE7
1256.. section: Library
1257
1258asyncio: Set TCP_NODELAY by default.
1259
1260..
1261
1262.. bpo: 15308
1263.. date: 9492
1264.. nonce: zZxn8m
1265.. section: IDLE
1266
1267Add 'interrupt execution' (^C) to Shell menu. Patch by Roger Serwy, updated
1268by Bayard Randel.
1269
1270..
1271
1272.. bpo: 27922
1273.. date: 9491
1274.. nonce: UEtEv9
1275.. section: IDLE
1276
1277Stop IDLE tests from 'flashing' gui widgets on the screen.
1278
1279..
1280
1281.. bpo: 27891
1282.. date: 9490
1283.. nonce: 7W5cAj
1284.. section: IDLE
1285
1286Consistently group and sort imports within idlelib modules.
1287
1288..
1289
1290.. bpo: 17642
1291.. date: 9489
1292.. nonce: B0BNOB
1293.. section: IDLE
1294
1295add larger font sizes for classroom projection.
1296
1297..
1298
1299.. bpo: 0
1300.. date: 9488
1301.. nonce: zWZs6o
1302.. section: IDLE
1303
1304Add version to title of IDLE help window.
1305
1306..
1307
1308.. bpo: 25564
1309.. date: 9487
1310.. nonce: GN0p14
1311.. section: IDLE
1312
1313In section on IDLE -- console differences, mention that using exec means
1314that __builtins__ is defined for each statement.
1315
1316..
1317
1318.. bpo: 27821
1319.. date: 9486
1320.. nonce: Vzr42u
1321.. section: IDLE
1322
1323Fix 3.6.0a3 regression that prevented custom key sets from being selected
1324when no custom theme was defined.
1325
1326..
1327
1328.. bpo: 26900
1329.. date: 9485
1330.. nonce: 0erSIc
1331.. section: C API
1332
1333Excluded underscored names and other private API from limited API.
1334
1335..
1336
1337.. bpo: 26027
1338.. date: 9484
1339.. nonce: 5uVb7n
1340.. section: C API
1341
1342Add support for path-like objects in PyUnicode_FSConverter() &
1343PyUnicode_FSDecoder().
1344
1345..
1346
1347.. bpo: 27427
1348.. date: 9483
1349.. nonce: OGhkYQ
1350.. section: Tests
1351
1352Additional tests for the math module. Patch by Francisco Couzo.
1353
1354..
1355
1356.. bpo: 27953
1357.. date: 9482
1358.. nonce: oP3nuf
1359.. section: Tests
1360
1361Skip math and cmath tests that fail on OS X 10.4 due to a poor libm
1362implementation of tan.
1363
1364..
1365
1366.. bpo: 26040
1367.. date: 9481
1368.. nonce: RvSU5I
1369.. section: Tests
1370
1371Improve test_math and test_cmath coverage and rigour. Patch by Jeff Allen.
1372
1373..
1374
1375.. bpo: 27787
1376.. date: 9480
1377.. nonce: kf0YAt
1378.. section: Tests
1379
1380Call gc.collect() before checking each test for "dangling threads", since
1381the dangling threads are weak references.
1382
1383..
1384
1385.. bpo: 27566
1386.. date: 9479
1387.. nonce: xDWjEb
1388.. section: Build
1389
1390Fix clean target in freeze makefile (patch by Lisa Roach)
1391
1392..
1393
1394.. bpo: 27705
1395.. date: 9478
1396.. nonce: 8C2Ms3
1397.. section: Build
1398
1399Update message in validate_ucrtbase.py
1400
1401..
1402
1403.. bpo: 27976
1404.. date: 9477
1405.. nonce: z0CT-3
1406.. section: Build
1407
1408Deprecate building _ctypes with the bundled copy of libffi on non-OSX UNIX
1409platforms.
1410
1411..
1412
1413.. bpo: 27983
1414.. date: 9476
1415.. nonce: jL_1n8
1416.. section: Build
1417
1418Cause lack of llvm-profdata tool when using clang as required for PGO
1419linking to be a configure time error rather than make time when
1420``--with-optimizations`` is enabled.  Also improve our ability to find the
1421llvm-profdata tool on MacOS and some Linuxes.
1422
1423..
1424
1425.. bpo: 21590
1426.. date: 9475
1427.. nonce: haPolL
1428.. section: Build
1429
1430Support for DTrace and SystemTap probes.
1431
1432..
1433
1434.. bpo: 26307
1435.. date: 9474
1436.. nonce: Puk2rd
1437.. section: Build
1438
1439The profile-opt build now applies PGO to the built-in modules.
1440
1441..
1442
1443.. bpo: 26359
1444.. date: 9473
1445.. nonce: uxKCqR
1446.. section: Build
1447
1448Add the --with-optimizations flag to turn on LTO and PGO build support when
1449available.
1450
1451..
1452
1453.. bpo: 27917
1454.. date: 9472
1455.. nonce: 8V2esX
1456.. section: Build
1457
1458Set platform triplets for Android builds.
1459
1460..
1461
1462.. bpo: 25825
1463.. date: 9471
1464.. nonce: PwGiUI
1465.. section: Build
1466
1467Update references to the $(LIBPL) installation path on AIX. This path was
1468changed in 3.2a4.
1469
1470..
1471
1472.. bpo: 0
1473.. date: 9470
1474.. nonce: G27B6T
1475.. section: Build
1476
1477Update OS X installer to use SQLite 3.14.1 and XZ 5.2.2.
1478
1479..
1480
1481.. bpo: 21122
1482.. date: 9469
1483.. nonce: 98ovv8
1484.. section: Build
1485
1486Fix LTO builds on OS X.
1487
1488..
1489
1490.. bpo: 17128
1491.. date: 9468
1492.. nonce: jd3Cll
1493.. section: Build
1494
1495Build OS X installer with a private copy of OpenSSL. Also provide a sample
1496Install Certificates command script to install a set of root certificates
1497from the third-party certifi module.
1498
1499..
1500
1501.. bpo: 27952
1502.. date: 9467
1503.. nonce: WX9Ufc
1504.. section: Tools/Demos
1505
1506Get Tools/scripts/fixcid.py working with Python 3 and the current "re"
1507module, avoid invalid Python backslash escapes, and fix a bug parsing
1508escaped C quote signs.
1509
1510..
1511
1512.. bpo: 28065
1513.. date: 9466
1514.. nonce: TUW63o
1515.. section: Windows
1516
1517Update xz dependency to 5.2.2 and build it from source.
1518
1519..
1520
1521.. bpo: 25144
1522.. date: 9465
1523.. nonce: iUha52
1524.. section: Windows
1525
1526Ensures TargetDir is set before continuing with custom install.
1527
1528..
1529
1530.. bpo: 1602
1531.. date: 9464
1532.. nonce: 5Kowx0
1533.. section: Windows
1534
1535Windows console doesn't input or print Unicode (PEP 528)
1536
1537..
1538
1539.. bpo: 27781
1540.. date: 9463
1541.. nonce: 21eQH2
1542.. section: Windows
1543
1544Change file system encoding on Windows to UTF-8 (PEP 529)
1545
1546..
1547
1548.. bpo: 27731
1549.. date: 9462
1550.. nonce: U2HSrC
1551.. section: Windows
1552
1553Opt-out of MAX_PATH on Windows 10
1554
1555..
1556
1557.. bpo: 6135
1558.. date: 9461
1559.. nonce: pACuPJ
1560.. section: Windows
1561
1562Adds encoding and errors parameters to subprocess.
1563
1564..
1565
1566.. bpo: 27959
1567.. date: 9460
1568.. nonce: JamSoC
1569.. section: Windows
1570
1571Adds oem encoding, alias ansi to mbcs, move aliasmbcs to codec lookup.
1572
1573..
1574
1575.. bpo: 27982
1576.. date: 9459
1577.. nonce: xrUa9R
1578.. section: Windows
1579
1580The functions of the winsound module now accept keyword arguments.
1581
1582..
1583
1584.. bpo: 20366
1585.. date: 9458
1586.. nonce: s6b-ut
1587.. section: Windows
1588
1589Build full text search support into SQLite on Windows.
1590
1591..
1592
1593.. bpo: 27756
1594.. date: 9457
1595.. nonce: PDAoGy
1596.. section: Windows
1597
1598Adds new icons for Python files and processes on Windows. Designs by Cherry
1599Wang.
1600
1601..
1602
1603.. bpo: 27883
1604.. date: 9456
1605.. nonce: vyOnxj
1606.. section: Windows
1607
1608Update sqlite to 3.14.1.0 on Windows.
1609