2017-09-05 04:30:19 +08:00
|
|
|
.. bpo: 28128
|
2018-06-28 06:45:50 +08:00
|
|
|
.. date: 9744
|
2017-09-05 04:30:19 +08:00
|
|
|
.. nonce: Lc2sFu
|
|
|
|
.. release date: 2016-10-31
|
|
|
|
.. section: Core and Builtins
|
|
|
|
|
|
|
|
Deprecation warning for invalid str and byte escape sequences now prints
|
|
|
|
better information about where the error occurs. Patch by Serhiy Storchaka
|
|
|
|
and Eric Smith.
|
|
|
|
|
|
|
|
..
|
|
|
|
|
|
|
|
.. bpo: 28509
|
2018-06-28 06:45:50 +08:00
|
|
|
.. date: 9743
|
2017-09-05 04:30:19 +08:00
|
|
|
.. nonce: _Fa4Uq
|
|
|
|
.. section: Core and Builtins
|
|
|
|
|
|
|
|
dict.update() no longer allocate unnecessary large memory.
|
|
|
|
|
|
|
|
..
|
|
|
|
|
|
|
|
.. bpo: 28426
|
2018-06-28 06:45:50 +08:00
|
|
|
.. date: 9742
|
2017-09-05 04:30:19 +08:00
|
|
|
.. nonce: E_quyK
|
|
|
|
.. section: Core and Builtins
|
|
|
|
|
|
|
|
Fixed potential crash in PyUnicode_AsDecodedObject() in debug build.
|
|
|
|
|
|
|
|
..
|
|
|
|
|
|
|
|
.. bpo: 28517
|
2018-06-28 06:45:50 +08:00
|
|
|
.. date: 9741
|
2017-09-05 04:30:19 +08:00
|
|
|
.. nonce: ExPkm9
|
|
|
|
.. section: Core and Builtins
|
|
|
|
|
|
|
|
Fixed of-by-one error in the peephole optimizer that caused keeping
|
|
|
|
unreachable code.
|
|
|
|
|
|
|
|
..
|
|
|
|
|
|
|
|
.. bpo: 28214
|
2018-06-28 06:45:50 +08:00
|
|
|
.. date: 9740
|
2017-09-05 04:30:19 +08:00
|
|
|
.. nonce: 6ECJox
|
|
|
|
.. section: Core and Builtins
|
|
|
|
|
|
|
|
Improved exception reporting for problematic __set_name__ attributes.
|
|
|
|
|
|
|
|
..
|
|
|
|
|
|
|
|
.. bpo: 23782
|
2018-06-28 06:45:50 +08:00
|
|
|
.. date: 9739
|
2017-09-05 04:30:19 +08:00
|
|
|
.. nonce: lonDzj
|
|
|
|
.. section: Core and Builtins
|
|
|
|
|
|
|
|
Fixed possible memory leak in _PyTraceback_Add() and exception loss in
|
|
|
|
PyTraceBack_Here().
|
|
|
|
|
|
|
|
..
|
|
|
|
|
|
|
|
.. bpo: 28471
|
2018-06-28 06:45:50 +08:00
|
|
|
.. date: 9738
|
2017-09-05 04:30:19 +08:00
|
|
|
.. nonce: Vd5pv7
|
|
|
|
.. section: Core and Builtins
|
|
|
|
|
|
|
|
Fix "Python memory allocator called without holding the GIL" crash in
|
|
|
|
socket.setblocking.
|
|
|
|
|
|
|
|
..
|
|
|
|
|
|
|
|
.. bpo: 27517
|
2018-06-28 06:45:50 +08:00
|
|
|
.. date: 9737
|
2017-09-05 04:30:19 +08:00
|
|
|
.. nonce: 1CYM8A
|
|
|
|
.. section: Library
|
|
|
|
|
|
|
|
LZMA compressor and decompressor no longer raise exceptions if given empty
|
|
|
|
data twice. Patch by Benjamin Fogle.
|
|
|
|
|
|
|
|
..
|
|
|
|
|
|
|
|
.. bpo: 28549
|
2018-06-28 06:45:50 +08:00
|
|
|
.. date: 9736
|
2017-09-05 04:30:19 +08:00
|
|
|
.. nonce: ShnM2y
|
|
|
|
.. section: Library
|
|
|
|
|
|
|
|
Fixed segfault in curses's addch() with ncurses6.
|
|
|
|
|
|
|
|
..
|
|
|
|
|
|
|
|
.. bpo: 28449
|
2018-06-28 06:45:50 +08:00
|
|
|
.. date: 9735
|
2017-09-05 04:30:19 +08:00
|
|
|
.. nonce: 5JK6ES
|
|
|
|
.. section: Library
|
|
|
|
|
|
|
|
tarfile.open() with mode "r" or "r:" now tries to open a tar file with
|
|
|
|
compression before trying to open it without compression. Otherwise it had
|
|
|
|
50% chance failed with ignore_zeros=True.
|
|
|
|
|
|
|
|
..
|
|
|
|
|
|
|
|
.. bpo: 23262
|
2018-06-28 06:45:50 +08:00
|
|
|
.. date: 9734
|
2017-09-05 04:30:19 +08:00
|
|
|
.. nonce: 6EVB7N
|
|
|
|
.. section: Library
|
|
|
|
|
|
|
|
The webbrowser module now supports Firefox 36+ and derived browsers. Based
|
|
|
|
on patch by Oleg Broytman.
|
|
|
|
|
|
|
|
..
|
|
|
|
|
|
|
|
.. bpo: 27939
|
2018-06-28 06:45:50 +08:00
|
|
|
.. date: 9733
|
2017-09-05 04:30:19 +08:00
|
|
|
.. nonce: mTfADV
|
|
|
|
.. section: Library
|
|
|
|
|
|
|
|
Fixed bugs in tkinter.ttk.LabeledScale and tkinter.Scale caused by
|
|
|
|
representing the scale as float value internally in Tk. tkinter.IntVar now
|
|
|
|
works if float value is set to underlying Tk variable.
|
|
|
|
|
|
|
|
..
|
|
|
|
|
|
|
|
.. bpo: 18844
|
2018-06-28 06:45:50 +08:00
|
|
|
.. date: 9732
|
2017-09-05 04:30:19 +08:00
|
|
|
.. nonce: oif1-H
|
|
|
|
.. section: Library
|
|
|
|
|
|
|
|
The various ways of specifying weights for random.choices() now produce the
|
|
|
|
same result sequences.
|
|
|
|
|
|
|
|
..
|
|
|
|
|
|
|
|
.. bpo: 28255
|
2018-06-28 06:45:50 +08:00
|
|
|
.. date: 9731
|
2017-09-05 04:30:19 +08:00
|
|
|
.. nonce: _ZH4wm
|
|
|
|
.. section: Library
|
|
|
|
|
|
|
|
calendar.TextCalendar().prmonth() no longer prints a space at the start of
|
|
|
|
new line after printing a month's calendar. Patch by Xiang Zhang.
|
|
|
|
|
|
|
|
..
|
|
|
|
|
|
|
|
.. bpo: 20491
|
2018-06-28 06:45:50 +08:00
|
|
|
.. date: 9730
|
2017-09-05 04:30:19 +08:00
|
|
|
.. nonce: ObgnQ2
|
|
|
|
.. section: Library
|
|
|
|
|
|
|
|
The textwrap.TextWrapper class now honors non-breaking spaces. Based on
|
|
|
|
patch by Kaarle Ritvanen.
|
|
|
|
|
|
|
|
..
|
|
|
|
|
|
|
|
.. bpo: 28353
|
2018-06-28 06:45:50 +08:00
|
|
|
.. date: 9729
|
2017-09-05 04:30:19 +08:00
|
|
|
.. nonce: sKGbLL
|
|
|
|
.. section: Library
|
|
|
|
|
|
|
|
os.fwalk() no longer fails on broken links.
|
|
|
|
|
|
|
|
..
|
|
|
|
|
|
|
|
.. bpo: 28430
|
2018-06-28 06:45:50 +08:00
|
|
|
.. date: 9728
|
2017-09-05 04:30:19 +08:00
|
|
|
.. nonce: 4MiEYT
|
|
|
|
.. section: Library
|
|
|
|
|
|
|
|
Fix iterator of C implemented asyncio.Future doesn't accept non-None value
|
|
|
|
is passed to it.send(val).
|
|
|
|
|
|
|
|
..
|
|
|
|
|
|
|
|
.. bpo: 27025
|
2018-06-28 06:45:50 +08:00
|
|
|
.. date: 9727
|
2017-09-05 04:30:19 +08:00
|
|
|
.. nonce: foAViS
|
|
|
|
.. section: Library
|
|
|
|
|
|
|
|
Generated names for Tkinter widgets now start by the "!" prefix for
|
|
|
|
readability.
|
|
|
|
|
|
|
|
..
|
|
|
|
|
|
|
|
.. bpo: 25464
|
2018-06-28 06:45:50 +08:00
|
|
|
.. date: 9726
|
2017-09-05 04:30:19 +08:00
|
|
|
.. nonce: HDUTCu
|
|
|
|
.. section: Library
|
|
|
|
|
|
|
|
Fixed HList.header_exists() in tkinter.tix module by addin a workaround to
|
|
|
|
Tix library bug.
|
|
|
|
|
|
|
|
..
|
|
|
|
|
|
|
|
.. bpo: 28488
|
2018-06-28 06:45:50 +08:00
|
|
|
.. date: 9725
|
2017-09-05 04:30:19 +08:00
|
|
|
.. nonce: TgO112
|
|
|
|
.. section: Library
|
|
|
|
|
|
|
|
shutil.make_archive() no longer adds entry "./" to ZIP archive.
|
|
|
|
|
|
|
|
..
|
|
|
|
|
|
|
|
.. bpo: 25953
|
2018-06-28 06:45:50 +08:00
|
|
|
.. date: 9724
|
2017-09-05 04:30:19 +08:00
|
|
|
.. nonce: EKKJAQ
|
|
|
|
.. section: Library
|
|
|
|
|
|
|
|
re.sub() now raises an error for invalid numerical group reference in
|
|
|
|
replacement template even if the pattern is not found in the string. Error
|
|
|
|
message for invalid group reference now includes the group index and the
|
|
|
|
position of the reference. Based on patch by SilentGhost.
|
|
|
|
|
|
|
|
..
|
|
|
|
|
|
|
|
.. bpo: 18219
|
2018-06-28 06:45:50 +08:00
|
|
|
.. date: 9723
|
2017-09-05 04:30:19 +08:00
|
|
|
.. nonce: 1ANQN1
|
|
|
|
.. section: Library
|
|
|
|
|
|
|
|
Optimize csv.DictWriter for large number of columns. Patch by Mariatta
|
|
|
|
Wijaya.
|
|
|
|
|
|
|
|
..
|
|
|
|
|
|
|
|
.. bpo: 28448
|
2018-06-28 06:45:50 +08:00
|
|
|
.. date: 9722
|
2017-09-05 04:30:19 +08:00
|
|
|
.. nonce: 5bduWe
|
|
|
|
.. section: Library
|
|
|
|
|
|
|
|
Fix C implemented asyncio.Future didn't work on Windows.
|
|
|
|
|
|
|
|
..
|
|
|
|
|
|
|
|
.. bpo: 28480
|
2018-06-28 06:45:50 +08:00
|
|
|
.. date: 9721
|
2017-09-05 04:30:19 +08:00
|
|
|
.. nonce: 9lHw6m
|
|
|
|
.. section: Library
|
|
|
|
|
|
|
|
Fix error building socket module when multithreading is disabled.
|
|
|
|
|
|
|
|
..
|
|
|
|
|
|
|
|
.. bpo: 24452
|
2018-06-28 06:45:50 +08:00
|
|
|
.. date: 9720
|
2017-09-05 04:30:19 +08:00
|
|
|
.. nonce: m9Kyg3
|
|
|
|
.. section: Library
|
|
|
|
|
|
|
|
Make webbrowser support Chrome on Mac OS X.
|
|
|
|
|
|
|
|
..
|
|
|
|
|
|
|
|
.. bpo: 20766
|
2018-06-28 06:45:50 +08:00
|
|
|
.. date: 9719
|
2017-09-05 04:30:19 +08:00
|
|
|
.. nonce: 4kvCzx
|
|
|
|
.. section: Library
|
|
|
|
|
|
|
|
Fix references leaked by pdb in the handling of SIGINT handlers.
|
|
|
|
|
|
|
|
..
|
|
|
|
|
|
|
|
.. bpo: 28492
|
2018-06-28 06:45:50 +08:00
|
|
|
.. date: 9718
|
2017-09-05 04:30:19 +08:00
|
|
|
.. nonce: pFRLQE
|
|
|
|
.. section: Library
|
|
|
|
|
|
|
|
Fix how StopIteration exception is raised in _asyncio.Future.
|
|
|
|
|
|
|
|
..
|
|
|
|
|
|
|
|
.. bpo: 28500
|
2018-06-28 06:45:50 +08:00
|
|
|
.. date: 9717
|
2017-09-05 04:30:19 +08:00
|
|
|
.. nonce: NINKzZ
|
|
|
|
.. section: Library
|
|
|
|
|
|
|
|
Fix asyncio to handle async gens GC from another thread.
|
|
|
|
|
|
|
|
..
|
|
|
|
|
|
|
|
.. bpo: 26923
|
2018-06-28 06:45:50 +08:00
|
|
|
.. date: 9716
|
2017-09-05 04:30:19 +08:00
|
|
|
.. nonce: 8dh3AV
|
|
|
|
.. section: Library
|
|
|
|
|
|
|
|
Fix asyncio.Gather to refuse being cancelled once all children are done.
|
|
|
|
Patch by Johannes Ebke.
|
|
|
|
|
|
|
|
..
|
|
|
|
|
|
|
|
.. bpo: 26796
|
2018-06-28 06:45:50 +08:00
|
|
|
.. date: 9715
|
2017-09-05 04:30:19 +08:00
|
|
|
.. nonce: TZyAfJ
|
|
|
|
.. section: Library
|
|
|
|
|
|
|
|
Don't configure the number of workers for default threadpool executor.
|
|
|
|
Initial patch by Hans Lawrenz.
|
|
|
|
|
|
|
|
..
|
|
|
|
|
|
|
|
.. bpo: 28544
|
2018-06-28 06:45:50 +08:00
|
|
|
.. date: 9714
|
2017-09-05 04:30:19 +08:00
|
|
|
.. nonce: KD1oFP
|
|
|
|
.. section: Library
|
|
|
|
|
|
|
|
Implement asyncio.Task in C.
|
|
|
|
|
|
|
|
..
|
|
|
|
|
|
|
|
.. bpo: 28522
|
2018-06-28 06:45:50 +08:00
|
|
|
.. date: 9713
|
2017-09-05 04:30:19 +08:00
|
|
|
.. nonce: XHMQa7
|
|
|
|
.. section: Windows
|
|
|
|
|
|
|
|
Fixes mishandled buffer reallocation in getpathp.c
|
|
|
|
|
|
|
|
..
|
|
|
|
|
|
|
|
.. bpo: 28444
|
2018-06-28 06:45:50 +08:00
|
|
|
.. date: 9712
|
2017-09-05 04:30:19 +08:00
|
|
|
.. nonce: zkc9nT
|
|
|
|
.. section: Build
|
|
|
|
|
|
|
|
Fix missing extensions modules when cross compiling.
|
|
|
|
|
|
|
|
..
|
|
|
|
|
|
|
|
.. bpo: 28208
|
2018-06-28 06:45:50 +08:00
|
|
|
.. date: 9711
|
2017-09-05 04:30:19 +08:00
|
|
|
.. nonce: DtoP1i
|
|
|
|
.. section: Build
|
|
|
|
|
|
|
|
Update Windows build and OS X installers to use SQLite 3.14.2.
|
|
|
|
|
|
|
|
..
|
|
|
|
|
|
|
|
.. bpo: 28248
|
2018-06-28 06:45:50 +08:00
|
|
|
.. date: 9710
|
2017-09-05 04:30:19 +08:00
|
|
|
.. nonce: KY_-en
|
|
|
|
.. section: Build
|
|
|
|
|
|
|
|
Update Windows build and OS X installers to use OpenSSL 1.0.2j.
|
|
|
|
|
|
|
|
..
|
|
|
|
|
|
|
|
.. bpo: 26944
|
2018-06-28 06:45:50 +08:00
|
|
|
.. date: 9709
|
2017-09-05 04:30:19 +08:00
|
|
|
.. nonce: ChZ_BO
|
|
|
|
.. section: Tests
|
|
|
|
|
|
|
|
Fix test_posix for Android where 'id -G' is entirely wrong or missing the
|
|
|
|
effective gid.
|
|
|
|
|
|
|
|
..
|
|
|
|
|
|
|
|
.. bpo: 28409
|
2018-06-28 06:45:50 +08:00
|
|
|
.. date: 9708
|
2017-09-05 04:30:19 +08:00
|
|
|
.. nonce: Q2IlxJ
|
|
|
|
.. section: Tests
|
|
|
|
|
|
|
|
regrtest: fix the parser of command line arguments.
|