blob: 71a5c3ec595ba2f023bce52596b09c2e10a4d321 [file] [log] [blame]
Ned Deilyaee5df52018-06-27 18:45:50 -04001.. bpo: 33786
2.. date: 2018-06-06-23-24-40
3.. nonce: lBvT8z
4.. release date: 2018-06-11
5.. section: Core and Builtins
6
7Fix asynchronous generators to handle GeneratorExit in athrow() correctly
8
9..
10
11.. bpo: 30654
12.. date: 2018-05-28-12-28-53
13.. nonce: 9fDJye
14.. section: Core and Builtins
15
16Fixed reset of the SIGINT handler to SIG_DFL on interpreter shutdown even
17when there was a custom handler set previously. Patch by Philipp Kerling.
18
19..
20
21.. bpo: 33622
22.. date: 2018-05-23-20-46-14
23.. nonce: xPucO9
24.. section: Core and Builtins
25
26Fixed a leak when the garbage collector fails to add an object with the
27``__del__`` method or referenced by it into the :data:`gc.garbage` list.
28:c:func:`PyGC_Collect` can now be called when an exception is set and
29preserves it.
30
31..
32
33.. bpo: 31849
34.. date: 2018-05-14-11-00-00
35.. nonce: EmHaH4
36.. section: Core and Builtins
37
38Fix signed/unsigned comparison warning in pyhash.c.
39
40..
41
42.. bpo: 33391
43.. date: 2018-05-02-08-36-03
44.. nonce: z4a7rb
45.. section: Core and Builtins
46
47Fix a leak in set_symmetric_difference().
48
49..
50
51.. bpo: 28055
52.. date: 2018-04-25-20-44-42
53.. nonce: f49kfC
54.. section: Core and Builtins
55
56Fix unaligned accesses in siphash24(). Patch by Rolf Eike Beer.
57
58..
59
60.. bpo: 33231
61.. date: 2018-04-05-22-20-44
62.. nonce: 3Jmo0q
63.. section: Core and Builtins
64
65Fix potential memory leak in ``normalizestring()``.
66
67..
68
69.. bpo: 29922
70.. date: 2018-04-03-00-30-25
71.. nonce: CdLuMl
72.. section: Core and Builtins
73
74Improved error messages in 'async with' when ``__aenter__()`` or
75``__aexit__()`` return non-awaitable object.
76
77..
78
79.. bpo: 33199
80.. date: 2018-04-02-09-32-40
81.. nonce: TPnxQu
82.. section: Core and Builtins
83
84Fix ``ma_version_tag`` in dict implementation is uninitialized when copying
85from key-sharing dict.
86
87..
88
89.. bpo: 33041
90.. date: 2018-03-18-13-56-14
91.. nonce: XwPhI2
92.. section: Core and Builtins
93
94Fixed jumping when the function contains an ``async for`` loop.
95
96..
97
98.. bpo: 32282
99.. date: 2017-12-12-14-02-28
100.. nonce: xFVMTn
101.. section: Core and Builtins
102
103Fix an unnecessary ifdef in the include of VersionHelpers.h in socketmodule
104on Windows.
105
106..
107
108.. bpo: 21983
109.. date: 2017-10-02-21-02-14
110.. nonce: UoC319
111.. section: Core and Builtins
112
113Fix a crash in `ctypes.cast()` in case the type argument is a ctypes
114structured data type. Patch by Eryk Sun and Oren Milman.
115
116..
117
118.. bpo: 30167
119.. date: 2018-06-10-19-29-17
120.. nonce: G5EgC5
121.. section: Library
122
123Prevent site.main() exception if PYTHONSTARTUP is set. Patch by Steve Weber.
124
125..
126
127.. bpo: 33812
128.. date: 2018-06-10-13-26-02
129.. nonce: frGAOr
130.. section: Library
131
132Datetime instance d with non-None tzinfo, but with d.tzinfo.utcoffset(d)
133returning None is now treated as naive by the astimezone() method.
134
135..
136
137.. bpo: 30805
138.. date: 2018-06-08-17-34-16
139.. nonce: 3qCWa0
140.. section: Library
141
142Avoid race condition with debug logging
143
144..
145
146.. bpo: 33767
147.. date: 2018-06-03-22-41-59
148.. nonce: 2e82g3
149.. section: Library
150
151The concatenation (``+``) and repetition (``*``) sequence operations now
152raise :exc:`TypeError` instead of :exc:`SystemError` when performed on
153:class:`mmap.mmap` objects. Patch by Zackery Spytz.
154
155..
156
157.. bpo: 32684
158.. date: 2018-05-29-12-51-18
159.. nonce: ZEIism
160.. section: Library
161
162Fix gather to propagate cancellation of itself even with return_exceptions.
163
164..
165
166.. bpo: 33674
167.. date: 2018-05-28-22-49-59
168.. nonce: 6LFFj7
169.. section: Library
170
171Fix a race condition in SSLProtocol.connection_made() of asyncio.sslproto:
172start immediately the handshake instead of using call_soon(). Previously,
173data_received() could be called before the handshake started, causing the
174handshake to hang or fail.
175
176..
177
Ned Deilye76ac9d2018-06-28 04:18:35 -0400178.. bpo: 31647
Ned Deilyaee5df52018-06-27 18:45:50 -0400179.. date: 2018-05-28-18-40-26
180.. nonce: s4Fad3
181.. section: Library
182
183Fixed bug where calling write_eof() on a _SelectorSocketTransport after it's
184already closed raises AttributeError.
185
186..
187
188.. bpo: 33672
189.. date: 2018-05-28-17-45-06
190.. nonce: GM_Xm_
191.. section: Library
192
193Fix Task.__repr__ crash with Cython's bogus coroutines
194
195..
196
197.. bpo: 33469
198.. date: 2018-05-28-15-55-12
199.. nonce: hmXBpY
200.. section: Library
201
202Fix RuntimeError after closing loop that used run_in_executor
203
204..
205
206.. bpo: 11874
207.. date: 2018-05-23-00-26-27
208.. nonce: glK5iP
209.. section: Library
210
211Use a better regex when breaking usage into wrappable parts. Avoids bogus
212assertion errors from custom metavar strings.
213
214..
215
216.. bpo: 30877
217.. date: 2018-05-22-13-05-12
218.. nonce: JZEGjI
219.. section: Library
220
221Fixed a bug in the Python implementation of the JSON decoder that prevented
222the cache of parsed strings from clearing after finishing the decoding.
223Based on patch by c-fos.
224
225..
226
227.. bpo: 33548
228.. date: 2018-05-16-17-05-48
229.. nonce: xWslmx
230.. section: Library
231
232tempfile._candidate_tempdir_list should consider common TEMP locations
233
234..
235
236.. bpo: 33542
237.. date: 2018-05-16-09-30-27
238.. nonce: idNAcs
239.. section: Library
240
241Prevent ``uuid.get_node`` from using a DUID instead of a MAC on Windows.
242Patch by Zvi Effron
243
244..
245
246.. bpo: 26819
247.. date: 2018-05-16-05-24-43
248.. nonce: taxbVT
249.. section: Library
250
251Fix race condition with `ReadTransport.resume_reading` in Windows proactor
252event loop.
253
254..
255
256.. bpo: 28556
257.. date: 2018-05-10-14-51-19
258.. nonce: y3zK6I
259.. section: Library
260
261Minor fixes in typing module: add annotations to ``NamedTuple.__new__``,
262pass ``*args`` and ``**kwds`` in ``Generic.__new__``. Original PRs by
263Paulius Šarka and Chad Dombrova.
264
265..
266
267.. bpo: 20087
268.. date: 2018-05-05-18-02-24
269.. nonce: lJrvXL
270.. section: Library
271
272Updated alias mapping with glibc 2.27 supported locales.
273
274..
275
276.. bpo: 33422
277.. date: 2018-05-05-09-53-05
278.. nonce: 4FtQ0q
279.. section: Library
280
281Fix trailing quotation marks getting deleted when looking up byte/string
282literals on pydoc. Patch by Andrés Delfino.
283
284..
285
286.. bpo: 33197
287.. date: 2018-04-29-23-56-20
288.. nonce: dgRLqr
289.. section: Library
290
291Update error message when constructing invalid inspect.Parameters Patch by
292Dong-hee Na.
293
294..
295
296.. bpo: 33383
297.. date: 2018-04-29-11-15-38
298.. nonce: g32YWn
299.. section: Library
300
301Fixed crash in the get() method of the :mod:`dbm.ndbm` database object when
302it is called with a single argument.
303
304..
305
306.. bpo: 33329
307.. date: 2018-04-23-13-21-39
308.. nonce: lQ-Eod
309.. section: Library
310
311Fix multiprocessing regression on newer glibcs
312
313..
314
315.. bpo: 991266
316.. date: 2018-04-21-00-24-08
317.. nonce: h93TP_
318.. section: Library
319
320Fix quoting of the ``Comment`` attribute of
321:class:`http.cookies.SimpleCookie`.
322
323..
324
325.. bpo: 33131
326.. date: 2018-04-20-10-43-17
327.. nonce: L2E977
328.. section: Library
329
330Upgrade bundled version of pip to 10.0.1.
331
332..
333
334.. bpo: 33308
335.. date: 2018-04-18-19-12-25
336.. nonce: fW75xi
337.. section: Library
338
339Fixed a crash in the :mod:`parser` module when converting an ST object to a
340tree of tuples or lists with ``line_info=False`` and ``col_info=True``.
341
342..
343
344.. bpo: 33263
345.. date: 2018-04-11-20-29-19
346.. nonce: B56Hc1
347.. section: Library
348
349Fix FD leak in `_SelectorSocketTransport` Patch by Vlad Starostin.
350
351..
352
353.. bpo: 33256
354.. date: 2018-04-10-20-57-14
355.. nonce: ndHkqu
356.. section: Library
357
358Fix display of ``<module>`` call in the html produced by ``cgitb.html()``.
359Patch by Stéphane Blondon.
360
361..
362
363.. bpo: 33203
364.. date: 2018-04-05-11-09-45
365.. nonce: Hje9Py
366.. section: Library
367
368``random.Random.choice()`` now raises ``IndexError`` for empty sequences
369consistently even when called from subclasses without a ``getrandbits()``
370implementation.
371
372..
373
374.. bpo: 33224
375.. date: 2018-04-04-23-41-30
376.. nonce: pyR0jB
377.. section: Library
378
Stéphane Wirtel12e696b2018-10-27 00:58:26 +0200379Update difflib.mdiff() for :pep:`479`. Convert an uncaught StopIteration in a
Ned Deilyaee5df52018-06-27 18:45:50 -0400380generator into a return-statement.
381
382..
383
384.. bpo: 33209
385.. date: 2018-04-03-10-37-13
386.. nonce: 9sGWE_
387.. section: Library
388
389End framing at the end of C implementation of :func:`pickle.Pickler.dump`.
390
391..
392
393.. bpo: 32861
394.. date: 2018-04-02-20-44-54
395.. nonce: HeBjzN
396.. section: Library
397
398The urllib.robotparser's ``__str__`` representation now includes wildcard
399entries and the "Crawl-delay" and "Request-rate" fields. Patch by Michael
400Lazar.
401
402..
403
404.. bpo: 33096
405.. date: 2018-03-25-13-18-16
406.. nonce: ofdbe7
407.. section: Library
408
409Allow ttk.Treeview.insert to insert iid that has a false boolean value. Note
410iid=0 and iid=False would be same. Patch by Garvit Khatri.
411
412..
413
414.. bpo: 33127
415.. date: 2018-03-24-15-08-24
416.. nonce: olJmHv
417.. section: Library
418
419The ssl module now compiles with LibreSSL 2.7.1.
420
421..
422
423.. bpo: 33021
424.. date: 2018-03-12-00-27-56
425.. nonce: m19B9T
426.. section: Library
427
428Release the GIL during fstat() calls, avoiding hang of all threads when
429calling mmap.mmap(), os.urandom(), and random.seed(). Patch by Nir Soffer.
430
431..
432
433.. bpo: 27683
434.. date: 2018-03-07-22-28-17
435.. nonce: 572Rv4
436.. section: Library
437
438Fix a regression in :mod:`ipaddress` that result of :meth:`hosts` is empty
439when the network is constructed by a tuple containing an integer mask and
440only 1 bit left for addresses.
441
442..
443
444.. bpo: 32844
445.. date: 2018-02-28-13-08-00
446.. nonce: u8tnAe
447.. section: Library
448
449Fix wrong redirection of a low descriptor (0 or 1) to stderr in subprocess
450if another low descriptor is closed.
451
452..
453
454.. bpo: 31908
455.. date: 2017-10-31
456.. nonce: g4xh8x
457.. section: Library
458
459Fix output of cover files for ``trace`` module command-line tool. Previously
460emitted cover files only when ``--missing`` option was used. Patch by
461Michael Selik.
462
463..
464
465.. bpo: 31457
466.. date: 2017-10-18-19-05-17
467.. nonce: KlE6r8
468.. section: Library
469
470If nested log adapters are used, the inner ``process()`` methods are no
471longer omitted.
472
473..
474
475.. bpo: 16865
476.. date: 2017-09-29-16-40-38
477.. nonce: l-f6I_
478.. section: Library
479
480Support arrays >=2GiB in :mod:`ctypes`. Patch by Segev Finer.
481
482..
483
484.. bpo: 31238
485.. date: 2017-08-21-12-31-53
486.. nonce: Gg0LRH
487.. section: Library
488
489pydoc: the stop() method of the private ServerThread class now waits until
490DocServer.serve_until_quit() completes and then explicitly sets its
491docserver attribute to None to break a reference cycle.
492
493..
494
495.. bpo: 33503
496.. date: 2018-05-14-20-08-58
497.. nonce: Wvt0qg
498.. section: Documentation
499
500Fix broken pypi link
501
502..
503
504.. bpo: 33421
505.. date: 2018-05-14-15-23-51
506.. nonce: 3GU_QO
507.. section: Documentation
508
509Add missing documentation for ``typing.AsyncContextManager``.
510
511..
512
513.. bpo: 33378
514.. date: 2018-04-29-04-02-18
515.. nonce: -anAHN
516.. section: Documentation
517
518Add Korean language switcher for https://docs.python.org/3/
519
520..
521
522.. bpo: 33276
523.. date: 2018-04-20-14-09-36
524.. nonce: rA1z_3
525.. section: Documentation
526
527Clarify that the ``__path__`` attribute on modules cannot be just any value.
528
529..
530
531.. bpo: 33201
532.. date: 2018-04-01-21-03-41
533.. nonce: aa8Lkl
534.. section: Documentation
535
536Modernize documentation for writing C extension types.
537
538..
539
540.. bpo: 33195
541.. date: 2018-04-01-14-30-36
542.. nonce: dRS-XX
543.. section: Documentation
544
545Deprecate ``Py_UNICODE`` usage in ``c-api/arg`` document. ``Py_UNICODE``
546related APIs are deprecated since Python 3.3, but it is missed in the
547document.
548
549..
550
551.. bpo: 33126
552.. date: 2018-03-28-17-03-17
553.. nonce: 5UGkNv
554.. section: Documentation
555
556Document PyBuffer_ToContiguous().
557
558..
559
560.. bpo: 27212
561.. date: 2018-03-22-19-23-04
562.. nonce: wrE5KR
563.. section: Documentation
564
565Modify documentation for the :func:`islice` recipe to consume initial values
566up to the start index.
567
568..
569
570.. bpo: 28247
571.. date: 2018-03-20-20-11-05
572.. nonce: -V-WS-
573.. section: Documentation
574
575Update :mod:`zipapp` documentation to describe how to make standalone
576applications.
577
578..
579
580.. bpo: 18802
581.. date: 2018-03-11-18-53-47
582.. nonce: JhAqH3
583.. section: Documentation
584
585Documentation changes for ipaddress. Patch by Jon Foster and Berker Peksag.
586
587..
588
589.. bpo: 27428
590.. date: 2018-03-11-00-16-56
591.. nonce: B7A8FT
592.. section: Documentation
593
594Update documentation to clarify that ``WindowsRegistryFinder`` implements
595``MetaPathFinder``. (Patch by Himanshu Lakhara)
596
597..
598
599.. bpo: 8243
600.. date: 2018-01-13-20-30-53
601.. nonce: s98r28
602.. section: Documentation
603
604Add a note about curses.addch and curses.addstr exception behavior when
605writing outside a window, or pad.
606
607..
608
609.. bpo: 31432
610.. date: 2017-09-13-07-14-59
611.. nonce: yAY4Z3
612.. section: Documentation
613
614Clarify meaning of CERT_NONE, CERT_OPTIONAL, and CERT_REQUIRED flags for
615ssl.SSLContext.verify_mode.
616
617..
618
619.. bpo: 33655
620.. date: 2018-05-26-16-01-40
621.. nonce: Frb4LA
622.. section: Tests
623
624Ignore test_posix_fallocate failures on BSD platforms that might be due to
625running on ZFS.
626
627..
628
629.. bpo: 19417
630.. date: 2018-01-08-13-33-47
631.. nonce: 2asoXy
632.. section: Tests
633
634Add test_bdb.py.
635
636..
637
638.. bpo: 5755
639.. date: 2018-06-04-21-34-34
640.. nonce: 65GmCj
641.. section: Build
642
643Move ``-Wstrict-prototypes`` option to ``CFLAGS_NODIST`` from ``OPT``. This
644option emitted annoying warnings when building extension modules written in
645C++.
646
647..
648
649.. bpo: 33614
650.. date: 2018-05-28-11-40-22
651.. nonce: 28e0sE
652.. section: Build
653
654Ensures module definition files for the stable ABI on Windows are correctly
655regenerated.
656
657..
658
659.. bpo: 33522
660.. date: 2018-05-15-12-44-50
661.. nonce: mJoNcA
662.. section: Build
663
664Enable CI builds on Visual Studio Team Services at
665https://python.visualstudio.com/cpython
666
667..
668
669.. bpo: 33012
670.. date: 2018-05-10-21-10-01
671.. nonce: 5Zfjac
672.. section: Build
673
674Add ``-Wno-cast-function-type`` for gcc 8 for silencing warnings about
675function casts like casting to PyCFunction in method definition lists.
676
677..
678
679.. bpo: 33394
680.. date: 2018-04-30-17-36-46
681.. nonce: _Vdi4t
682.. section: Build
683
684Enable the verbose build for extension modules, when GNU make is passed
685macros on the command line.
686
687..
688
689.. bpo: 33184
690.. date: 2018-04-13-11-39-28
691.. nonce: aEohx0
692.. section: Windows
693
694Update Windows installer to OpenSSL 1.0.2o.
695
696..
697
698.. bpo: 33184
699.. date: 2018-04-07-00-58-50
700.. nonce: rMTiqu
701.. section: macOS
702
703Update macOS installer build to use OpenSSL 1.0.2o.
704
705..
706
707.. bpo: 33656
708.. date: 2018-06-10-17-59-36
709.. nonce: 60ZqJS
710.. section: IDLE
711
712On Windows, add API call saying that tk scales for DPI. On Windows 8.1+ or
71310, with DPI compatibility properties of the Python binary unchanged, and a
714monitor resolution greater than 96 DPI, this should make text and lines
715sharper. It should otherwise have no effect.
716
717..
718
719.. bpo: 33768
720.. date: 2018-06-04-19-23-11
721.. nonce: I_2qpV
722.. section: IDLE
723
724Clicking on a context line moves that line to the top of the editor window.
725
726..
727
728.. bpo: 33763
729.. date: 2018-06-03-20-12-57
730.. nonce: URiFlE
731.. section: IDLE
732
733IDLE: Use read-only text widget for code context instead of label widget.
734
735..
736
737.. bpo: 33664
738.. date: 2018-06-03-09-13-28
739.. nonce: PZzQyL
740.. section: IDLE
741
742Scroll IDLE editor text by lines. Previously, the mouse wheel and scrollbar
743slider moved text by a fixed number of pixels, resulting in partial lines at
744the top of the editor box. The change also applies to the shell and grep
745output windows, but not to read-only text views.
746
747..
748
749.. bpo: 33679
750.. date: 2018-05-29-07-14-37
751.. nonce: MgX_Ui
752.. section: IDLE
753
754Enable theme-specific color configuration for Code Context. Use the
755Highlights tab to see the setting for built-in themes or add settings to
756custom themes.
757
758..
759
760.. bpo: 33642
761.. date: 2018-05-24-20-42-44
762.. nonce: J0VQbS
763.. section: IDLE
764
765Display up to maxlines non-blank lines for Code Context. If there is no
766current context, show a single blank line.
767
768..
769
770.. bpo: 33628
771.. date: 2018-05-23-19-51-07
772.. nonce: sLlFLO
773.. section: IDLE
774
775IDLE: Cleanup codecontext.py and its test.
776
777..
778
779.. bpo: 33564
780.. date: 2018-05-17-19-41-12
781.. nonce: XzHZJe
782.. section: IDLE
783
784IDLE's code context now recognizes async as a block opener.
785
786..
787
788.. bpo: 29706
789.. date: 2018-05-15-17-01-10
790.. nonce: id4H5i
791.. section: IDLE
792
793IDLE now colors async and await as keywords in 3.6. They become full
794keywords in 3.7.
795
796..
797
798.. bpo: 21474
799.. date: 2018-04-29-16-13-02
800.. nonce: bglg-F
801.. section: IDLE
802
803Update word/identifier definition from ascii to unicode. In text and entry
804boxes, this affects selection by double-click, movement left/right by
805control-left/right, and deletion left/right by control-BACKSPACE/DEL.
806
807..
808
809.. bpo: 33204
810.. date: 2018-04-02-00-28-13
811.. nonce: NBsuIv
812.. section: IDLE
813
814IDLE: consistently color invalid string prefixes. A 'u' string prefix cannot
815be paired with either 'r' or 'f'. Consistently color as much of the prefix,
816starting at the right, as is valid. Revise and extend colorizer test.
817
818..
819
820.. bpo: 32831
821.. date: 2018-02-12-08-08-45
822.. nonce: srDRvU
823.. section: IDLE
824
825Add docstrings and tests for codecontext.
826
827..
828
829.. bpo: 33189
830.. date: 2018-04-03-18-10-00
831.. nonce: QrXR00
832.. section: Tools/Demos
833
834:program:`pygettext.py` now recognizes only literal strings as docstrings
835and translatable strings, and rejects bytes literals and f-string
836expressions.
837
838..
839
840.. bpo: 31920
841.. date: 2018-03-26-18-54-24
842.. nonce: u_WKsT
843.. section: Tools/Demos
844
845Fixed handling directories as arguments in the ``pygettext`` script. Based
846on patch by Oleg Krasnikov.
847
848..
849
850.. bpo: 29673
851.. date: 2018-03-16-17-25-05
852.. nonce: m8QtaW
853.. section: Tools/Demos
854
855Fix pystackv and pystack gdbinit macros.
856
857..
858
859.. bpo: 32885
860.. date: 2018-02-20-12-16-47
861.. nonce: dL5x7C
862.. section: Tools/Demos
863
Stéphane Wirtel683281f2018-10-06 16:35:53 +0200864Add an ``-n`` flag for ``Tools/scripts/pathfix.py`` to disable automatic
Ned Deilyaee5df52018-06-27 18:45:50 -0400865backup creation (files with ``~`` suffix).
866
867..
868
869.. bpo: 31583
870.. date: 2017-09-26-10-11-21
871.. nonce: TM90_H
872.. section: Tools/Demos
873
874Fix 2to3 for using with --add-suffix option but without --output-dir option
875for relative path to files in current directory.
876
877..
878
879.. bpo: 32374
880.. date: 2018-01-09-17-03-54
881.. nonce: SwwLoz
882.. section: C API
883
884Document that m_traverse for multi-phase initialized modules can be called
885with m_state=NULL, and add a sanity check