mirror of
https://github.com/python/cpython.git
synced 2025-09-30 12:21:51 +00:00
parent
39fde5f93b
commit
6a116c2aa4
43 changed files with 26440 additions and 8935 deletions
|
@ -325,4 +325,3 @@ whatsnew/3.5,,:warning,'WARNING:root:warning\n'
|
||||||
whatsnew/3.5,,::,>>> addr6 = ipaddress.IPv6Address('::1')
|
whatsnew/3.5,,::,>>> addr6 = ipaddress.IPv6Address('::1')
|
||||||
whatsnew/3.5,,:root,ERROR:root:exception
|
whatsnew/3.5,,:root,ERROR:root:exception
|
||||||
whatsnew/3.5,,:exception,ERROR:root:exception
|
whatsnew/3.5,,:exception,ERROR:root:exception
|
||||||
whatsnew/changelog,,:version,import sys; I = version[:version.index(' ')]
|
|
||||||
|
|
|
8
Misc/NEWS.d/3.5.0.rst
Normal file
8
Misc/NEWS.d/3.5.0.rst
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
.. bpo: 25071
|
||||||
|
.. date: 8265
|
||||||
|
.. nonce: EwjXl1
|
||||||
|
.. release date: 2015-09-13
|
||||||
|
.. section: Build
|
||||||
|
|
||||||
|
Windows installer should not require TargetDir parameter when installing
|
||||||
|
quietly.
|
5869
Misc/NEWS.d/3.5.0a1.rst
Normal file
5869
Misc/NEWS.d/3.5.0a1.rst
Normal file
File diff suppressed because it is too large
Load diff
406
Misc/NEWS.d/3.5.0a2.rst
Normal file
406
Misc/NEWS.d/3.5.0a2.rst
Normal file
|
@ -0,0 +1,406 @@
|
||||||
|
.. bpo: 23571
|
||||||
|
.. date: 7950
|
||||||
|
.. nonce: GTkAkq
|
||||||
|
.. release date: 2015-03-09
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
PyObject_Call() and PyCFunction_Call() now raise a SystemError if a function
|
||||||
|
returns a result and raises an exception. The SystemError is chained to the
|
||||||
|
previous exception.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 22524
|
||||||
|
.. date: 7949
|
||||||
|
.. nonce: Ks6_2x
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
New os.scandir() function, part of the PEP 471: "os.scandir() function -- a
|
||||||
|
better and faster directory iterator". Patch written by Ben Hoyt.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23103
|
||||||
|
.. date: 7948
|
||||||
|
.. nonce: I3RLIV
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Reduced the memory consumption of IPv4Address and IPv6Address.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 21793
|
||||||
|
.. date: 7947
|
||||||
|
.. nonce: GQtYMM
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
BaseHTTPRequestHandler again logs response code as numeric, not as
|
||||||
|
stringified enum. Patch by Demian Brecht.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23476
|
||||||
|
.. date: 7946
|
||||||
|
.. nonce: 82QV9I
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
In the ssl module, enable OpenSSL's X509_V_FLAG_TRUSTED_FIRST flag on
|
||||||
|
certificate stores when it is available.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23576
|
||||||
|
.. date: 7945
|
||||||
|
.. nonce: 98F-PP
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Avoid stalling in SSL reads when EOF has been reached in the SSL layer but
|
||||||
|
the underlying connection hasn't been closed.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23504
|
||||||
|
.. date: 7944
|
||||||
|
.. nonce: o31h5I
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Added an __all__ to the types module.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23563
|
||||||
|
.. date: 7943
|
||||||
|
.. nonce: iQB-ba
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Optimized utility functions in urllib.parse.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 7830
|
||||||
|
.. date: 7942
|
||||||
|
.. nonce: irvPdC
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Flatten nested functools.partial.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 20204
|
||||||
|
.. date: 7941
|
||||||
|
.. nonce: DorA4b
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Added the __module__ attribute to _tkinter classes.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 19980
|
||||||
|
.. date: 7940
|
||||||
|
.. nonce: whwzL_
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Improved help() for non-recognized strings. help('') now shows the help on
|
||||||
|
str. help('help') now shows the help on help(). Original patch by Mark
|
||||||
|
Lawrence.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23521
|
||||||
|
.. date: 7939
|
||||||
|
.. nonce: HvwFfd
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Corrected pure python implementation of timedelta division.
|
||||||
|
|
||||||
|
Eliminated OverflowError from ``timedelta * float`` for some floats;
|
||||||
|
Corrected rounding in timedlta true division.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 21619
|
||||||
|
.. date: 7938
|
||||||
|
.. nonce: uL0SZh
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Popen objects no longer leave a zombie after exit in the with statement if
|
||||||
|
the pipe was broken. Patch by Martin Panter.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 22936
|
||||||
|
.. date: 7937
|
||||||
|
.. nonce: JrhGYd
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Make it possible to show local variables in tracebacks for both the
|
||||||
|
traceback module and unittest.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 15955
|
||||||
|
.. date: 7936
|
||||||
|
.. nonce: _8nYPy
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Add an option to limit the output size in bz2.decompress(). Patch by
|
||||||
|
Nikolaus Rath.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 6639
|
||||||
|
.. date: 7935
|
||||||
|
.. nonce: rmjUmG
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Module-level turtle functions no longer raise TclError after closing the
|
||||||
|
window.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 814253
|
||||||
|
.. date: 7934
|
||||||
|
.. nonce: icZb-I
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Group references and conditional group references now work in lookbehind
|
||||||
|
assertions in regular expressions. (See also: bpo-9179)
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23215
|
||||||
|
.. date: 7933
|
||||||
|
.. nonce: VHVSVX
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Multibyte codecs with custom error handlers that ignores errors consumed too
|
||||||
|
much memory and raised SystemError or MemoryError. Original patch by Aleksi
|
||||||
|
Torhamo.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 5700
|
||||||
|
.. date: 7932
|
||||||
|
.. nonce: iA5yzL
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
io.FileIO() called flush() after closing the file. flush() was not called in
|
||||||
|
close() if closefd=False.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23374
|
||||||
|
.. date: 7931
|
||||||
|
.. nonce: 8A9LuZ
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fixed pydoc failure with non-ASCII files when stdout encoding differs from
|
||||||
|
file system encoding (e.g. on Mac OS).
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23481
|
||||||
|
.. date: 7930
|
||||||
|
.. nonce: ZWwliG
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Remove RC4 from the SSL module's default cipher list.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 21548
|
||||||
|
.. date: 7929
|
||||||
|
.. nonce: CmO_Yh
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix pydoc.synopsis() and pydoc.apropos() on modules with empty docstrings.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 22885
|
||||||
|
.. date: 7928
|
||||||
|
.. nonce: p8FnYk
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fixed arbitrary code execution vulnerability in the dbm.dumb module.
|
||||||
|
Original patch by Claudiu Popa.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23239
|
||||||
|
.. date: 7927
|
||||||
|
.. nonce: PGUq7T
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
ssl.match_hostname() now supports matching of IP addresses.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23146
|
||||||
|
.. date: 7926
|
||||||
|
.. nonce: PW-O3u
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix mishandling of absolute Windows paths with forward slashes in pathlib.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23096
|
||||||
|
.. date: 7925
|
||||||
|
.. nonce: Ftrmf3
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Pickle representation of floats with protocol 0 now is the same for both
|
||||||
|
Python and C implementations.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 19105
|
||||||
|
.. date: 7924
|
||||||
|
.. nonce: ZK07Ff
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
pprint now more efficiently uses free space at the right.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 14910
|
||||||
|
.. date: 7923
|
||||||
|
.. nonce: zueIhP
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Add allow_abbrev parameter to argparse.ArgumentParser. Patch by Jonathan
|
||||||
|
Paugh, Steven Bethard, paul j3 and Daniel Eriksson.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 21717
|
||||||
|
.. date: 7922
|
||||||
|
.. nonce: Knut81
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
tarfile.open() now supports 'x' (exclusive creation) mode.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23344
|
||||||
|
.. date: 7921
|
||||||
|
.. nonce: ieu8C1
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
marshal.dumps() is now 20-25% faster on average.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 20416
|
||||||
|
.. date: 7920
|
||||||
|
.. nonce: cwEgkL
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
marshal.dumps() with protocols 3 and 4 is now 40-50% faster on average.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23421
|
||||||
|
.. date: 7919
|
||||||
|
.. nonce: eckzoV
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fixed compression in tarfile CLI. Patch by wdv4758h.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23367
|
||||||
|
.. date: 7918
|
||||||
|
.. nonce: kHnFiz
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix possible overflows in the unicodedata module.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23361
|
||||||
|
.. date: 7917
|
||||||
|
.. nonce: I_w0-z
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix possible overflow in Windows subprocess creation code.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 0
|
||||||
|
.. date: 7916
|
||||||
|
.. nonce: sfmjTs
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
logging.handlers.QueueListener now takes a respect_handler_level keyword
|
||||||
|
argument which, if set to True, will pass messages to handlers taking
|
||||||
|
handler levels into account.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 19705
|
||||||
|
.. date: 7915
|
||||||
|
.. nonce: WLzTRV
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
turtledemo now has a visual sorting algorithm demo. Original patch from
|
||||||
|
Jason Yeo.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23801
|
||||||
|
.. date: 7914
|
||||||
|
.. nonce: jyJK3z
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix issue where cgi.FieldStorage did not always ignore the entire preamble
|
||||||
|
to a multipart body.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23445
|
||||||
|
.. date: 7913
|
||||||
|
.. nonce: 7fmkYO
|
||||||
|
.. section: Build
|
||||||
|
|
||||||
|
pydebug builds now use "gcc -Og" where possible, to make the resulting
|
||||||
|
executable faster.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23686
|
||||||
|
.. date: 7912
|
||||||
|
.. nonce: B7jDXY
|
||||||
|
.. section: Build
|
||||||
|
|
||||||
|
Update OS X 10.5 installer build to use OpenSSL 1.0.2a.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 20204
|
||||||
|
.. date: 7911
|
||||||
|
.. nonce: M_jcNK
|
||||||
|
.. section: C API
|
||||||
|
|
||||||
|
Deprecation warning is now raised for builtin types without the __module__
|
||||||
|
attribute.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23465
|
||||||
|
.. date: 7910
|
||||||
|
.. nonce: qBauCy
|
||||||
|
.. section: Windows
|
||||||
|
|
||||||
|
Implement PEP 486 - Make the Python Launcher aware of virtual environments.
|
||||||
|
Patch by Paul Moore.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23437
|
||||||
|
.. date: 7909
|
||||||
|
.. nonce: ro9X8r
|
||||||
|
.. section: Windows
|
||||||
|
|
||||||
|
Make user scripts directory versioned on Windows. Patch by Paul Moore.
|
518
Misc/NEWS.d/3.5.0a3.rst
Normal file
518
Misc/NEWS.d/3.5.0a3.rst
Normal file
|
@ -0,0 +1,518 @@
|
||||||
|
.. bpo: 23573
|
||||||
|
.. date: 8002
|
||||||
|
.. nonce: ZpM4D-
|
||||||
|
.. release date: 2015-03-28
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Increased performance of string search operations (str.find, str.index,
|
||||||
|
str.count, the in operator, str.split, str.partition) with arguments of
|
||||||
|
different kinds (UCS1, UCS2, UCS4).
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23753
|
||||||
|
.. date: 8001
|
||||||
|
.. nonce: CREjLC
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Python doesn't support anymore platforms without stat() or fstat(), these
|
||||||
|
functions are always required.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23681
|
||||||
|
.. date: 8000
|
||||||
|
.. nonce: kh02TF
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
The -b option now affects comparisons of bytes with int.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23632
|
||||||
|
.. date: 7999
|
||||||
|
.. nonce: UVdIZY
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Memoryviews now allow tuple indexing (including for multi-dimensional
|
||||||
|
memoryviews).
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23192
|
||||||
|
.. date: 7998
|
||||||
|
.. nonce: QKqdow
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fixed generator lambdas. Patch by Bruno Cauet.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23629
|
||||||
|
.. date: 7997
|
||||||
|
.. nonce: r9Mt2C
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fix the default __sizeof__ implementation for variable-sized objects.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 14260
|
||||||
|
.. date: 7996
|
||||||
|
.. nonce: b5M04V
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
The groupindex attribute of regular expression pattern object now is non-
|
||||||
|
modifiable mapping.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23792
|
||||||
|
.. date: 7995
|
||||||
|
.. nonce: Kfm9-f
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Ignore KeyboardInterrupt when the pydoc pager is active. This mimics the
|
||||||
|
behavior of the standard unix pagers, and prevents pipepager from shutting
|
||||||
|
down while the pager itself is still running.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23775
|
||||||
|
.. date: 7994
|
||||||
|
.. nonce: xKGrSQ
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
pprint() of OrderedDict now outputs the same representation as repr().
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23765
|
||||||
|
.. date: 7993
|
||||||
|
.. nonce: 2ta_C4
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Removed IsBadStringPtr calls in ctypes
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 22364
|
||||||
|
.. date: 7992
|
||||||
|
.. nonce: ejtoKl
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Improved some re error messages using regex for hints.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23742
|
||||||
|
.. date: 7991
|
||||||
|
.. nonce: _EkAIa
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
ntpath.expandvars() no longer loses unbalanced single quotes.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 21717
|
||||||
|
.. date: 7990
|
||||||
|
.. nonce: pKndpx
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
The zipfile.ZipFile.open function now supports 'x' (exclusive creation)
|
||||||
|
mode.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 21802
|
||||||
|
.. date: 7989
|
||||||
|
.. nonce: ygSM2A
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
The reader in BufferedRWPair now is closed even when closing writer failed
|
||||||
|
in BufferedRWPair.close().
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23622
|
||||||
|
.. date: 7988
|
||||||
|
.. nonce: 9-ZRqj
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Unknown escapes in regular expressions that consist of ``'\'`` and ASCII
|
||||||
|
letter now raise a deprecation warning and will be forbidden in Python 3.6.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23671
|
||||||
|
.. date: 7987
|
||||||
|
.. nonce: zWPm-a
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
string.Template now allows specifying the "self" parameter as a keyword
|
||||||
|
argument. string.Formatter now allows specifying the "self" and the
|
||||||
|
"format_string" parameters as keyword arguments.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23502
|
||||||
|
.. date: 7986
|
||||||
|
.. nonce: AH20IQ
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
The pprint module now supports mapping proxies.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 17530
|
||||||
|
.. date: 7985
|
||||||
|
.. nonce: PUp8rL
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
pprint now wraps long bytes objects and bytearrays.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 22687
|
||||||
|
.. date: 7984
|
||||||
|
.. nonce: zEJPd9
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fixed some corner cases in breaking words in tetxtwrap. Got rid of quadratic
|
||||||
|
complexity in breaking long words.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 4727
|
||||||
|
.. date: 7983
|
||||||
|
.. nonce: iDQSpi
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
The copy module now uses pickle protocol 4 (PEP 3154) and supports copying
|
||||||
|
of instances of classes whose __new__ method takes keyword-only arguments.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23491
|
||||||
|
.. date: 7982
|
||||||
|
.. nonce: P_WKrt
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Added a zipapp module to support creating executable zip file archives of
|
||||||
|
Python code. Registered ".pyz" and ".pyzw" extensions on Windows for these
|
||||||
|
archives (PEP 441).
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23657
|
||||||
|
.. date: 7981
|
||||||
|
.. nonce: y1OaV-
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Avoid explicit checks for str in zipapp, adding support for pathlib.Path
|
||||||
|
objects as arguments.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23688
|
||||||
|
.. date: 7980
|
||||||
|
.. nonce: d6LVy3
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Added support of arbitrary bytes-like objects and avoided unnecessary
|
||||||
|
copying of memoryview in gzip.GzipFile.write(). Original patch by Wolfgang
|
||||||
|
Maier.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23252
|
||||||
|
.. date: 7979
|
||||||
|
.. nonce: Goi18g
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Added support for writing ZIP files to unseekable streams.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23647
|
||||||
|
.. date: 7978
|
||||||
|
.. nonce: pX2qrx
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Increase impalib's MAXLINE to accommodate modern mailbox sizes.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23539
|
||||||
|
.. date: 7977
|
||||||
|
.. nonce: 5BVUim
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
If body is None, http.client.HTTPConnection.request now sets Content-Length
|
||||||
|
to 0 for PUT, POST, and PATCH headers to avoid 411 errors from some web
|
||||||
|
servers.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 22351
|
||||||
|
.. date: 7976
|
||||||
|
.. nonce: agB8Y3
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
The nntplib.NNTP constructor no longer leaves the connection and socket open
|
||||||
|
until the garbage collector cleans them up. Patch by Martin Panter.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23704
|
||||||
|
.. date: 7975
|
||||||
|
.. nonce: LTyyxL
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
collections.deque() objects now support methods for index(), insert(), and
|
||||||
|
copy(). This allows deques to be registered as a MutableSequence and it
|
||||||
|
improves their substitutability for lists.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23715
|
||||||
|
.. date: 7974
|
||||||
|
.. nonce: Yap3tU
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
:func:`signal.sigwaitinfo` and :func:`signal.sigtimedwait` are now retried
|
||||||
|
when interrupted by a signal not in the *sigset* parameter, if the signal
|
||||||
|
handler does not raise an exception. signal.sigtimedwait() recomputes the
|
||||||
|
timeout with a monotonic clock when it is retried.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23001
|
||||||
|
.. date: 7973
|
||||||
|
.. nonce: YSFnam
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Few functions in modules mmap, ossaudiodev, socket, ssl, and codecs, that
|
||||||
|
accepted only read-only bytes-like object now accept writable bytes-like
|
||||||
|
object too.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23646
|
||||||
|
.. date: 7972
|
||||||
|
.. nonce: Tljc1S
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
If time.sleep() is interrupted by a signal, the sleep is now retried with
|
||||||
|
the recomputed delay, except if the signal handler raises an exception (PEP
|
||||||
|
475).
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23136
|
||||||
|
.. date: 7971
|
||||||
|
.. nonce: 1bnpnb
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
_strptime now uniformly handles all days in week 0, including Dec 30 of
|
||||||
|
previous year. Based on patch by Jim Carroll.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23700
|
||||||
|
.. date: 7970
|
||||||
|
.. nonce: VfnWwi
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Iterator of NamedTemporaryFile now keeps a reference to NamedTemporaryFile
|
||||||
|
instance. Patch by Bohuslav Kabrda.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 22903
|
||||||
|
.. date: 7969
|
||||||
|
.. nonce: 2GjTHY
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
The fake test case created by unittest.loader when it fails importing a test
|
||||||
|
module is now picklable.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 22181
|
||||||
|
.. date: 7968
|
||||||
|
.. nonce: 7mnxea
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
On Linux, os.urandom() now uses the new getrandom() syscall if available,
|
||||||
|
syscall introduced in the Linux kernel 3.17. It is more reliable and more
|
||||||
|
secure, because it avoids the need of a file descriptor and waits until the
|
||||||
|
kernel has enough entropy.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 2211
|
||||||
|
.. date: 7967
|
||||||
|
.. nonce: 17Iz5U
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Updated the implementation of the http.cookies.Morsel class. Setting
|
||||||
|
attributes key, value and coded_value directly now is deprecated. update()
|
||||||
|
and setdefault() now transform and check keys. Comparing for equality now
|
||||||
|
takes into account attributes key, value and coded_value. copy() now returns
|
||||||
|
a Morsel, not a dict. repr() now contains all attributes. Optimized
|
||||||
|
checking keys and quoting values. Added new tests. Original patch by Demian
|
||||||
|
Brecht.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 18983
|
||||||
|
.. date: 7966
|
||||||
|
.. nonce: vF4i2S
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Allow selection of output units in timeit. Patch by Julian Gindi.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23631
|
||||||
|
.. date: 7965
|
||||||
|
.. nonce: GfSqNI
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix traceback.format_list when a traceback has been mutated.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23568
|
||||||
|
.. date: 7964
|
||||||
|
.. nonce: ffzJc7
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Add rdivmod support to MagicMock() objects. Patch by Håkan Lövdahl.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 2052
|
||||||
|
.. date: 7963
|
||||||
|
.. nonce: ujNgna
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Add charset parameter to HtmlDiff.make_file().
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23668
|
||||||
|
.. date: 7962
|
||||||
|
.. nonce: nF_jnN
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Support os.truncate and os.ftruncate on Windows.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23138
|
||||||
|
.. date: 7961
|
||||||
|
.. nonce: 4vMoMZ
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fixed parsing cookies with absent keys or values in cookiejar. Patch by
|
||||||
|
Demian Brecht.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23051
|
||||||
|
.. date: 7960
|
||||||
|
.. nonce: Vi5tCZ
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
multiprocessing.Pool methods imap() and imap_unordered() now handle
|
||||||
|
exceptions raised by an iterator. Patch by Alon Diamant and Davin Potts.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23581
|
||||||
|
.. date: 7959
|
||||||
|
.. nonce: D4Lknl
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Add matmul support to MagicMock. Patch by Håkan Lövdahl.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23566
|
||||||
|
.. date: 7958
|
||||||
|
.. nonce: F6LSyk
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
enable(), register(), dump_traceback() and dump_traceback_later() functions
|
||||||
|
of faulthandler now accept file descriptors. Patch by Wei Wu.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 22928
|
||||||
|
.. date: 7957
|
||||||
|
.. nonce: q2TmY0
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Disabled HTTP header injections in http.client. Original patch by Demian
|
||||||
|
Brecht.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23615
|
||||||
|
.. date: 7956
|
||||||
|
.. nonce: 5Kx9k5
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Modules bz2, tarfile and tokenize now can be reloaded with imp.reload().
|
||||||
|
Patch by Thomas Kluyver.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23605
|
||||||
|
.. date: 7955
|
||||||
|
.. nonce: JUOA_X
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
os.walk() now calls os.scandir() instead of os.listdir(). The usage of
|
||||||
|
os.scandir() reduces the number of calls to os.stat(). Initial patch written
|
||||||
|
by Ben Hoyt.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23585
|
||||||
|
.. date: 7954
|
||||||
|
.. nonce: DTIIoI
|
||||||
|
.. section: Build
|
||||||
|
|
||||||
|
make patchcheck will ensure the interpreter is built.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23583
|
||||||
|
.. date: 7953
|
||||||
|
.. nonce: bY8AbM
|
||||||
|
.. section: Tests
|
||||||
|
|
||||||
|
Added tests for standard IO streams in IDLE.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 22289
|
||||||
|
.. date: 7952
|
||||||
|
.. nonce: ybGcC-
|
||||||
|
.. section: Tests
|
||||||
|
|
||||||
|
Prevent test_urllib2net failures due to ftp connection timeout.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 22826
|
||||||
|
.. date: 7951
|
||||||
|
.. nonce: 3bcoDL
|
||||||
|
.. section: Tools/Demos
|
||||||
|
|
||||||
|
The result of open() in Tools/freeze/bkfile.py is now better compatible with
|
||||||
|
regular files (in particular it now supports the context management
|
||||||
|
protocol).
|
665
Misc/NEWS.d/3.5.0a4.rst
Normal file
665
Misc/NEWS.d/3.5.0a4.rst
Normal file
|
@ -0,0 +1,665 @@
|
||||||
|
.. bpo: 22980
|
||||||
|
.. date: 8069
|
||||||
|
.. nonce: Lu_y6y
|
||||||
|
.. release date: 2015-04-19
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Under Linux, GNU/KFreeBSD and the Hurd, C extensions now include the
|
||||||
|
architecture triplet in the extension name, to make it easy to test builds
|
||||||
|
for different ABIs in the same working tree. Under OS X, the extension name
|
||||||
|
now includes PEP 3149-style information.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 22631
|
||||||
|
.. date: 8068
|
||||||
|
.. nonce: nTx_ZF
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Added Linux-specific socket constant CAN_RAW_FD_FRAMES. Patch courtesy of
|
||||||
|
Joe Jevnik.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23731
|
||||||
|
.. date: 8067
|
||||||
|
.. nonce: FOXb37
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Implement PEP 488: removal of .pyo files.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23726
|
||||||
|
.. date: 8066
|
||||||
|
.. nonce: ZopTQ0
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Don't enable GC for user subclasses of non-GC types that don't add any new
|
||||||
|
fields. Patch by Eugene Toder.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23309
|
||||||
|
.. date: 8065
|
||||||
|
.. nonce: Wfnsnz
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Avoid a deadlock at shutdown if a daemon thread is aborted while it is
|
||||||
|
holding a lock to a buffered I/O object, and the main thread tries to use
|
||||||
|
the same I/O object (typically stdout or stderr). A fatal error is emitted
|
||||||
|
instead.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 22977
|
||||||
|
.. date: 8064
|
||||||
|
.. nonce: hutEse
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fixed formatting Windows error messages on Wine. Patch by Martin Panter.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23466
|
||||||
|
.. date: 8063
|
||||||
|
.. nonce: KhMltK
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
%c, %o, %x, and %X in bytes formatting now raise TypeError on non-integer
|
||||||
|
input.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24044
|
||||||
|
.. date: 8062
|
||||||
|
.. nonce: H7vb6-
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fix possible null pointer dereference in list.sort in out of memory
|
||||||
|
conditions.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 21354
|
||||||
|
.. date: 8061
|
||||||
|
.. nonce: ZZTe1E
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
PyCFunction_New function is exposed by python DLL again.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23840
|
||||||
|
.. date: 8060
|
||||||
|
.. nonce: mtSbqO
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
tokenize.open() now closes the temporary binary file on error to fix a
|
||||||
|
resource warning.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 16914
|
||||||
|
.. date: 8059
|
||||||
|
.. nonce: GrP2Jr
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
new debuglevel 2 in smtplib adds timestamps to debug output.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 7159
|
||||||
|
.. date: 8058
|
||||||
|
.. nonce: KCgOUm
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
urllib.request now supports sending auth credentials automatically after the
|
||||||
|
first 401. This enhancement is a superset of the enhancement from issue
|
||||||
|
#19494 and supersedes that change.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23703
|
||||||
|
.. date: 8057
|
||||||
|
.. nonce: kYybxm
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix a regression in urljoin() introduced in 901e4e52b20a. Patch by Demian
|
||||||
|
Brecht.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 4254
|
||||||
|
.. date: 8056
|
||||||
|
.. nonce: eUC_2H
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Adds _curses.update_lines_cols(). Patch by Arnon Yaari
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 19933
|
||||||
|
.. date: 8055
|
||||||
|
.. nonce: Qq8utk
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Provide default argument for ndigits in round. Patch by Vajrasky Kok.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23193
|
||||||
|
.. date: 8054
|
||||||
|
.. nonce: n5ahcG
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Add a numeric_owner parameter to tarfile.TarFile.extract and
|
||||||
|
tarfile.TarFile.extractall. Patch by Michael Vogt and Eric Smith.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23342
|
||||||
|
.. date: 8053
|
||||||
|
.. nonce: CbSzYI
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Add a subprocess.run() function than returns a CalledProcess instance for a
|
||||||
|
more consistent API than the existing call* functions.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 21217
|
||||||
|
.. date: 8052
|
||||||
|
.. nonce: TkFTlk
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
inspect.getsourcelines() now tries to compute the start and end lines from
|
||||||
|
the code object, fixing an issue when a lambda function is used as decorator
|
||||||
|
argument. Patch by Thomas Ballinger and Allison Kaptur.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24521
|
||||||
|
.. date: 8051
|
||||||
|
.. nonce: bn4U-y
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix possible integer overflows in the pickle module.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 22931
|
||||||
|
.. date: 8050
|
||||||
|
.. nonce: 4CuWYD
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Allow '[' and ']' in cookie values.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 0
|
||||||
|
.. date: 8049
|
||||||
|
.. nonce: fgX8Qe
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
The keywords attribute of functools.partial is now always a dictionary.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23811
|
||||||
|
.. date: 8048
|
||||||
|
.. nonce: B6tzf9
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Add missing newline to the PyCompileError error message. Patch by Alex
|
||||||
|
Shkop.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 21116
|
||||||
|
.. date: 8047
|
||||||
|
.. nonce: Orft3K
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Avoid blowing memory when allocating a multiprocessing shared array that's
|
||||||
|
larger than 50% of the available RAM. Patch by Médéric Boquien.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 22982
|
||||||
|
.. date: 8046
|
||||||
|
.. nonce: xYmG62
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Improve BOM handling when seeking to multiple positions of a writable text
|
||||||
|
file.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23464
|
||||||
|
.. date: 8045
|
||||||
|
.. nonce: _XGkBk
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Removed deprecated asyncio JoinableQueue.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23529
|
||||||
|
.. date: 8044
|
||||||
|
.. nonce: Hr7AHH
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Limit the size of decompressed data when reading from GzipFile, BZ2File or
|
||||||
|
LZMAFile. This defeats denial of service attacks using compressed bombs
|
||||||
|
(i.e. compressed payloads which decompress to a huge size). Patch by Martin
|
||||||
|
Panter and Nikolaus Rath.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 21859
|
||||||
|
.. date: 8043
|
||||||
|
.. nonce: GYrUNP
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Added Python implementation of io.FileIO.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23865
|
||||||
|
.. date: 8042
|
||||||
|
.. nonce: PtSLgU
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
close() methods in multiple modules now are idempotent and more robust at
|
||||||
|
shutdown. If they need to release multiple resources, all are released even
|
||||||
|
if errors occur.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23400
|
||||||
|
.. date: 8041
|
||||||
|
.. nonce: JSh9Z3
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Raise same exception on both Python 2 and 3 if sem_open is not available.
|
||||||
|
Patch by Davin Potts.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 10838
|
||||||
|
.. date: 8040
|
||||||
|
.. nonce: p9tSPC
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
The subprocess now module includes SubprocessError and TimeoutError in its
|
||||||
|
list of exported names for the users wild enough to use ``from subprocess
|
||||||
|
import *``.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23411
|
||||||
|
.. date: 8039
|
||||||
|
.. nonce: 0im3Qw
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Added DefragResult, ParseResult, SplitResult, DefragResultBytes,
|
||||||
|
ParseResultBytes, and SplitResultBytes to urllib.parse.__all__. Patch by
|
||||||
|
Martin Panter.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23881
|
||||||
|
.. date: 8038
|
||||||
|
.. nonce: yZjl4b
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
urllib.request.ftpwrapper constructor now closes the socket if the FTP
|
||||||
|
connection failed to fix a ResourceWarning.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23853
|
||||||
|
.. date: 8037
|
||||||
|
.. nonce: mNY1eI
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
:meth:`socket.socket.sendall` does no more reset the socket timeout each
|
||||||
|
time data is sent successfully. The socket timeout is now the maximum total
|
||||||
|
duration to send all data.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 22721
|
||||||
|
.. date: 8036
|
||||||
|
.. nonce: MVfBL9
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
An order of multiline pprint output of set or dict containing orderable and
|
||||||
|
non-orderable elements no longer depends on iteration order of set or dict.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 15133
|
||||||
|
.. date: 8035
|
||||||
|
.. nonce: C0QfV8
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
_tkinter.tkapp.getboolean() now supports Tcl_Obj and always returns bool.
|
||||||
|
tkinter.BooleanVar now validates input values (accepted bool, int, str, and
|
||||||
|
Tcl_Obj). tkinter.BooleanVar.get() now always returns bool.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 10590
|
||||||
|
.. date: 8034
|
||||||
|
.. nonce: nkxXfU
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
xml.sax.parseString() now supports string argument.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23338
|
||||||
|
.. date: 8033
|
||||||
|
.. nonce: ZYMGN1
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fixed formatting ctypes error messages on Cygwin. Patch by Makoto Kato.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 15582
|
||||||
|
.. date: 8032
|
||||||
|
.. nonce: 26wJNk
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
inspect.getdoc() now follows inheritance chains.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 2175
|
||||||
|
.. date: 8031
|
||||||
|
.. nonce: cHiVOp
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
SAX parsers now support a character stream of InputSource object.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 16840
|
||||||
|
.. date: 8030
|
||||||
|
.. nonce: kKIhPm
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Tkinter now supports 64-bit integers added in Tcl 8.4 and arbitrary
|
||||||
|
precision integers added in Tcl 8.5.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23834
|
||||||
|
.. date: 8029
|
||||||
|
.. nonce: fX3TF4
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix socket.sendto(), use the C Py_ssize_t type to store the result of
|
||||||
|
sendto() instead of the C int type.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23618
|
||||||
|
.. date: 8028
|
||||||
|
.. nonce: Of_q5t
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
:meth:`socket.socket.connect` now waits until the connection completes
|
||||||
|
instead of raising :exc:`InterruptedError` if the connection is interrupted
|
||||||
|
by signals, signal handlers don't raise an exception and the socket is
|
||||||
|
blocking or has a timeout. :meth:`socket.socket.connect` still raise
|
||||||
|
:exc:`InterruptedError` for non-blocking sockets.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 21526
|
||||||
|
.. date: 8027
|
||||||
|
.. nonce: QQEXrR
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Tkinter now supports new boolean type in Tcl 8.5.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23836
|
||||||
|
.. date: 8026
|
||||||
|
.. nonce: zrEmlR
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix the faulthandler module to handle reentrant calls to its signal
|
||||||
|
handlers.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23838
|
||||||
|
.. date: 8025
|
||||||
|
.. nonce: IX6FPX
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
linecache now clears the cache and returns an empty result on MemoryError.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 10395
|
||||||
|
.. date: 8024
|
||||||
|
.. nonce: fi_lZp
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Added os.path.commonpath(). Implemented in posixpath and ntpath. Based on
|
||||||
|
patch by Rafik Draoui.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23611
|
||||||
|
.. date: 8023
|
||||||
|
.. nonce: QkBJVB
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Serializing more "lookupable" objects (such as unbound methods or nested
|
||||||
|
classes) now are supported with pickle protocols < 4.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 13583
|
||||||
|
.. date: 8022
|
||||||
|
.. nonce: -MPBjZ
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
sqlite3.Row now supports slice indexing.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 18473
|
||||||
|
.. date: 8021
|
||||||
|
.. nonce: 89RHm-
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fixed 2to3 and 3to2 compatible pickle mappings. Fixed ambigious reverse
|
||||||
|
mappings. Added many new mappings. Import mapping is no longer applied to
|
||||||
|
modules already mapped with full name mapping.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23485
|
||||||
|
.. date: 8020
|
||||||
|
.. nonce: kQWN6L
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
select.select() is now retried automatically with the recomputed timeout
|
||||||
|
when interrupted by a signal, except if the signal handler raises an
|
||||||
|
exception. This change is part of the PEP 475.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23752
|
||||||
|
.. date: 8019
|
||||||
|
.. nonce: 5fbVNb
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
When built from an existing file descriptor, io.FileIO() now only calls
|
||||||
|
fstat() once. Before fstat() was called twice, which was not necessary.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23704
|
||||||
|
.. date: 8018
|
||||||
|
.. nonce: Ggjvm8
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
collections.deque() objects now support __add__, __mul__, and __imul__().
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23171
|
||||||
|
.. date: 8017
|
||||||
|
.. nonce: b6PBzM
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
csv.Writer.writerow() now supports arbitrary iterables.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23745
|
||||||
|
.. date: 8016
|
||||||
|
.. nonce: E00Bml
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
The new email header parser now handles duplicate MIME parameter names
|
||||||
|
without error, similar to how get_param behaves.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 22117
|
||||||
|
.. date: 8015
|
||||||
|
.. nonce: bTO0xx
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix os.utime(), it now rounds the timestamp towards minus infinity (-inf)
|
||||||
|
instead of rounding towards zero.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23310
|
||||||
|
.. date: 8014
|
||||||
|
.. nonce: GXmFMR
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix MagicMock's initializer to work with __methods__, just like
|
||||||
|
configure_mock(). Patch by Kasia Jachim.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23817
|
||||||
|
.. date: 8013
|
||||||
|
.. nonce: DTmVan
|
||||||
|
.. section: Build
|
||||||
|
|
||||||
|
FreeBSD now uses "1.0" in the SOVERSION as other operating systems, instead
|
||||||
|
of just "1".
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23501
|
||||||
|
.. date: 8012
|
||||||
|
.. nonce: iz10e6
|
||||||
|
.. section: Build
|
||||||
|
|
||||||
|
Argument Clinic now generates code into separate files by default.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23799
|
||||||
|
.. date: 8011
|
||||||
|
.. nonce: XU2xDw
|
||||||
|
.. section: Tests
|
||||||
|
|
||||||
|
Added test.support.start_threads() for running and cleaning up multiple
|
||||||
|
threads.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 22390
|
||||||
|
.. date: 8010
|
||||||
|
.. nonce: UPVFnq
|
||||||
|
.. section: Tests
|
||||||
|
|
||||||
|
test.regrtest now emits a warning if temporary files or directories are left
|
||||||
|
after running a test.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 18128
|
||||||
|
.. date: 8009
|
||||||
|
.. nonce: lx2V5a
|
||||||
|
.. section: Tools/Demos
|
||||||
|
|
||||||
|
pygettext now uses standard +NNNN format in the POT-Creation-Date header.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23935
|
||||||
|
.. date: 8008
|
||||||
|
.. nonce: JSYowT
|
||||||
|
.. section: Tools/Demos
|
||||||
|
|
||||||
|
Argument Clinic's understanding of format units accepting bytes, bytearrays,
|
||||||
|
and buffers is now consistent with both the documentation and the
|
||||||
|
implementation.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23944
|
||||||
|
.. date: 8007
|
||||||
|
.. nonce: Q8ZL2s
|
||||||
|
.. section: Tools/Demos
|
||||||
|
|
||||||
|
Argument Clinic now wraps long impl prototypes at column 78.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 20586
|
||||||
|
.. date: 8006
|
||||||
|
.. nonce: 7BiEkx
|
||||||
|
.. section: Tools/Demos
|
||||||
|
|
||||||
|
Argument Clinic now ensures that functions without docstrings have
|
||||||
|
signatures.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23492
|
||||||
|
.. date: 8005
|
||||||
|
.. nonce: kjIcQW
|
||||||
|
.. section: Tools/Demos
|
||||||
|
|
||||||
|
Argument Clinic now generates argument parsing code with PyArg_Parse instead
|
||||||
|
of PyArg_ParseTuple if possible.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23500
|
||||||
|
.. date: 8004
|
||||||
|
.. nonce: H6_dX_
|
||||||
|
.. section: Tools/Demos
|
||||||
|
|
||||||
|
Argument Clinic is now smarter about generating the "#ifndef" (empty)
|
||||||
|
definition of the methoddef macro: it's only generated once, even if
|
||||||
|
Argument Clinic processes the same symbol multiple times, and it's emitted
|
||||||
|
at the end of all processing rather than immediately after the first use.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23998
|
||||||
|
.. date: 8003
|
||||||
|
.. nonce: z7mlLW
|
||||||
|
.. section: C API
|
||||||
|
|
||||||
|
PyImport_ReInitLock() now checks for lock allocation error
|
848
Misc/NEWS.d/3.5.0b1.rst
Normal file
848
Misc/NEWS.d/3.5.0b1.rst
Normal file
|
@ -0,0 +1,848 @@
|
||||||
|
.. bpo: 24276
|
||||||
|
.. date: 8157
|
||||||
|
.. nonce: awsxJJ
|
||||||
|
.. release date: 2015-05-24
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fixed optimization of property descriptor getter.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24268
|
||||||
|
.. date: 8156
|
||||||
|
.. nonce: nS7uea
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
PEP 489: Multi-phase extension module initialization. Patch by Petr
|
||||||
|
Viktorin.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23955
|
||||||
|
.. date: 8155
|
||||||
|
.. nonce: hBHSaU
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Add pyvenv.cfg option to suppress registry/environment lookup for generating
|
||||||
|
sys.path on Windows.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24257
|
||||||
|
.. date: 8154
|
||||||
|
.. nonce: UBxshR
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fixed system error in the comparison of faked types.SimpleNamespace.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 22939
|
||||||
|
.. date: 8153
|
||||||
|
.. nonce: DWA9ls
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fixed integer overflow in iterator object. Patch by Clement Rouault.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23985
|
||||||
|
.. date: 8152
|
||||||
|
.. nonce: eezPxO
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fix a possible buffer overrun when deleting a slice from the front of a
|
||||||
|
bytearray and then appending some other bytes data.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24102
|
||||||
|
.. date: 8151
|
||||||
|
.. nonce: 9T6h3m
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fixed exception type checking in standard error handlers.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 15027
|
||||||
|
.. date: 8150
|
||||||
|
.. nonce: wi9sCd
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
The UTF-32 encoder is now 3x to 7x faster.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23290
|
||||||
|
.. date: 8149
|
||||||
|
.. nonce: 57aqLU
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Optimize set_merge() for cases where the target is empty. (Contributed by
|
||||||
|
Serhiy Storchaka.)
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 2292
|
||||||
|
.. date: 8148
|
||||||
|
.. nonce: h4sibO
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
PEP 448: Additional Unpacking Generalizations.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24096
|
||||||
|
.. date: 8147
|
||||||
|
.. nonce: a_Rap7
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Make warnings.warn_explicit more robust against mutation of the
|
||||||
|
warnings.filters list.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23996
|
||||||
|
.. date: 8146
|
||||||
|
.. nonce: znqcT8
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Avoid a crash when a delegated generator raises an unnormalized
|
||||||
|
StopIteration exception. Patch by Stefan Behnel.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23910
|
||||||
|
.. date: 8145
|
||||||
|
.. nonce: _gDzaj
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Optimize property() getter calls. Patch by Joe Jevnik.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23911
|
||||||
|
.. date: 8144
|
||||||
|
.. nonce: 0FnTHk
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Move path-based importlib bootstrap code to a separate frozen module.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24192
|
||||||
|
.. date: 8143
|
||||||
|
.. nonce: 6ZxJ_R
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fix namespace package imports.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24022
|
||||||
|
.. date: 8142
|
||||||
|
.. nonce: 1l8YBm
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fix tokenizer crash when processing undecodable source code.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 9951
|
||||||
|
.. date: 8141
|
||||||
|
.. nonce: wGztNC
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Added a hex() method to bytes, bytearray, and memoryview.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 22906
|
||||||
|
.. date: 8140
|
||||||
|
.. nonce: WN_kQ6
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
PEP 479: Change StopIteration handling inside generators.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24017
|
||||||
|
.. date: 8139
|
||||||
|
.. nonce: QJa1SC
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
PEP 492: Coroutines with async and await syntax.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 14373
|
||||||
|
.. date: 8138
|
||||||
|
.. nonce: 0sk6kE
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Added C implementation of functools.lru_cache(). Based on patches by Matt
|
||||||
|
Joiner and Alexey Kachayev.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24230
|
||||||
|
.. date: 8137
|
||||||
|
.. nonce: b-kgme
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
The tempfile module now accepts bytes for prefix, suffix and dir parameters
|
||||||
|
and returns bytes in such situations (matching the os module APIs).
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 22189
|
||||||
|
.. date: 8136
|
||||||
|
.. nonce: 8epgat
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
collections.UserString now supports __getnewargs__(), __rmod__(),
|
||||||
|
casefold(), format_map(), isprintable(), and maketrans(). Patch by Joe
|
||||||
|
Jevnik.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24244
|
||||||
|
.. date: 8135
|
||||||
|
.. nonce: OKE_3R
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Prevents termination when an invalid format string is encountered on Windows
|
||||||
|
in strftime.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23973
|
||||||
|
.. date: 8134
|
||||||
|
.. nonce: EK6awi
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
PEP 484: Add the typing module.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23086
|
||||||
|
.. date: 8133
|
||||||
|
.. nonce: Aix6Nv
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
The collections.abc.Sequence() abstract base class added *start* and *stop*
|
||||||
|
parameters to the index() mixin. Patch by Devin Jeanpierre.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 20035
|
||||||
|
.. date: 8132
|
||||||
|
.. nonce: UNZzw6
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Replaced the ``tkinter._fix`` module used for setting up the Tcl/Tk
|
||||||
|
environment on Windows with a private function in the ``_tkinter`` module
|
||||||
|
that makes no permanent changes to the environment.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24257
|
||||||
|
.. date: 8131
|
||||||
|
.. nonce: L_efq0
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fixed segmentation fault in sqlite3.Row constructor with faked cursor type.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 15836
|
||||||
|
.. date: 8130
|
||||||
|
.. nonce: gU3Rmx
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
assertRaises(), assertRaisesRegex(), assertWarns() and assertWarnsRegex()
|
||||||
|
assertments now check the type of the first argument to prevent possible
|
||||||
|
user error. Based on patch by Daniel Wagner-Hall.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 9858
|
||||||
|
.. date: 8129
|
||||||
|
.. nonce: uke9pa
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Add missing method stubs to _io.RawIOBase. Patch by Laura Rupprecht.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 22955
|
||||||
|
.. date: 8128
|
||||||
|
.. nonce: Jw_B9_
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
attrgetter, itemgetter and methodcaller objects in the operator module now
|
||||||
|
support pickling. Added readable and evaluable repr for these objects.
|
||||||
|
Based on patch by Josh Rosenberg.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 22107
|
||||||
|
.. date: 8127
|
||||||
|
.. nonce: 2F8k4W
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
tempfile.gettempdir() and tempfile.mkdtemp() now try again when a directory
|
||||||
|
with the chosen name already exists on Windows as well as on Unix.
|
||||||
|
tempfile.mkstemp() now fails early if parent directory is not valid (not
|
||||||
|
exists or is a file) on Windows.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23780
|
||||||
|
.. date: 8126
|
||||||
|
.. nonce: jFPVcN
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Improved error message in os.path.join() with single argument.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 6598
|
||||||
|
.. date: 8125
|
||||||
|
.. nonce: JdZNDt
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Increased time precision and random number range in email.utils.make_msgid()
|
||||||
|
to strengthen the uniqueness of the message ID.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24091
|
||||||
|
.. date: 8124
|
||||||
|
.. nonce: Jw0-wj
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fixed various crashes in corner cases in C implementation of ElementTree.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 21931
|
||||||
|
.. date: 8123
|
||||||
|
.. nonce: t6lGxY
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
msilib.FCICreate() now raises TypeError in the case of a bad argument
|
||||||
|
instead of a ValueError with a bogus FCI error number. Patch by Jeffrey
|
||||||
|
Armstrong.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 13866
|
||||||
|
.. date: 8122
|
||||||
|
.. nonce: n5NAj0
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
*quote_via* argument added to urllib.parse.urlencode.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 20098
|
||||||
|
.. date: 8121
|
||||||
|
.. nonce: Y4otaf
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
New mangle_from policy option for email, default True for compat32, but
|
||||||
|
False for all other policies.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24211
|
||||||
|
.. date: 8120
|
||||||
|
.. nonce: j3Afpc
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
The email library now supports RFC 6532: it can generate headers using utf-8
|
||||||
|
instead of encoded words.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 16314
|
||||||
|
.. date: 8119
|
||||||
|
.. nonce: Xc4d1O
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Added support for the LZMA compression in distutils.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 21804
|
||||||
|
.. date: 8118
|
||||||
|
.. nonce: lEhTlc
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
poplib now supports RFC 6856 (UTF8).
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 18682
|
||||||
|
.. date: 8117
|
||||||
|
.. nonce: 6Pnfte
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Optimized pprint functions for builtin scalar types.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 22027
|
||||||
|
.. date: 8116
|
||||||
|
.. nonce: _aeUQS
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
smtplib now supports RFC 6531 (SMTPUTF8).
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23488
|
||||||
|
.. date: 8115
|
||||||
|
.. nonce: 7gs3Cm
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Random generator objects now consume 2x less memory on 64-bit.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 1322
|
||||||
|
.. date: 8114
|
||||||
|
.. nonce: 495nFL
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
platform.dist() and platform.linux_distribution() functions are now
|
||||||
|
deprecated. Initial patch by Vajrasky Kok.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 22486
|
||||||
|
.. date: 8113
|
||||||
|
.. nonce: Yxov5m
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Added the math.gcd() function. The fractions.gcd() function now is
|
||||||
|
deprecated. Based on patch by Mark Dickinson.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24064
|
||||||
|
.. date: 8112
|
||||||
|
.. nonce: zXC7OL
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Property() docstrings are now writeable. (Patch by Berker Peksag.)
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 22681
|
||||||
|
.. date: 8111
|
||||||
|
.. nonce: 2rIoA2
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Added support for the koi8_t encoding.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 22682
|
||||||
|
.. date: 8110
|
||||||
|
.. nonce: cP4i3L
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Added support for the kz1048 encoding.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23796
|
||||||
|
.. date: 8109
|
||||||
|
.. nonce: JJmUnc
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
peek and read1 methods of BufferedReader now raise ValueError if they called
|
||||||
|
on a closed object. Patch by John Hergenroeder.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 21795
|
||||||
|
.. date: 8108
|
||||||
|
.. nonce: BDLMS4
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
smtpd now supports the 8BITMIME extension whenever the new *decode_data*
|
||||||
|
constructor argument is set to False.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24155
|
||||||
|
.. date: 8107
|
||||||
|
.. nonce: FZx5c2
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
optimize heapq.heapify() for better cache performance when heapifying large
|
||||||
|
lists.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 21800
|
||||||
|
.. date: 8106
|
||||||
|
.. nonce: evGSKc
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
imaplib now supports RFC 5161 (enable), RFC 6855 (utf8/internationalized
|
||||||
|
email) and automatically encodes non-ASCII usernames and passwords to UTF8.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 20274
|
||||||
|
.. date: 8105
|
||||||
|
.. nonce: uVHogg
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
When calling a _sqlite.Connection, it now complains if passed any keyword
|
||||||
|
arguments. Previously it silently ignored them.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 20274
|
||||||
|
.. date: 8104
|
||||||
|
.. nonce: hBst4M
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Remove ignored and erroneous "kwargs" parameters from three METH_VARARGS
|
||||||
|
methods on _sqlite.Connection.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24134
|
||||||
|
.. date: 8103
|
||||||
|
.. nonce: Ajw0S-
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
assertRaises(), assertRaisesRegex(), assertWarns() and assertWarnsRegex()
|
||||||
|
checks now emits a deprecation warning when callable is None or keyword
|
||||||
|
arguments except msg is passed in the context manager mode.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24018
|
||||||
|
.. date: 8102
|
||||||
|
.. nonce: hk7Rcn
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Add a collections.abc.Generator abstract base class. Contributed by Stefan
|
||||||
|
Behnel.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23880
|
||||||
|
.. date: 8101
|
||||||
|
.. nonce: QtKupC
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Tkinter's getint() and getdouble() now support Tcl_Obj. Tkinter's
|
||||||
|
getdouble() now supports any numbers (in particular int).
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 22619
|
||||||
|
.. date: 8100
|
||||||
|
.. nonce: 1gJEqV
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Added negative limit support in the traceback module. Based on patch by
|
||||||
|
Dmitry Kazakov.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24094
|
||||||
|
.. date: 8099
|
||||||
|
.. nonce: 7T-u7k
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix possible crash in json.encode with poorly behaved dict subclasses.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 9246
|
||||||
|
.. date: 8098
|
||||||
|
.. nonce: oM-Ikk
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
On POSIX, os.getcwd() now supports paths longer than 1025 bytes. Patch
|
||||||
|
written by William Orr.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 17445
|
||||||
|
.. date: 8097
|
||||||
|
.. nonce: Z-QYh5
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
add difflib.diff_bytes() to support comparison of byte strings (fixes a
|
||||||
|
regression from Python 2).
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23917
|
||||||
|
.. date: 8096
|
||||||
|
.. nonce: uMVPV7
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fall back to sequential compilation when ProcessPoolExecutor doesn't exist.
|
||||||
|
Patch by Claudiu Popa.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23008
|
||||||
|
.. date: 8095
|
||||||
|
.. nonce: OZFCd-
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fixed resolving attributes with boolean value is False in pydoc.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 0
|
||||||
|
.. date: 8094
|
||||||
|
.. nonce: 6tJNf2
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix asyncio issue 235: LifoQueue and PriorityQueue's put didn't increment
|
||||||
|
unfinished tasks (this bug was introduced when JoinableQueue was merged with
|
||||||
|
Queue).
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23908
|
||||||
|
.. date: 8093
|
||||||
|
.. nonce: ATdNG-
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
os functions now reject paths with embedded null character on Windows
|
||||||
|
instead of silently truncating them.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23728
|
||||||
|
.. date: 8092
|
||||||
|
.. nonce: YBmQmV
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
binascii.crc_hqx() could return an integer outside of the range 0-0xffff for
|
||||||
|
empty data.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23887
|
||||||
|
.. date: 8091
|
||||||
|
.. nonce: _XpjPN
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
urllib.error.HTTPError now has a proper repr() representation. Patch by
|
||||||
|
Berker Peksag.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 0
|
||||||
|
.. date: 8090
|
||||||
|
.. nonce: MjNdSC
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
asyncio: New event loop APIs: set_task_factory() and get_task_factory().
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 0
|
||||||
|
.. date: 8089
|
||||||
|
.. nonce: rVcHXp
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
asyncio: async() function is deprecated in favour of ensure_future().
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24178
|
||||||
|
.. date: 8088
|
||||||
|
.. nonce: -enO4y
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
asyncio.Lock, Condition, Semaphore, and BoundedSemaphore support new 'async
|
||||||
|
with' syntax. Contributed by Yury Selivanov.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24179
|
||||||
|
.. date: 8087
|
||||||
|
.. nonce: wDy_WZ
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Support 'async for' for asyncio.StreamReader. Contributed by Yury Selivanov.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24184
|
||||||
|
.. date: 8086
|
||||||
|
.. nonce: El74TU
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Add AsyncIterator and AsyncIterable ABCs to collections.abc. Contributed by
|
||||||
|
Yury Selivanov.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 22547
|
||||||
|
.. date: 8085
|
||||||
|
.. nonce: _ikCaj
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Implement informative __repr__ for inspect.BoundArguments. Contributed by
|
||||||
|
Yury Selivanov.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24190
|
||||||
|
.. date: 8084
|
||||||
|
.. nonce: 1a3vWW
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Implement inspect.BoundArgument.apply_defaults() method. Contributed by Yury
|
||||||
|
Selivanov.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 20691
|
||||||
|
.. date: 8083
|
||||||
|
.. nonce: -raLyf
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Add 'follow_wrapped' argument to inspect.Signature.from_callable() and
|
||||||
|
inspect.signature(). Contributed by Yury Selivanov.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24248
|
||||||
|
.. date: 8082
|
||||||
|
.. nonce: IxWooo
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Deprecate inspect.Signature.from_function() and
|
||||||
|
inspect.Signature.from_builtin().
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23898
|
||||||
|
.. date: 8081
|
||||||
|
.. nonce: OSiZie
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix inspect.classify_class_attrs() to support attributes with overloaded
|
||||||
|
__eq__ and __bool__. Patch by Mike Bayer.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24298
|
||||||
|
.. date: 8080
|
||||||
|
.. nonce: u_TaxI
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix inspect.signature() to correctly unwrap wrappers around bound methods.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23184
|
||||||
|
.. date: 8079
|
||||||
|
.. nonce: G_Cp9v
|
||||||
|
.. section: IDLE
|
||||||
|
|
||||||
|
remove unused names and imports in idlelib. Initial patch by Al Sweigart.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 21520
|
||||||
|
.. date: 8078
|
||||||
|
.. nonce: FKtvmQ
|
||||||
|
.. section: Tests
|
||||||
|
|
||||||
|
test_zipfile no longer fails if the word 'bad' appears anywhere in the name
|
||||||
|
of the current directory.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 9517
|
||||||
|
.. date: 8077
|
||||||
|
.. nonce: W0Ag2V
|
||||||
|
.. section: Tests
|
||||||
|
|
||||||
|
Move script_helper into the support package. Patch by Christie Wilson.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 22155
|
||||||
|
.. date: 8076
|
||||||
|
.. nonce: 9EbOit
|
||||||
|
.. section: Documentation
|
||||||
|
|
||||||
|
Add File Handlers subsection with createfilehandler to tkinter doc. Remove
|
||||||
|
obsolete example from FAQ. Patch by Martin Panter.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24029
|
||||||
|
.. date: 8075
|
||||||
|
.. nonce: M2Bnks
|
||||||
|
.. section: Documentation
|
||||||
|
|
||||||
|
Document the name binding behavior for submodule imports.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24077
|
||||||
|
.. date: 8074
|
||||||
|
.. nonce: 2Og2j-
|
||||||
|
.. section: Documentation
|
||||||
|
|
||||||
|
Fix typo in man page for -I command option: -s, not -S
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24000
|
||||||
|
.. date: 8073
|
||||||
|
.. nonce: MJyXRr
|
||||||
|
.. section: Tools/Demos
|
||||||
|
|
||||||
|
Improved Argument Clinic's mapping of converters to legacy "format units".
|
||||||
|
Updated the documentation to match.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24001
|
||||||
|
.. date: 8072
|
||||||
|
.. nonce: m74vst
|
||||||
|
.. section: Tools/Demos
|
||||||
|
|
||||||
|
Argument Clinic converters now use accept={type} instead of types={'type'}
|
||||||
|
to specify the types the converter accepts.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23330
|
||||||
|
.. date: 8071
|
||||||
|
.. nonce: LTlKDp
|
||||||
|
.. section: Tools/Demos
|
||||||
|
|
||||||
|
h2py now supports arbitrary filenames in #include.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24031
|
||||||
|
.. date: 8070
|
||||||
|
.. nonce: duGo88
|
||||||
|
.. section: Tools/Demos
|
||||||
|
|
||||||
|
make patchcheck now supports git checkouts, too.
|
104
Misc/NEWS.d/3.5.0b2.rst
Normal file
104
Misc/NEWS.d/3.5.0b2.rst
Normal file
|
@ -0,0 +1,104 @@
|
||||||
|
.. bpo: 24284
|
||||||
|
.. date: 8168
|
||||||
|
.. nonce: NvtEnc
|
||||||
|
.. release date: 2015-05-31
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
The startswith and endswith methods of the str class no longer return True
|
||||||
|
when finding the empty string and the indexes are completely out of range.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24115
|
||||||
|
.. date: 8167
|
||||||
|
.. nonce: y9e_MO
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Update uses of PyObject_IsTrue(), PyObject_Not(), PyObject_IsInstance(),
|
||||||
|
PyObject_RichCompareBool() and _PyDict_Contains() to check for and handle
|
||||||
|
errors correctly.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24328
|
||||||
|
.. date: 8166
|
||||||
|
.. nonce: 5gL8or
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fix importing one character extension modules.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 11205
|
||||||
|
.. date: 8165
|
||||||
|
.. nonce: bikrRP
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
In dictionary displays, evaluate the key before the value.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24285
|
||||||
|
.. date: 8164
|
||||||
|
.. nonce: wvJumr
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fixed regression that prevented importing extension modules from inside
|
||||||
|
packages. Patch by Petr Viktorin.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23247
|
||||||
|
.. date: 8163
|
||||||
|
.. nonce: nN-K74
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix a crash in the StreamWriter.reset() of CJK codecs.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24270
|
||||||
|
.. date: 8162
|
||||||
|
.. nonce: M2rJNs
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Add math.isclose() and cmath.isclose() functions as per PEP 485. Contributed
|
||||||
|
by Chris Barker and Tal Einat.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 5633
|
||||||
|
.. date: 8161
|
||||||
|
.. nonce: JNzKZq
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fixed timeit when the statement is a string and the setup is not.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24326
|
||||||
|
.. date: 8160
|
||||||
|
.. nonce: 4t_6Gy
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fixed audioop.ratecv() with non-default weightB argument. Original patch by
|
||||||
|
David Moore.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 16991
|
||||||
|
.. date: 8159
|
||||||
|
.. nonce: 19_Zmj
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Add a C implementation of OrderedDict.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23934
|
||||||
|
.. date: 8158
|
||||||
|
.. nonce: esb-45
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix inspect.signature to fail correctly for builtin types lacking signature
|
||||||
|
information. Initial patch by James Powell.
|
273
Misc/NEWS.d/3.5.0b3.rst
Normal file
273
Misc/NEWS.d/3.5.0b3.rst
Normal file
|
@ -0,0 +1,273 @@
|
||||||
|
.. bpo: 24467
|
||||||
|
.. date: 8196
|
||||||
|
.. nonce: BAJ80-
|
||||||
|
.. release date: 2015-07-05
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fixed possible buffer over-read in bytearray. The bytearray object now
|
||||||
|
always allocates place for trailing null byte and it's buffer now is always
|
||||||
|
null-terminated.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 0
|
||||||
|
.. date: 8195
|
||||||
|
.. nonce: 944IUY
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Upgrade to Unicode 8.0.0.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24345
|
||||||
|
.. date: 8194
|
||||||
|
.. nonce: fVcTaB
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Add Py_tp_finalize slot for the stable ABI.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24400
|
||||||
|
.. date: 8193
|
||||||
|
.. nonce: 2mNeD8
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Introduce a distinct type for PEP 492 coroutines; add types.CoroutineType,
|
||||||
|
inspect.getcoroutinestate, inspect.getcoroutinelocals; coroutines no longer
|
||||||
|
use CO_GENERATOR flag; sys.set_coroutine_wrapper works only for 'async def'
|
||||||
|
coroutines; inspect.iscoroutine no longer uses collections.abc.Coroutine,
|
||||||
|
it's intended to test for pure 'async def' coroutines only; add new opcode:
|
||||||
|
GET_YIELD_FROM_ITER; fix generators wrapper used in types.coroutine to be
|
||||||
|
instance of collections.abc.Generator; collections.abc.Awaitable and
|
||||||
|
collections.abc.Coroutine can no longer be used to detect generator-based
|
||||||
|
coroutines--use inspect.isawaitable instead.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24450
|
||||||
|
.. date: 8192
|
||||||
|
.. nonce: lF0S5c
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Add gi_yieldfrom to generators and cr_await to coroutines. Contributed by
|
||||||
|
Benno Leslie and Yury Selivanov.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 19235
|
||||||
|
.. date: 8191
|
||||||
|
.. nonce: 0kW4n5
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Add new RecursionError exception. Patch by Georg Brandl.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 21750
|
||||||
|
.. date: 8190
|
||||||
|
.. nonce: _Ycvgi
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
mock_open.read_data can now be read from each instance, as it could in
|
||||||
|
Python 3.3.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24552
|
||||||
|
.. date: 8189
|
||||||
|
.. nonce: VTO6sf
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix use after free in an error case of the _pickle module.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24514
|
||||||
|
.. date: 8188
|
||||||
|
.. nonce: _xRb2r
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
tarfile now tolerates number fields consisting of only whitespace.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 19176
|
||||||
|
.. date: 8187
|
||||||
|
.. nonce: 8V6nOK
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fixed doctype() related bugs in C implementation of ElementTree. A
|
||||||
|
deprecation warning no longer issued by XMLParser subclass with default
|
||||||
|
doctype() method. Direct call of doctype() now issues a warning. Parser's
|
||||||
|
doctype() now is not called if target's doctype() is called. Based on patch
|
||||||
|
by Martin Panter.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 20387
|
||||||
|
.. date: 8186
|
||||||
|
.. nonce: aAbWbQ
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Restore semantic round-trip correctness in tokenize/untokenize for tab-
|
||||||
|
indented blocks.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24456
|
||||||
|
.. date: 8185
|
||||||
|
.. nonce: yYSd2u
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fixed possible buffer over-read in adpcm2lin() and lin2adpcm() functions of
|
||||||
|
the audioop module.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24336
|
||||||
|
.. date: 8184
|
||||||
|
.. nonce: 4a5y1m
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
The contextmanager decorator now works with functions with keyword arguments
|
||||||
|
called "func" and "self". Patch by Martin Panter.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24522
|
||||||
|
.. date: 8183
|
||||||
|
.. nonce: PkcqCA
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix possible integer overflow in json accelerator module.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24489
|
||||||
|
.. date: 8182
|
||||||
|
.. nonce: GJnMcW
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
ensure a previously set C errno doesn't disturb cmath.polar().
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24408
|
||||||
|
.. date: 8181
|
||||||
|
.. nonce: vPb5UK
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fixed AttributeError in measure() and metrics() methods of tkinter.Font.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 14373
|
||||||
|
.. date: 8180
|
||||||
|
.. nonce: CTYZ4J
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
C implementation of functools.lru_cache() now can be used with methods.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24347
|
||||||
|
.. date: 8179
|
||||||
|
.. nonce: CPPDb8
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Set KeyError if PyDict_GetItemWithError returns NULL.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24348
|
||||||
|
.. date: 8178
|
||||||
|
.. nonce: U11rhr
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Drop superfluous incref/decref.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24359
|
||||||
|
.. date: 8177
|
||||||
|
.. nonce: -IRNG9
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Check for changed OrderedDict size during iteration.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24368
|
||||||
|
.. date: 8176
|
||||||
|
.. nonce: 550kDT
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Support keyword arguments in OrderedDict methods.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24362
|
||||||
|
.. date: 8175
|
||||||
|
.. nonce: cHYce5
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Simplify the C OrderedDict fast nodes resize logic.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24377
|
||||||
|
.. date: 8174
|
||||||
|
.. nonce: Gp1Bqr
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix a ref leak in OrderedDict.__repr__.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24369
|
||||||
|
.. date: 8173
|
||||||
|
.. nonce: qFl7lZ
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Defend against key-changes during iteration.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24373
|
||||||
|
.. date: 8172
|
||||||
|
.. nonce: 6TL2XG
|
||||||
|
.. section: Tests
|
||||||
|
|
||||||
|
_testmultiphase and xxlimited now use tp_traverse and tp_finalize to avoid
|
||||||
|
reference leaks encountered when combining tp_dealloc with PyType_FromSpec
|
||||||
|
(see issue #16690 for details)
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24458
|
||||||
|
.. date: 8171
|
||||||
|
.. nonce: 1egApX
|
||||||
|
.. section: Documentation
|
||||||
|
|
||||||
|
Update documentation to cover multi-phase initialization for extension
|
||||||
|
modules (PEP 489). Patch by Petr Viktorin.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24351
|
||||||
|
.. date: 8170
|
||||||
|
.. nonce: XeSVl5
|
||||||
|
.. section: Documentation
|
||||||
|
|
||||||
|
Clarify what is meant by "identifier" in the context of string.Template
|
||||||
|
instances.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24432
|
||||||
|
.. date: 8169
|
||||||
|
.. nonce: IvUSiN
|
||||||
|
.. section: Build
|
||||||
|
|
||||||
|
Update Windows builds and OS X 10.5 installer to use OpenSSL 1.0.2c.
|
255
Misc/NEWS.d/3.5.0b4.rst
Normal file
255
Misc/NEWS.d/3.5.0b4.rst
Normal file
|
@ -0,0 +1,255 @@
|
||||||
|
.. bpo: 23573
|
||||||
|
.. date: 8223
|
||||||
|
.. nonce: HdJPs7
|
||||||
|
.. release date: 2015-07-26
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Restored optimization of bytes.rfind() and bytearray.rfind() for single-byte
|
||||||
|
argument on Linux.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24569
|
||||||
|
.. date: 8222
|
||||||
|
.. nonce: bqh6PQ
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Make PEP 448 dictionary evaluation more consistent.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24583
|
||||||
|
.. date: 8221
|
||||||
|
.. nonce: Ooq0Tn
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fix crash when set is mutated while being updated.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24407
|
||||||
|
.. date: 8220
|
||||||
|
.. nonce: GmCBB3
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fix crash when dict is mutated while being updated.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24619
|
||||||
|
.. date: 8219
|
||||||
|
.. nonce: cnfZGo
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
New approach for tokenizing async/await. As a consequence, it is now
|
||||||
|
possible to have one-line 'async def foo(): await ..' functions.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24687
|
||||||
|
.. date: 8218
|
||||||
|
.. nonce: 0UaXFe
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Plug refleak on SyntaxError in function parameters annotations.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 15944
|
||||||
|
.. date: 8217
|
||||||
|
.. nonce: 4GuwqX
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
memoryview: Allow arbitrary formats when casting to bytes. Patch by Martin
|
||||||
|
Panter.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23441
|
||||||
|
.. date: 8216
|
||||||
|
.. nonce: JXt2Yt
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
rcompleter now prints a tab character instead of displaying possible
|
||||||
|
completions for an empty word. Initial patch by Martin Sekera.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24683
|
||||||
|
.. date: 8215
|
||||||
|
.. nonce: aJdWEv
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fixed crashes in _json functions called with arguments of inappropriate
|
||||||
|
type.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 21697
|
||||||
|
.. date: 8214
|
||||||
|
.. nonce: jpATha
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
shutil.copytree() now correctly handles symbolic links that point to
|
||||||
|
directories. Patch by Eduardo Seabra and Thomas Kluyver.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 14373
|
||||||
|
.. date: 8213
|
||||||
|
.. nonce: Je0yDg
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fixed segmentation fault when gc.collect() is called during constructing
|
||||||
|
lru_cache (C implementation).
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24695
|
||||||
|
.. date: 8212
|
||||||
|
.. nonce: QjZzFb
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix a regression in traceback.print_exception(). If exc_traceback is None
|
||||||
|
we shouldn't print a traceback header like described in the documentation.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24620
|
||||||
|
.. date: 8211
|
||||||
|
.. nonce: rrnxB-
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Random.setstate() now validates the value of state last element.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 22485
|
||||||
|
.. date: 8210
|
||||||
|
.. nonce: HvJf6T
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fixed an issue that caused `inspect.getsource` to return incorrect results
|
||||||
|
on nested functions.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 22153
|
||||||
|
.. date: 8209
|
||||||
|
.. nonce: 6n6yld
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Improve unittest docs. Patch from Martin Panter and evilzero.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24580
|
||||||
|
.. date: 8208
|
||||||
|
.. nonce: AGi4Gm
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Symbolic group references to open group in re patterns now are explicitly
|
||||||
|
forbidden as well as numeric group references.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24206
|
||||||
|
.. date: 8207
|
||||||
|
.. nonce: ffkVHH
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fixed __eq__ and __ne__ methods of inspect classes.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24631
|
||||||
|
.. date: 8206
|
||||||
|
.. nonce: uljPxM
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fixed regression in the timeit module with multiline setup.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 18622
|
||||||
|
.. date: 8205
|
||||||
|
.. nonce: i6nCCW
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
unittest.mock.mock_open().reset_mock would recurse infinitely. Patch from
|
||||||
|
Nicola Palumbo and Laurent De Buyst.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23661
|
||||||
|
.. date: 8204
|
||||||
|
.. nonce: 5VHJmh
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
unittest.mock side_effects can now be exceptions again. This was a
|
||||||
|
regression vs Python 3.4. Patch from Ignacio Rossi
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24608
|
||||||
|
.. date: 8203
|
||||||
|
.. nonce: 0TndL0
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
chunk.Chunk.read() now always returns bytes, not str.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 18684
|
||||||
|
.. date: 8202
|
||||||
|
.. nonce: S2es0F
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fixed reading out of the buffer in the re module.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24259
|
||||||
|
.. date: 8201
|
||||||
|
.. nonce: vMAi1A
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
tarfile now raises a ReadError if an archive is truncated inside a data
|
||||||
|
segment.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 15014
|
||||||
|
.. date: 8200
|
||||||
|
.. nonce: hwXwCH
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
SMTP.auth() and SMTP.login() now support RFC 4954's optional initial-
|
||||||
|
response argument to the SMTP AUTH command.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24669
|
||||||
|
.. date: 8199
|
||||||
|
.. nonce: kFThK0
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix inspect.getsource() for 'async def' functions. Patch by Kai Groner.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24688
|
||||||
|
.. date: 8198
|
||||||
|
.. nonce: -yWfcO
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
ast.get_docstring() for 'async def' functions.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24603
|
||||||
|
.. date: 8197
|
||||||
|
.. nonce: PyHyF5
|
||||||
|
.. section: Build
|
||||||
|
|
||||||
|
Update Windows builds and OS X 10.5 installer to use OpenSSL 1.0.2d.
|
241
Misc/NEWS.d/3.5.0rc1.rst
Normal file
241
Misc/NEWS.d/3.5.0rc1.rst
Normal file
|
@ -0,0 +1,241 @@
|
||||||
|
.. bpo: 24667
|
||||||
|
.. date: 8248
|
||||||
|
.. nonce: tdwszf
|
||||||
|
.. release date: 2015-08-09
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Resize odict in all cases that the underlying dict resizes.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24824
|
||||||
|
.. date: 8247
|
||||||
|
.. nonce: Eoc4lq
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Signatures of codecs.encode() and codecs.decode() now are compatible with
|
||||||
|
pydoc.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24634
|
||||||
|
.. date: 8246
|
||||||
|
.. nonce: 7bnVgr
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Importing uuid should not try to load libc on Windows
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24798
|
||||||
|
.. date: 8245
|
||||||
|
.. nonce: zDXL5R
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
_msvccompiler.py doesn't properly support manifests
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 4395
|
||||||
|
.. date: 8244
|
||||||
|
.. nonce: JpT0k7
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Better testing and documentation of binary operators. Patch by Martin
|
||||||
|
Panter.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23973
|
||||||
|
.. date: 8243
|
||||||
|
.. nonce: wT59Vh
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Update typing.py from GitHub repo.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23004
|
||||||
|
.. date: 8242
|
||||||
|
.. nonce: xswcPm
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
mock_open() now reads binary data correctly when the type of read_data is
|
||||||
|
bytes. Initial patch by Aaron Hill.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23888
|
||||||
|
.. date: 8241
|
||||||
|
.. nonce: 7gw4oO
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Handle fractional time in cookie expiry. Patch by ssh.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23652
|
||||||
|
.. date: 8240
|
||||||
|
.. nonce: DKQ_7t
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Make it possible to compile the select module against the libc headers from
|
||||||
|
the Linux Standard Base, which do not include some EPOLL macros. Patch by
|
||||||
|
Matt Frank.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 22932
|
||||||
|
.. date: 8239
|
||||||
|
.. nonce: mPclSJ
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix timezones in email.utils.formatdate. Patch from Dmitry Shachnev.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23779
|
||||||
|
.. date: 8238
|
||||||
|
.. nonce: ET4JJP
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
imaplib raises TypeError if authenticator tries to abort. Patch from Craig
|
||||||
|
Holmquist.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23319
|
||||||
|
.. date: 8237
|
||||||
|
.. nonce: FXyUH-
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix ctypes.BigEndianStructure, swap correctly bytes. Patch written by
|
||||||
|
Matthieu Gautier.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23254
|
||||||
|
.. date: 8236
|
||||||
|
.. nonce: zNiy1X
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Document how to close the TCPServer listening socket. Patch from Martin
|
||||||
|
Panter.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 19450
|
||||||
|
.. date: 8235
|
||||||
|
.. nonce: VG7T-L
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Update Windows and OS X installer builds to use SQLite 3.8.11.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 17527
|
||||||
|
.. date: 8234
|
||||||
|
.. nonce: ve9fyw
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Add PATCH to wsgiref.validator. Patch from Luca Sbardella.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24791
|
||||||
|
.. date: 8233
|
||||||
|
.. nonce: Ok-3nA
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix grammar regression for call syntax: 'g(\*a or b)'.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23672
|
||||||
|
.. date: 8232
|
||||||
|
.. nonce: 8td2se
|
||||||
|
.. section: IDLE
|
||||||
|
|
||||||
|
Allow Idle to edit and run files with astral chars in name. Patch by Mohd
|
||||||
|
Sanad Zaki Rizvi.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24745
|
||||||
|
.. date: 8231
|
||||||
|
.. nonce: edbziT
|
||||||
|
.. section: IDLE
|
||||||
|
|
||||||
|
Idle editor default font. Switch from Courier to platform-sensitive
|
||||||
|
TkFixedFont. This should not affect current customized font selections. If
|
||||||
|
there is a problem, edit $HOME/.idlerc/config-main.cfg and remove 'fontxxx'
|
||||||
|
entries from [Editor Window]. Patch by Mark Roseman.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 21192
|
||||||
|
.. date: 8230
|
||||||
|
.. nonce: CdbipH
|
||||||
|
.. section: IDLE
|
||||||
|
|
||||||
|
Idle editor. When a file is run, put its name in the restart bar. Do not
|
||||||
|
print false prompts. Original patch by Adnan Umer.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 13884
|
||||||
|
.. date: 8229
|
||||||
|
.. nonce: vVcO1E
|
||||||
|
.. section: IDLE
|
||||||
|
|
||||||
|
Idle menus. Remove tearoff lines. Patch by Roger Serwy.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24129
|
||||||
|
.. date: 8228
|
||||||
|
.. nonce: Imr54z
|
||||||
|
.. section: Documentation
|
||||||
|
|
||||||
|
Clarify the reference documentation for name resolution. This includes
|
||||||
|
removing the assumption that readers will be familiar with the name
|
||||||
|
resolution scheme Python used prior to the introduction of lexical scoping
|
||||||
|
for function namespaces. Patch by Ivan Levkivskyi.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 20769
|
||||||
|
.. date: 8227
|
||||||
|
.. nonce: ZUc9z9
|
||||||
|
.. section: Documentation
|
||||||
|
|
||||||
|
Improve reload() docs. Patch by Dorian Pula.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23589
|
||||||
|
.. date: 8226
|
||||||
|
.. nonce: rjU421
|
||||||
|
.. section: Documentation
|
||||||
|
|
||||||
|
Remove duplicate sentence from the FAQ. Patch by Yongzhi Pan.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24729
|
||||||
|
.. date: 8225
|
||||||
|
.. nonce: PH3A9p
|
||||||
|
.. section: Documentation
|
||||||
|
|
||||||
|
Correct IO tutorial to match implementation regarding encoding parameter to
|
||||||
|
open function.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24751
|
||||||
|
.. date: 8224
|
||||||
|
.. nonce: pL2pbj
|
||||||
|
.. section: Tests
|
||||||
|
|
||||||
|
When running regrtest with the ``-w`` command line option, a test run is no
|
||||||
|
longer marked as a failure if all tests succeed when re-run.
|
56
Misc/NEWS.d/3.5.0rc2.rst
Normal file
56
Misc/NEWS.d/3.5.0rc2.rst
Normal file
|
@ -0,0 +1,56 @@
|
||||||
|
.. bpo: 24769
|
||||||
|
.. date: 8254
|
||||||
|
.. nonce: XgRA0n
|
||||||
|
.. release date: 2015-08-25
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Interpreter now starts properly when dynamic loading is disabled. Patch by
|
||||||
|
Petr Viktorin.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 21167
|
||||||
|
.. date: 8253
|
||||||
|
.. nonce: uom-Dq
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
NAN operations are now handled correctly when python is compiled with ICC
|
||||||
|
even if -fp-model strict is not specified.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24492
|
||||||
|
.. date: 8252
|
||||||
|
.. nonce: LKDAIu
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
A "package" lacking a __name__ attribute when trying to perform a ``from ..
|
||||||
|
import ...`` statement will trigger an ImportError instead of an
|
||||||
|
AttributeError.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24847
|
||||||
|
.. date: 8251
|
||||||
|
.. nonce: SHiiO_
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Removes vcruntime140.dll dependency from Tcl/Tk.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24839
|
||||||
|
.. date: 8250
|
||||||
|
.. nonce: 7_iQZl
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
platform._syscmd_ver raises DeprecationWarning
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24867
|
||||||
|
.. date: 8249
|
||||||
|
.. nonce: rxJIl7
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix Task.get_stack() for 'async def' coroutines
|
76
Misc/NEWS.d/3.5.0rc3.rst
Normal file
76
Misc/NEWS.d/3.5.0rc3.rst
Normal file
|
@ -0,0 +1,76 @@
|
||||||
|
.. bpo: 24305
|
||||||
|
.. date: 8262
|
||||||
|
.. nonce: QeF4A8
|
||||||
|
.. release date: 2015-09-07
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Prevent import subsystem stack frames from being counted by the
|
||||||
|
warnings.warn(stacklevel=) parameter.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24912
|
||||||
|
.. date: 8261
|
||||||
|
.. nonce: ubSi5J
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Prevent __class__ assignment to immutable built-in objects.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24975
|
||||||
|
.. date: 8260
|
||||||
|
.. nonce: 2gLdfN
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fix AST compilation for PEP 448 syntax.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24917
|
||||||
|
.. date: 8259
|
||||||
|
.. nonce: xaQocz
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
time_strftime() buffer over-read.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24748
|
||||||
|
.. date: 8258
|
||||||
|
.. nonce: 83NuO8
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
To resolve a compatibility problem found with py2exe and pywin32,
|
||||||
|
imp.load_dynamic() once again ignores previously loaded modules to support
|
||||||
|
Python modules replacing themselves with extension modules. Patch by Petr
|
||||||
|
Viktorin.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24635
|
||||||
|
.. date: 8257
|
||||||
|
.. nonce: EiJPPf
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fixed a bug in typing.py where isinstance([], typing.Iterable) would return
|
||||||
|
True once, then False on subsequent calls.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24989
|
||||||
|
.. date: 8256
|
||||||
|
.. nonce: 9BJLiy
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fixed buffer overread in BytesIO.readline() if a position is set beyond
|
||||||
|
size. Based on patch by John Leitch.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24913
|
||||||
|
.. date: 8255
|
||||||
|
.. nonce: p2ZAJ4
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix overrun error in deque.index(). Found by John Leitch and Bryce Darling.
|
17
Misc/NEWS.d/3.5.0rc4.rst
Normal file
17
Misc/NEWS.d/3.5.0rc4.rst
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
.. bpo: 25029
|
||||||
|
.. date: 8264
|
||||||
|
.. nonce: Zf97rk
|
||||||
|
.. release date: 2015-09-09
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fixes MemoryError in test_strptime.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 25027
|
||||||
|
.. date: 8263
|
||||||
|
.. nonce: Zaib78
|
||||||
|
.. section: Build
|
||||||
|
|
||||||
|
Reverts partial-static build options and adds vcruntime140.dll to Windows
|
||||||
|
installation.
|
17
Misc/NEWS.d/3.5.1.rst
Normal file
17
Misc/NEWS.d/3.5.1.rst
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
.. bpo: 25709
|
||||||
|
.. date: 8412
|
||||||
|
.. nonce: OPX2TS
|
||||||
|
.. release date: 2015-12-06
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fixed problem with in-place string concatenation and utf-8 cache.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 25715
|
||||||
|
.. date: 8411
|
||||||
|
.. nonce: 3LLYLj
|
||||||
|
.. section: Windows
|
||||||
|
|
||||||
|
Python 3.5.1 installer shows wrong upgrade path and incorrect logic for
|
||||||
|
launcher detection.
|
1451
Misc/NEWS.d/3.5.1rc1.rst
Normal file
1451
Misc/NEWS.d/3.5.1rc1.rst
Normal file
File diff suppressed because it is too large
Load diff
25
Misc/NEWS.d/3.5.2.rst
Normal file
25
Misc/NEWS.d/3.5.2.rst
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
.. bpo: 26930
|
||||||
|
.. date: 8636
|
||||||
|
.. nonce: 9JUeSD
|
||||||
|
.. release date: 2016-06-26
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Update Windows builds to use OpenSSL 1.0.2h.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 26867
|
||||||
|
.. date: 8635
|
||||||
|
.. nonce: QPSyP5
|
||||||
|
.. section: Tests
|
||||||
|
|
||||||
|
Ubuntu's openssl OP_NO_SSLv3 is forced on by default; fix test.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27365
|
||||||
|
.. date: 8634
|
||||||
|
.. nonce: ipkJ_M
|
||||||
|
.. section: IDLE
|
||||||
|
|
||||||
|
Allow non-ascii in idlelib/NEWS.txt - minimal part for 3.5.2.
|
2204
Misc/NEWS.d/3.5.2rc1.rst
Normal file
2204
Misc/NEWS.d/3.5.2rc1.rst
Normal file
File diff suppressed because it is too large
Load diff
7
Misc/NEWS.d/3.5.3.rst
Normal file
7
Misc/NEWS.d/3.5.3.rst
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
.. bpo: 0
|
||||||
|
.. date: 8859
|
||||||
|
.. no changes: True
|
||||||
|
.. nonce: zYPqUK
|
||||||
|
.. release date: 2017-01-17
|
||||||
|
|
||||||
|
There were no code changes between 3.5.3rc1 and 3.5.3 final.
|
2164
Misc/NEWS.d/3.5.3rc1.rst
Normal file
2164
Misc/NEWS.d/3.5.3rc1.rst
Normal file
File diff suppressed because it is too large
Load diff
7
Misc/NEWS.d/3.6.0.rst
Normal file
7
Misc/NEWS.d/3.6.0.rst
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
.. bpo: 0
|
||||||
|
.. date: 9796
|
||||||
|
.. no changes: True
|
||||||
|
.. nonce: F9ENBV
|
||||||
|
.. release date: 2016-12-23
|
||||||
|
|
||||||
|
No changes since release candidate 2
|
3941
Misc/NEWS.d/3.6.0a1.rst
Normal file
3941
Misc/NEWS.d/3.6.0a1.rst
Normal file
File diff suppressed because it is too large
Load diff
799
Misc/NEWS.d/3.6.0a2.rst
Normal file
799
Misc/NEWS.d/3.6.0a2.rst
Normal file
|
@ -0,0 +1,799 @@
|
||||||
|
.. bpo: 27095
|
||||||
|
.. date: 9332
|
||||||
|
.. nonce: 92UoyH
|
||||||
|
.. release date: 2016-06-13
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Simplified MAKE_FUNCTION and removed MAKE_CLOSURE opcodes. Patch by Demur
|
||||||
|
Rumed.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27190
|
||||||
|
.. date: 9331
|
||||||
|
.. nonce: DHDFeD
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Raise NotSupportedError if sqlite3 is older than 3.3.1. Patch by Dave
|
||||||
|
Sawyer.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27286
|
||||||
|
.. date: 9330
|
||||||
|
.. nonce: U8q6B1
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fixed compiling BUILD_MAP_UNPACK_WITH_CALL opcode. Calling function with
|
||||||
|
generalized unpacking (PEP 448) and conflicting keyword names could cause
|
||||||
|
undefined behavior.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27140
|
||||||
|
.. date: 9329
|
||||||
|
.. nonce: uc39-1
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Added BUILD_CONST_KEY_MAP opcode.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27186
|
||||||
|
.. date: 9328
|
||||||
|
.. nonce: EAnCS7
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Add support for os.PathLike objects to open() (part of PEP 519).
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27066
|
||||||
|
.. date: 9327
|
||||||
|
.. nonce: SNExZi
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fixed SystemError if a custom opener (for open()) returns a negative number
|
||||||
|
without setting an exception.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 26983
|
||||||
|
.. date: 9326
|
||||||
|
.. nonce: A0f3fK
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
float() now always return an instance of exact float. The deprecation
|
||||||
|
warning is emitted if __float__ returns an instance of a strict subclass of
|
||||||
|
float. In a future versions of Python this can be an error.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27097
|
||||||
|
.. date: 9325
|
||||||
|
.. nonce: woRKey
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Python interpreter is now about 7% faster due to optimized instruction
|
||||||
|
decoding. Based on patch by Demur Rumed.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 26647
|
||||||
|
.. date: 9324
|
||||||
|
.. nonce: DLSzRi
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Python interpreter now uses 16-bit wordcode instead of bytecode. Patch by
|
||||||
|
Demur Rumed.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23275
|
||||||
|
.. date: 9323
|
||||||
|
.. nonce: YGPb_y
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Allow assigning to an empty target list in round brackets: () = iterable.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27243
|
||||||
|
.. date: 9322
|
||||||
|
.. nonce: U36M4E
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Update the __aiter__ protocol: instead of returning an awaitable that
|
||||||
|
resolves to an asynchronous iterator, the asynchronous iterator should be
|
||||||
|
returned directly. Doing the former will trigger a
|
||||||
|
PendingDeprecationWarning.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 0
|
||||||
|
.. date: 9321
|
||||||
|
.. nonce: nBpVM1
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Comment out socket (SO_REUSEPORT) and posix (O_SHLOCK, O_EXLOCK) constants
|
||||||
|
exposed on the API which are not implemented on GNU/Hurd. They would not
|
||||||
|
work at runtime anyway.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27025
|
||||||
|
.. date: 9320
|
||||||
|
.. nonce: ffzxpX
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Generated names for Tkinter widgets are now more meanful and recognizirable.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 25455
|
||||||
|
.. date: 9319
|
||||||
|
.. nonce: k10GoO
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fixed crashes in repr of recursive ElementTree.Element and functools.partial
|
||||||
|
objects.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27294
|
||||||
|
.. date: 9318
|
||||||
|
.. nonce: XPCURr
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Improved repr for Tkinter event objects.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 20508
|
||||||
|
.. date: 9317
|
||||||
|
.. nonce: 3NMbT2
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Improve exception message of IPv{4,6}Network.__getitem__. Patch by Gareth
|
||||||
|
Rees.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 26556
|
||||||
|
.. date: 9316
|
||||||
|
.. nonce: v5j2uL
|
||||||
|
.. original section: Library
|
||||||
|
.. section: Security
|
||||||
|
|
||||||
|
Update expat to 2.1.1, fixes CVE-2015-1283.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 0
|
||||||
|
.. date: 9315
|
||||||
|
.. nonce: PHOAdg
|
||||||
|
.. original section: Library
|
||||||
|
.. section: Security
|
||||||
|
|
||||||
|
Fix TLS stripping vulnerability in smtplib, CVE-2016-0772. Reported by Team
|
||||||
|
Oststrom.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 21386
|
||||||
|
.. date: 9314
|
||||||
|
.. nonce: DjV72U
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Implement missing IPv4Address.is_global property. It was documented since
|
||||||
|
07a5610bae9d. Initial patch by Roger Luethi.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27029
|
||||||
|
.. date: 9313
|
||||||
|
.. nonce: dmycvw
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Removed deprecated support of universal newlines mode from ZipFile.open().
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27030
|
||||||
|
.. date: 9312
|
||||||
|
.. nonce: p29J7m
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Unknown escapes consisting of ``'\'`` and an ASCII letter in regular
|
||||||
|
expressions now are errors. The re.LOCALE flag now can be used only with
|
||||||
|
bytes patterns.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27186
|
||||||
|
.. date: 9311
|
||||||
|
.. nonce: UYiwoh
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Add os.PathLike support to DirEntry (part of PEP 519). Initial patch by
|
||||||
|
Jelle Zijlstra.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 20900
|
||||||
|
.. date: 9310
|
||||||
|
.. nonce: H5YQPR
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
distutils register command now decodes HTTP responses correctly. Initial
|
||||||
|
patch by ingrid.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27186
|
||||||
|
.. date: 9309
|
||||||
|
.. nonce: Xo4c_F
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Add os.PathLike support to pathlib, removing its provisional status (part of
|
||||||
|
PEP 519). Initial patch by Dusty Phillips.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27186
|
||||||
|
.. date: 9308
|
||||||
|
.. nonce: ZD1wpp
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Add support for os.PathLike objects to os.fsencode() and os.fsdecode() (part
|
||||||
|
of PEP 519).
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27186
|
||||||
|
.. date: 9307
|
||||||
|
.. nonce: y7YRfj
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Introduce os.PathLike and os.fspath() (part of PEP 519).
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 0
|
||||||
|
.. date: 9306
|
||||||
|
.. nonce: iYIeng
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
A new version of typing.py provides several new classes and features:
|
||||||
|
@overload outside stubs, Reversible, DefaultDict, Text, ContextManager,
|
||||||
|
Type[], NewType(), TYPE_CHECKING, and numerous bug fixes (note that some of
|
||||||
|
the new features are not yet implemented in mypy or other static analyzers).
|
||||||
|
Also classes for PEP 492 (Awaitable, AsyncIterable, AsyncIterator) have been
|
||||||
|
added (in fact they made it into 3.5.1 but were never mentioned).
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 25738
|
||||||
|
.. date: 9305
|
||||||
|
.. nonce: mED9w4
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Stop http.server.BaseHTTPRequestHandler.send_error() from sending a message
|
||||||
|
body for 205 Reset Content. Also, don't send Content header fields in
|
||||||
|
responses that don't have a body. Patch by Susumu Koshiba.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 21313
|
||||||
|
.. date: 9304
|
||||||
|
.. nonce: W30MBr
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix the "platform" module to tolerate when sys.version contains truncated
|
||||||
|
build information.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 26839
|
||||||
|
.. date: 9303
|
||||||
|
.. nonce: yVvy7R
|
||||||
|
.. original section: Library
|
||||||
|
.. section: Security
|
||||||
|
|
||||||
|
On Linux, :func:`os.urandom` now calls ``getrandom()`` with
|
||||||
|
``GRND_NONBLOCK`` to fall back on reading ``/dev/urandom`` if the urandom
|
||||||
|
entropy pool is not initialized yet. Patch written by Colm Buckley.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23883
|
||||||
|
.. date: 9302
|
||||||
|
.. nonce: tsZUiM
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Added missing APIs to __all__ to match the documented APIs for the following
|
||||||
|
modules: cgi, mailbox, mimetypes, plistlib and smtpd. Patches by Jacek
|
||||||
|
Kołodziej.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27164
|
||||||
|
.. date: 9301
|
||||||
|
.. nonce: 6wmjx2
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
In the zlib module, allow decompressing raw Deflate streams with a
|
||||||
|
predefined zdict. Based on patch by Xiang Zhang.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24291
|
||||||
|
.. date: 9300
|
||||||
|
.. nonce: Ac6HvL
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix wsgiref.simple_server.WSGIRequestHandler to completely write data to the
|
||||||
|
client. Previously it could do partial writes and truncate data. Also,
|
||||||
|
wsgiref.handler.ServerHandler can now handle stdout doing partial writes,
|
||||||
|
but this is deprecated.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 21272
|
||||||
|
.. date: 9299
|
||||||
|
.. nonce: unScIG
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Use _sysconfigdata.py to initialize distutils.sysconfig.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 19611
|
||||||
|
.. date: 9298
|
||||||
|
.. nonce: MT-Qga
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
:mod:`inspect` now reports the implicit ``.0`` parameters generated by the
|
||||||
|
compiler for comprehension and generator expression scopes as if they were
|
||||||
|
positional-only parameters called ``implicit0``. Patch by Jelle Zijlstra.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 26809
|
||||||
|
.. date: 9297
|
||||||
|
.. nonce: ya7JMb
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Add ``__all__`` to :mod:`string`. Patch by Emanuel Barry.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 26373
|
||||||
|
.. date: 9296
|
||||||
|
.. nonce: P6qz6o
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
subprocess.Popen.communicate now correctly ignores BrokenPipeError when the
|
||||||
|
child process dies before .communicate() is called in more/all
|
||||||
|
circumstances.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 0
|
||||||
|
.. date: 9295
|
||||||
|
.. nonce: eKchPz
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
signal, socket, and ssl module IntEnum constant name lookups now return a
|
||||||
|
consistent name for values having multiple names. Ex: signal.Signals(6) now
|
||||||
|
refers to itself as signal.SIGALRM rather than flipping between that and
|
||||||
|
signal.SIGIOT based on the interpreter's hash randomization seed.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27167
|
||||||
|
.. date: 9294
|
||||||
|
.. nonce: orA_j0
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Clarify the subprocess.CalledProcessError error message text when the child
|
||||||
|
process died due to a signal.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 25931
|
||||||
|
.. date: 9293
|
||||||
|
.. nonce: W7h6Am
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Don't define socketserver.Forking* names on platforms such as Windows that
|
||||||
|
do not support os.fork().
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 21776
|
||||||
|
.. date: 9292
|
||||||
|
.. nonce: 04eQfa
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
distutils.upload now correctly handles HTTPError. Initial patch by Claudiu
|
||||||
|
Popa.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 26526
|
||||||
|
.. date: 9291
|
||||||
|
.. nonce: ScewjJ
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Replace custom parse tree validation in the parser module with a simple DFA
|
||||||
|
validator.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27114
|
||||||
|
.. date: 9290
|
||||||
|
.. nonce: bGCuAM
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix SSLContext._load_windows_store_certs fails with PermissionError
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 18383
|
||||||
|
.. date: 9289
|
||||||
|
.. nonce: jr-b0l
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Avoid creating duplicate filters when using filterwarnings and simplefilter.
|
||||||
|
Based on patch by Alex Shkop.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23026
|
||||||
|
.. date: 9288
|
||||||
|
.. nonce: V2rgYX
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
winreg.QueryValueEx() now return an integer for REG_QWORD type.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 26741
|
||||||
|
.. date: 9287
|
||||||
|
.. nonce: fsbb42
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
subprocess.Popen destructor now emits a ResourceWarning warning if the child
|
||||||
|
process is still running.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27056
|
||||||
|
.. date: 9286
|
||||||
|
.. nonce: rk-BBL
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Optimize pickle.load() and pickle.loads(), up to 10% faster to deserialize a
|
||||||
|
lot of small objects.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 21271
|
||||||
|
.. date: 9285
|
||||||
|
.. nonce: bHIfFA
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
New keyword only parameters in reset_mock call.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 5124
|
||||||
|
.. date: 9284
|
||||||
|
.. nonce: 4kwBvM
|
||||||
|
.. section: IDLE
|
||||||
|
|
||||||
|
Paste with text selected now replaces the selection on X11. This matches how
|
||||||
|
paste works on Windows, Mac, most modern Linux apps, and ttk widgets.
|
||||||
|
Original patch by Serhiy Storchaka.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24750
|
||||||
|
.. date: 9283
|
||||||
|
.. nonce: wA-pc9
|
||||||
|
.. section: IDLE
|
||||||
|
|
||||||
|
Switch all scrollbars in IDLE to ttk versions. Where needed, minimal tests
|
||||||
|
are added to cover changes.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24759
|
||||||
|
.. date: 9282
|
||||||
|
.. nonce: 76HB4w
|
||||||
|
.. section: IDLE
|
||||||
|
|
||||||
|
IDLE requires tk 8.5 and availability ttk widgets. Delete now unneeded tk
|
||||||
|
version tests and code for older versions. Add test for IDLE syntax
|
||||||
|
colorizoer.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27239
|
||||||
|
.. date: 9281
|
||||||
|
.. nonce: fToURh
|
||||||
|
.. section: IDLE
|
||||||
|
|
||||||
|
idlelib.macosx.isXyzTk functions initialize as needed.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27262
|
||||||
|
.. date: 9280
|
||||||
|
.. nonce: t7ckly
|
||||||
|
.. section: IDLE
|
||||||
|
|
||||||
|
move Aqua unbinding code, which enable context menus, to maxosx.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24759
|
||||||
|
.. date: 9279
|
||||||
|
.. nonce: ccmySu
|
||||||
|
.. section: IDLE
|
||||||
|
|
||||||
|
Make clear in idlelib.idle_test.__init__ that the directory is a private
|
||||||
|
implementation of test.test_idle and tool for maintainers.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27196
|
||||||
|
.. date: 9278
|
||||||
|
.. nonce: 3yp8TF
|
||||||
|
.. section: IDLE
|
||||||
|
|
||||||
|
Stop 'ThemeChanged' warnings when running IDLE tests. These persisted after
|
||||||
|
other warnings were suppressed in #20567. Apply Serhiy Storchaka's
|
||||||
|
update_idletasks solution to four test files. Record this additional advice
|
||||||
|
in idle_test/README.txt
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 20567
|
||||||
|
.. date: 9277
|
||||||
|
.. nonce: hhT32b
|
||||||
|
.. section: IDLE
|
||||||
|
|
||||||
|
Revise idle_test/README.txt with advice about avoiding tk warning messages
|
||||||
|
from tests. Apply advice to several IDLE tests.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24225
|
||||||
|
.. date: 9276
|
||||||
|
.. nonce: NxQCka
|
||||||
|
.. section: IDLE
|
||||||
|
|
||||||
|
Update idlelib/README.txt with new file names and event handlers.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27156
|
||||||
|
.. date: 9275
|
||||||
|
.. nonce: j1N9br
|
||||||
|
.. section: IDLE
|
||||||
|
|
||||||
|
Remove obsolete code not used by IDLE. Replacements: 1. help.txt, replaced
|
||||||
|
by help.html, is out-of-date and should not be used. Its dedicated viewer
|
||||||
|
has be replaced by the html viewer in help.py. 2. ``import idlever; I =
|
||||||
|
idlever.IDLE_VERSION`` is the same as ``import sys; I =
|
||||||
|
version[:version.index(' ')]`` 3. After ``ob =
|
||||||
|
stackviewer.VariablesTreeItem(*args)``, ``ob.keys() ==
|
||||||
|
list(ob.object.keys)``. 4. In macosc, runningAsOSXAPP == isAquaTk;
|
||||||
|
idCarbonAquaTk == isCarbonTk
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27117
|
||||||
|
.. date: 9274
|
||||||
|
.. nonce: YrLPf4
|
||||||
|
.. section: IDLE
|
||||||
|
|
||||||
|
Make colorizer htest and turtledemo work with dark themes. Move code for
|
||||||
|
configuring text widget colors to a new function.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24225
|
||||||
|
.. date: 9273
|
||||||
|
.. nonce: RbyFuV
|
||||||
|
.. section: IDLE
|
||||||
|
|
||||||
|
Rename many `idlelib/*.py` and `idle_test/test_*.py` files. Edit files to
|
||||||
|
replace old names with new names when the old name referred to the module
|
||||||
|
rather than the class it contained. See the issue and IDLE section in What's
|
||||||
|
New in 3.6 for more.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 26673
|
||||||
|
.. date: 9272
|
||||||
|
.. nonce: dh0_Ij
|
||||||
|
.. section: IDLE
|
||||||
|
|
||||||
|
When tk reports font size as 0, change to size 10. Such fonts on Linux
|
||||||
|
prevented the configuration dialog from opening.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 21939
|
||||||
|
.. date: 9271
|
||||||
|
.. nonce: pWz-OK
|
||||||
|
.. section: IDLE
|
||||||
|
|
||||||
|
Add test for IDLE's percolator. Original patch by Saimadhav Heblikar.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 21676
|
||||||
|
.. date: 9270
|
||||||
|
.. nonce: hqy6Qh
|
||||||
|
.. section: IDLE
|
||||||
|
|
||||||
|
Add test for IDLE's replace dialog. Original patch by Saimadhav Heblikar.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 18410
|
||||||
|
.. date: 9269
|
||||||
|
.. nonce: DLSPZo
|
||||||
|
.. section: IDLE
|
||||||
|
|
||||||
|
Add test for IDLE's search dialog. Original patch by Westley Martínez.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 21703
|
||||||
|
.. date: 9268
|
||||||
|
.. nonce: bEU8sP
|
||||||
|
.. section: IDLE
|
||||||
|
|
||||||
|
Add test for undo delegator. Patch mostly by Saimadhav Heblikar .
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27044
|
||||||
|
.. date: 9267
|
||||||
|
.. nonce: 4y7tyM
|
||||||
|
.. section: IDLE
|
||||||
|
|
||||||
|
Add ConfigDialog.remove_var_callbacks to stop memory leaks.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23977
|
||||||
|
.. date: 9266
|
||||||
|
.. nonce: miDjj8
|
||||||
|
.. section: IDLE
|
||||||
|
|
||||||
|
Add more asserts to test_delegator.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 16484
|
||||||
|
.. date: 9265
|
||||||
|
.. nonce: ITzcGg
|
||||||
|
.. section: Documentation
|
||||||
|
|
||||||
|
Change the default PYTHONDOCS URL to "https:", and fix the resulting links
|
||||||
|
to use lowercase. Patch by Sean Rodman, test by Kaushik Nadikuditi.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24136
|
||||||
|
.. date: 9264
|
||||||
|
.. nonce: MUK0zK
|
||||||
|
.. section: Documentation
|
||||||
|
|
||||||
|
Document the new PEP 448 unpacking syntax of 3.5.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 22558
|
||||||
|
.. date: 9263
|
||||||
|
.. nonce: Pk02YC
|
||||||
|
.. section: Documentation
|
||||||
|
|
||||||
|
Add remaining doc links to source code for Python-coded modules. Patch by
|
||||||
|
Yoni Lavi.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 25285
|
||||||
|
.. date: 9262
|
||||||
|
.. nonce: 6CxIBo
|
||||||
|
.. section: Tests
|
||||||
|
|
||||||
|
regrtest now uses subprocesses when the -j1 command line option is used:
|
||||||
|
each test file runs in a fresh child process. Before, the -j1 option was
|
||||||
|
ignored.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 25285
|
||||||
|
.. date: 9261
|
||||||
|
.. nonce: ENYqUQ
|
||||||
|
.. section: Tests
|
||||||
|
|
||||||
|
Tools/buildbot/test.bat script now uses -j1 by default to run each test file
|
||||||
|
in fresh child process.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27064
|
||||||
|
.. date: 9260
|
||||||
|
.. nonce: xeY1WF
|
||||||
|
.. section: Windows
|
||||||
|
|
||||||
|
The py.exe launcher now defaults to Python 3. The Windows launcher
|
||||||
|
``py.exe`` no longer prefers an installed Python 2 version over Python 3 by
|
||||||
|
default when used interactively.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27229
|
||||||
|
.. date: 9259
|
||||||
|
.. nonce: C2NDch
|
||||||
|
.. section: Build
|
||||||
|
|
||||||
|
Fix the cross-compiling pgen rule for in-tree builds. Patch by Xavier de
|
||||||
|
Gaye.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 26930
|
||||||
|
.. date: 9258
|
||||||
|
.. nonce: Sqz2O3
|
||||||
|
.. section: Build
|
||||||
|
|
||||||
|
Update OS X 10.5+ 32-bit-only installer to build and link with OpenSSL
|
||||||
|
1.0.2h.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 17500
|
||||||
|
.. date: 9257
|
||||||
|
.. nonce: QTZbRV
|
||||||
|
.. section: Windows
|
||||||
|
|
||||||
|
Remove unused and outdated icons. (See also:
|
||||||
|
https://github.com/python/pythondotorg/issues/945)
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27186
|
||||||
|
.. date: 9256
|
||||||
|
.. nonce: Ll8R-t
|
||||||
|
.. section: C API
|
||||||
|
|
||||||
|
Add the PyOS_FSPath() function (part of PEP 519).
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 26282
|
||||||
|
.. date: 9255
|
||||||
|
.. nonce: Rp-R6L
|
||||||
|
.. section: C API
|
||||||
|
|
||||||
|
PyArg_ParseTupleAndKeywords() now supports positional-only parameters.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 26282
|
||||||
|
.. date: 9254
|
||||||
|
.. nonce: DRRV--
|
||||||
|
.. section: Tools/Demos
|
||||||
|
|
||||||
|
Argument Clinic now supports positional-only and keyword parameters in the
|
||||||
|
same function.
|
537
Misc/NEWS.d/3.6.0a3.rst
Normal file
537
Misc/NEWS.d/3.6.0a3.rst
Normal file
|
@ -0,0 +1,537 @@
|
||||||
|
.. bpo: 27473
|
||||||
|
.. date: 9385
|
||||||
|
.. nonce: _nOtTA
|
||||||
|
.. release date: 2016-07-11
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fixed possible integer overflow in bytes and bytearray concatenations.
|
||||||
|
Patch by Xiang Zhang.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23034
|
||||||
|
.. date: 9384
|
||||||
|
.. nonce: GWaUqn
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
The output of a special Python build with defined COUNT_ALLOCS,
|
||||||
|
SHOW_ALLOC_COUNT or SHOW_TRACK_COUNT macros is now off by default. It can
|
||||||
|
be re-enabled using the "-X showalloccount" option. It now outputs to
|
||||||
|
stderr instead of stdout.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27443
|
||||||
|
.. date: 9383
|
||||||
|
.. nonce: 87ZwZ1
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
__length_hint__() of bytearray iterators no longer return a negative integer
|
||||||
|
for a resized bytearray.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27007
|
||||||
|
.. date: 9382
|
||||||
|
.. nonce: Gg8Um4
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
The fromhex() class methods of bytes and bytearray subclasses now return an
|
||||||
|
instance of corresponding subclass.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 26844
|
||||||
|
.. date: 9381
|
||||||
|
.. nonce: I0wdnY
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix error message for imp.find_module() to refer to 'path' instead of
|
||||||
|
'name'. Patch by Lev Maximov.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23804
|
||||||
|
.. date: 9380
|
||||||
|
.. nonce: ipFvxc
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix SSL zero-length recv() calls to not block and not raise an error about
|
||||||
|
unclean EOF.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27466
|
||||||
|
.. date: 9379
|
||||||
|
.. nonce: C_3a8E
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Change time format returned by http.cookie.time2netscape, confirming the
|
||||||
|
netscape cookie format and making it consistent with documentation.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 21708
|
||||||
|
.. date: 9378
|
||||||
|
.. nonce: RpPYiv
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Deprecated dbm.dumb behavior that differs from common dbm behavior: creating
|
||||||
|
a database in 'r' and 'w' modes and modifying a database in 'r' mode.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 26721
|
||||||
|
.. date: 9377
|
||||||
|
.. nonce: L37Y7r
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Change the socketserver.StreamRequestHandler.wfile attribute to implement
|
||||||
|
BufferedIOBase. In particular, the write() method no longer does partial
|
||||||
|
writes.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 22115
|
||||||
|
.. date: 9376
|
||||||
|
.. nonce: vG5UQW
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Added methods trace_add, trace_remove and trace_info in the tkinter.Variable
|
||||||
|
class. They replace old methods trace_variable, trace, trace_vdelete and
|
||||||
|
trace_vinfo that use obsolete Tcl commands and might not work in future
|
||||||
|
versions of Tcl. Fixed old tracing methods: trace_vdelete() with wrong mode
|
||||||
|
no longer break tracing, trace_vinfo() now always returns a list of pairs of
|
||||||
|
strings, tracing in the "u" mode now works.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 26243
|
||||||
|
.. date: 9375
|
||||||
|
.. nonce: dBtlhI
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Only the level argument to zlib.compress() is keyword argument now. The
|
||||||
|
first argument is positional-only.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27038
|
||||||
|
.. date: 9374
|
||||||
|
.. nonce: yGMV4h
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Expose the DirEntry type as os.DirEntry. Code patch by Jelle Zijlstra.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27186
|
||||||
|
.. date: 9373
|
||||||
|
.. nonce: OtorpF
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Update os.fspath()/PyOS_FSPath() to check the return value of __fspath__()
|
||||||
|
to be either str or bytes.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 18726
|
||||||
|
.. date: 9372
|
||||||
|
.. nonce: eIXHIl
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
All optional parameters of the dump(), dumps(), load() and loads() functions
|
||||||
|
and JSONEncoder and JSONDecoder class constructors in the json module are
|
||||||
|
now keyword-only.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27319
|
||||||
|
.. date: 9371
|
||||||
|
.. nonce: vDl2zm
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Methods selection_set(), selection_add(), selection_remove() and
|
||||||
|
selection_toggle() of ttk.TreeView now allow passing multiple items as
|
||||||
|
multiple arguments instead of passing them as a tuple. Deprecated
|
||||||
|
undocumented ability of calling the selection() method with arguments.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27079
|
||||||
|
.. date: 9370
|
||||||
|
.. nonce: c7d0Ym
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fixed curses.ascii functions isblank(), iscntrl() and ispunct().
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27294
|
||||||
|
.. date: 9369
|
||||||
|
.. nonce: 0WSp9y
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Numerical state in the repr for Tkinter event objects is now represented as
|
||||||
|
a combination of known flags.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27177
|
||||||
|
.. date: 9368
|
||||||
|
.. nonce: U6jRnd
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Match objects in the re module now support index-like objects as group
|
||||||
|
indices. Based on patches by Jeroen Demeyer and Xiang Zhang.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 26754
|
||||||
|
.. date: 9367
|
||||||
|
.. nonce: J3n0QW
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Some functions (compile() etc) accepted a filename argument encoded as an
|
||||||
|
iterable of integers. Now only strings and byte-like objects are accepted.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 26536
|
||||||
|
.. date: 9366
|
||||||
|
.. nonce: DgLWm-
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
socket.ioctl now supports SIO_LOOPBACK_FAST_PATH. Patch by Daniel Stokes.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27048
|
||||||
|
.. date: 9365
|
||||||
|
.. nonce: EVe-Bk
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Prevents distutils failing on Windows when environment variables contain
|
||||||
|
non-ASCII characters
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27330
|
||||||
|
.. date: 9364
|
||||||
|
.. nonce: GJaFCV
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fixed possible leaks in the ctypes module.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27238
|
||||||
|
.. date: 9363
|
||||||
|
.. nonce: Q6v6Qv
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Got rid of bare excepts in the turtle module. Original patch by Jelle
|
||||||
|
Zijlstra.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27122
|
||||||
|
.. date: 9362
|
||||||
|
.. nonce: 06t7zN
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
When an exception is raised within the context being managed by a
|
||||||
|
contextlib.ExitStack() and one of the exit stack generators catches and
|
||||||
|
raises it in a chain, do not re-raise the original exception when exiting,
|
||||||
|
let the new chained one through. This avoids the PEP 479 bug described in
|
||||||
|
issue25782.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27278
|
||||||
|
.. date: 9361
|
||||||
|
.. nonce: y_HkGw
|
||||||
|
.. original section: Library
|
||||||
|
.. section: Security
|
||||||
|
|
||||||
|
Fix os.urandom() implementation using getrandom() on Linux. Truncate size
|
||||||
|
to INT_MAX and loop until we collected enough random bytes, instead of
|
||||||
|
casting a directly Py_ssize_t to int.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 16864
|
||||||
|
.. date: 9360
|
||||||
|
.. nonce: W7tJDa
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
sqlite3.Cursor.lastrowid now supports REPLACE statement. Initial patch by
|
||||||
|
Alex LordThorsen.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 26386
|
||||||
|
.. date: 9359
|
||||||
|
.. nonce: 9L3Ut4
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fixed ttk.TreeView selection operations with item id's containing spaces.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 8637
|
||||||
|
.. date: 9358
|
||||||
|
.. nonce: lHiUSA
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Honor a pager set by the env var MANPAGER (in preference to one set by the
|
||||||
|
env var PAGER).
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 22636
|
||||||
|
.. date: 9357
|
||||||
|
.. nonce: 3fQW_g
|
||||||
|
.. original section: Library
|
||||||
|
.. section: Security
|
||||||
|
|
||||||
|
Avoid shell injection problems with ctypes.util.find_library().
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 16182
|
||||||
|
.. date: 9356
|
||||||
|
.. nonce: RgFXyr
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix various functions in the "readline" module to use the locale encoding,
|
||||||
|
and fix get_begidx() and get_endidx() to return code point indexes.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27392
|
||||||
|
.. date: 9355
|
||||||
|
.. nonce: obfni7
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Add loop.connect_accepted_socket(). Patch by Jim Fulton.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27477
|
||||||
|
.. date: 9354
|
||||||
|
.. nonce: iEuL-9
|
||||||
|
.. section: IDLE
|
||||||
|
|
||||||
|
IDLE search dialogs now use ttk widgets.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27173
|
||||||
|
.. date: 9353
|
||||||
|
.. nonce: M-fYaV
|
||||||
|
.. section: IDLE
|
||||||
|
|
||||||
|
Add 'IDLE Modern Unix' to the built-in key sets. Make the default key set
|
||||||
|
depend on the platform. Add tests for the changes to the config module.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27452
|
||||||
|
.. date: 9352
|
||||||
|
.. nonce: dLxZ8W
|
||||||
|
.. section: IDLE
|
||||||
|
|
||||||
|
make command line "idle-test> python test_help.py" work. __file__ is
|
||||||
|
relative when python is started in the file's directory.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27452
|
||||||
|
.. date: 9351
|
||||||
|
.. nonce: RtWnyR
|
||||||
|
.. section: IDLE
|
||||||
|
|
||||||
|
add line counter and crc to IDLE configHandler test dump.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27380
|
||||||
|
.. date: 9350
|
||||||
|
.. nonce: Q39r9U
|
||||||
|
.. section: IDLE
|
||||||
|
|
||||||
|
IDLE: add query.py with base Query dialog and ttk widgets. Module had
|
||||||
|
subclasses SectionName, ModuleName, and HelpSource, which are used to get
|
||||||
|
information from users by configdialog and file =>Load Module. Each subclass
|
||||||
|
has itw own validity checks. Using ModuleName allows users to edit bad
|
||||||
|
module names instead of starting over. Add tests and delete the two files
|
||||||
|
combined into the new one.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27372
|
||||||
|
.. date: 9349
|
||||||
|
.. nonce: k3Wj2V
|
||||||
|
.. section: IDLE
|
||||||
|
|
||||||
|
Test_idle no longer changes the locale.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27365
|
||||||
|
.. date: 9348
|
||||||
|
.. nonce: y7ys_A
|
||||||
|
.. section: IDLE
|
||||||
|
|
||||||
|
Allow non-ascii chars in IDLE NEWS.txt, for contributor names.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27245
|
||||||
|
.. date: 9347
|
||||||
|
.. nonce: u9aKO1
|
||||||
|
.. section: IDLE
|
||||||
|
|
||||||
|
IDLE: Cleanly delete custom themes and key bindings. Previously, when IDLE
|
||||||
|
was started from a console or by import, a cascade of warnings was emitted.
|
||||||
|
Patch by Serhiy Storchaka.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24137
|
||||||
|
.. date: 9346
|
||||||
|
.. nonce: v8o-IT
|
||||||
|
.. section: IDLE
|
||||||
|
|
||||||
|
Run IDLE, test_idle, and htest with tkinter default root disabled. Fix code
|
||||||
|
and tests that fail with this restriction. Fix htests to not create a
|
||||||
|
second and redundant root and mainloop.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27310
|
||||||
|
.. date: 9345
|
||||||
|
.. nonce: KiURpC
|
||||||
|
.. section: IDLE
|
||||||
|
|
||||||
|
Fix IDLE.app failure to launch on OS X due to vestigial import.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 26754
|
||||||
|
.. date: 9344
|
||||||
|
.. nonce: Qm_N79
|
||||||
|
.. section: C API
|
||||||
|
|
||||||
|
PyUnicode_FSDecoder() accepted a filename argument encoded as an iterable of
|
||||||
|
integers. Now only strings and byte-like objects are accepted.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28066
|
||||||
|
.. date: 9343
|
||||||
|
.. nonce: _3xImV
|
||||||
|
.. section: Build
|
||||||
|
|
||||||
|
Fix the logic that searches build directories for generated include files
|
||||||
|
when building outside the source tree.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27442
|
||||||
|
.. date: 9342
|
||||||
|
.. nonce: S2M0cz
|
||||||
|
.. section: Build
|
||||||
|
|
||||||
|
Expose the Android API level that python was built against, in
|
||||||
|
sysconfig.get_config_vars() as 'ANDROID_API_LEVEL'.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27434
|
||||||
|
.. date: 9341
|
||||||
|
.. nonce: 4nRZmn
|
||||||
|
.. section: Build
|
||||||
|
|
||||||
|
The interpreter that runs the cross-build, found in PATH, must now be of the
|
||||||
|
same feature version (e.g. 3.6) as the source being built.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 26930
|
||||||
|
.. date: 9340
|
||||||
|
.. nonce: 9JUeSD
|
||||||
|
.. section: Build
|
||||||
|
|
||||||
|
Update Windows builds to use OpenSSL 1.0.2h.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23968
|
||||||
|
.. date: 9339
|
||||||
|
.. nonce: 7AuSK9
|
||||||
|
.. section: Build
|
||||||
|
|
||||||
|
Rename the platform directory from plat-$(MACHDEP) to
|
||||||
|
plat-$(PLATFORM_TRIPLET). Rename the config directory (LIBPL) from
|
||||||
|
config-$(LDVERSION) to config-$(LDVERSION)-$(PLATFORM_TRIPLET). Install the
|
||||||
|
platform specifc _sysconfigdata module into the platform directory and
|
||||||
|
rename it to include the ABIFLAGS.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 0
|
||||||
|
.. date: 9338
|
||||||
|
.. nonce: U46i2u
|
||||||
|
.. section: Build
|
||||||
|
|
||||||
|
Don't use largefile support for GNU/Hurd.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27332
|
||||||
|
.. date: 9337
|
||||||
|
.. nonce: OuRZp9
|
||||||
|
.. section: Tools/Demos
|
||||||
|
|
||||||
|
Fixed the type of the first argument of module-level functions generated by
|
||||||
|
Argument Clinic. Patch by Petr Viktorin.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27418
|
||||||
|
.. date: 9336
|
||||||
|
.. nonce: W2m_8I
|
||||||
|
.. section: Tools/Demos
|
||||||
|
|
||||||
|
Fixed Tools/importbench/importbench.py.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 19489
|
||||||
|
.. date: 9335
|
||||||
|
.. nonce: jvzuO7
|
||||||
|
.. section: Documentation
|
||||||
|
|
||||||
|
Moved the search box from the sidebar to the header and footer of each page.
|
||||||
|
Patch by Ammar Askar.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27285
|
||||||
|
.. date: 9334
|
||||||
|
.. nonce: wZur0b
|
||||||
|
.. section: Documentation
|
||||||
|
|
||||||
|
Update documentation to reflect the deprecation of ``pyvenv`` and normalize
|
||||||
|
on the term "virtual environment". Patch by Steve Piercy.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27027
|
||||||
|
.. date: 9333
|
||||||
|
.. nonce: 5oRSGL
|
||||||
|
.. section: Tests
|
||||||
|
|
||||||
|
Added test.support.is_android that is True when this is an Android build.
|
685
Misc/NEWS.d/3.6.0a4.rst
Normal file
685
Misc/NEWS.d/3.6.0a4.rst
Normal file
|
@ -0,0 +1,685 @@
|
||||||
|
.. bpo: 27704
|
||||||
|
.. date: 9455
|
||||||
|
.. nonce: RUxzHf
|
||||||
|
.. release date: 2016-08-15
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Optimized creating bytes and bytearray from byte-like objects and iterables.
|
||||||
|
Speed up to 3 times for short objects. Original patch by Naoki Inada.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 26823
|
||||||
|
.. date: 9454
|
||||||
|
.. nonce: UWORiU
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Large sections of repeated lines in tracebacks are now abbreviated as
|
||||||
|
"[Previous line repeated {count} more times]" by the builtin traceback
|
||||||
|
rendering. Patch by Emanuel Barry.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27574
|
||||||
|
.. date: 9453
|
||||||
|
.. nonce: q73Tss
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Decreased an overhead of parsing keyword arguments in functions implemented
|
||||||
|
with using Argument Clinic.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 22557
|
||||||
|
.. date: 9452
|
||||||
|
.. nonce: Hta2Rz
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Now importing already imported modules is up to 2.5 times faster.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 17596
|
||||||
|
.. date: 9451
|
||||||
|
.. nonce: XgbA9V
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Include <wincrypt.h> to help with Min GW building.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 17599
|
||||||
|
.. date: 9450
|
||||||
|
.. nonce: noy7o1
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
On Windows, rename the privately defined REPARSE_DATA_BUFFER structure to
|
||||||
|
avoid conflicting with the definition from Min GW.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27507
|
||||||
|
.. date: 9449
|
||||||
|
.. nonce: 3pX0Be
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Add integer overflow check in bytearray.extend(). Patch by Xiang Zhang.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27581
|
||||||
|
.. date: 9448
|
||||||
|
.. nonce: KezjNt
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Don't rely on wrapping for overflow check in PySequence_Tuple(). Patch by
|
||||||
|
Xiang Zhang.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 1621
|
||||||
|
.. date: 9447
|
||||||
|
.. nonce: _FZWTr
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Avoid signed integer overflow in list and tuple operations. Patch by Xiang
|
||||||
|
Zhang.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27419
|
||||||
|
.. date: 9446
|
||||||
|
.. nonce: YaGodL
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Standard __import__() no longer look up "__import__" in globals or builtins
|
||||||
|
for importing submodules or "from import". Fixed a crash if raise a warning
|
||||||
|
about unabling to resolve package from __spec__ or __package__.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27083
|
||||||
|
.. date: 9445
|
||||||
|
.. nonce: F4ZT1C
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Respect the PYTHONCASEOK environment variable under Windows.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27514
|
||||||
|
.. date: 9444
|
||||||
|
.. nonce: NLbwPG
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Make having too many statically nested blocks a SyntaxError instead of
|
||||||
|
SystemError.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27366
|
||||||
|
.. date: 9443
|
||||||
|
.. nonce: VrInsj
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Implemented PEP 487 (Simpler customization of class creation). Upon
|
||||||
|
subclassing, the __init_subclass__ classmethod is called on the base class.
|
||||||
|
Descriptors are initialized with __set_name__ after class creation.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 26027
|
||||||
|
.. date: 9442
|
||||||
|
.. nonce: nfVMKM
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Add PEP 519/__fspath__() support to the os and os.path modules. Includes
|
||||||
|
code from Jelle Zijlstra. (See also: bpo-27524)
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27598
|
||||||
|
.. date: 9441
|
||||||
|
.. nonce: y7PtEV
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Add Collections to collections.abc. Patch by Ivan Levkivskyi, docs by Neil
|
||||||
|
Girdhar.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 25958
|
||||||
|
.. date: 9440
|
||||||
|
.. nonce: X-V4U1
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Support "anti-registration" of special methods from various ABCs, like
|
||||||
|
__hash__, __iter__ or __len__. All these (and several more) can be set to
|
||||||
|
None in an implementation class and the behavior will be as if the method is
|
||||||
|
not defined at all. (Previously, this mechanism existed only for __hash__,
|
||||||
|
to make mutable classes unhashable.) Code contributed by Andrew Barnert and
|
||||||
|
Ivan Levkivskyi.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 16764
|
||||||
|
.. date: 9439
|
||||||
|
.. nonce: cPbNjL
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Support keyword arguments to zlib.decompress(). Patch by Xiang Zhang.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27736
|
||||||
|
.. date: 9438
|
||||||
|
.. nonce: 8kMhpQ
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Prevent segfault after interpreter re-initialization due to ref count
|
||||||
|
problem introduced in code for Issue #27038 in 3.6.0a3. Patch by Xiang
|
||||||
|
Zhang.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 25628
|
||||||
|
.. date: 9437
|
||||||
|
.. nonce: UcQnHF
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
The *verbose* and *rename* parameters for collections.namedtuple are now
|
||||||
|
keyword-only.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 12345
|
||||||
|
.. date: 9436
|
||||||
|
.. nonce: nbAEM8
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Add mathematical constant tau to math and cmath. See also PEP 628.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 26823
|
||||||
|
.. date: 9435
|
||||||
|
.. nonce: HcO8tR
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
traceback.StackSummary.format now abbreviates large sections of repeated
|
||||||
|
lines as "[Previous line repeated {count} more times]" (this change then
|
||||||
|
further affects other traceback display operations in the module). Patch by
|
||||||
|
Emanuel Barry.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27664
|
||||||
|
.. date: 9434
|
||||||
|
.. nonce: 6DJPxw
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Add to concurrent.futures.thread.ThreadPoolExecutor() the ability to specify
|
||||||
|
a thread name prefix.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27181
|
||||||
|
.. date: 9433
|
||||||
|
.. nonce: 8aw9TZ
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Add geometric_mean and harmonic_mean to statistics module.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27573
|
||||||
|
.. date: 9432
|
||||||
|
.. nonce: B7XhTs
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
code.interact now prints an message when exiting.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 6422
|
||||||
|
.. date: 9431
|
||||||
|
.. nonce: iBSc45
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Add autorange method to timeit.Timer objects.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27773
|
||||||
|
.. date: 9430
|
||||||
|
.. nonce: hMSSeX
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Correct some memory management errors server_hostname in _ssl.wrap_socket().
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 26750
|
||||||
|
.. date: 9429
|
||||||
|
.. nonce: OQn3fr
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
unittest.mock.create_autospec() now works properly for subclasses of
|
||||||
|
property() and other data descriptors. Removes the never publicly used,
|
||||||
|
never documented unittest.mock.DescriptorTypes tuple.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 26754
|
||||||
|
.. date: 9428
|
||||||
|
.. nonce: XZqomf
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Undocumented support of general bytes-like objects as path in compile() and
|
||||||
|
similar functions is now deprecated.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 26800
|
||||||
|
.. date: 9427
|
||||||
|
.. nonce: QDcK8u
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Undocumented support of general bytes-like objects as paths in os functions
|
||||||
|
is now deprecated.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 26981
|
||||||
|
.. date: 9426
|
||||||
|
.. nonce: yhNTCf
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Add _order_ compatibility shim to enum.Enum for Python 2/3 code bases.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27661
|
||||||
|
.. date: 9425
|
||||||
|
.. nonce: 3JZckO
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Added tzinfo keyword argument to datetime.combine.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 0
|
||||||
|
.. date: 9424
|
||||||
|
.. nonce: Ny9oPv
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
In the curses module, raise an error if window.getstr() or window.instr() is
|
||||||
|
passed a negative value.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27783
|
||||||
|
.. date: 9423
|
||||||
|
.. nonce: cR1jXH
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix possible usage of uninitialized memory in operator.methodcaller.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27774
|
||||||
|
.. date: 9422
|
||||||
|
.. nonce: FDcik1
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix possible Py_DECREF on unowned object in _sre.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27760
|
||||||
|
.. date: 9421
|
||||||
|
.. nonce: gxMjp4
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix possible integer overflow in binascii.b2a_qp.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27758
|
||||||
|
.. date: 9420
|
||||||
|
.. nonce: 0NRV03
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix possible integer overflow in the _csv module for large record lengths.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27568
|
||||||
|
.. date: 9419
|
||||||
|
.. nonce: OnuO9s
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Prevent HTTPoxy attack (CVE-2016-1000110). Ignore the HTTP_PROXY variable
|
||||||
|
when REQUEST_METHOD environment is set, which indicates that the script is
|
||||||
|
in CGI mode.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 7063
|
||||||
|
.. date: 9418
|
||||||
|
.. nonce: nXsVKB
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Remove dead code from the "array" module's slice handling. Patch by Chuck.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27656
|
||||||
|
.. date: 9417
|
||||||
|
.. nonce: joTscM
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Do not assume sched.h defines any SCHED_* constants.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27130
|
||||||
|
.. date: 9416
|
||||||
|
.. nonce: SUxwXZ
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
In the "zlib" module, fix handling of large buffers (typically 4 GiB) when
|
||||||
|
compressing and decompressing. Previously, inputs were limited to 4 GiB,
|
||||||
|
and compression and decompression operations did not properly handle results
|
||||||
|
of 4 GiB.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24773
|
||||||
|
.. date: 9415
|
||||||
|
.. nonce: IDW05R
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Implemented PEP 495 (Local Time Disambiguation).
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 0
|
||||||
|
.. date: 9414
|
||||||
|
.. nonce: lOkwM8
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Expose the EPOLLEXCLUSIVE constant (when it is defined) in the select
|
||||||
|
module.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27567
|
||||||
|
.. date: 9413
|
||||||
|
.. nonce: bYOgyw
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Expose the EPOLLRDHUP and POLLRDHUP constants in the select module.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 1621
|
||||||
|
.. date: 9412
|
||||||
|
.. nonce: 0nclmI
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Avoid signed int negation overflow in the "audioop" module.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27533
|
||||||
|
.. date: 9411
|
||||||
|
.. nonce: iDmKzV
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Release GIL in nt._isdir
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 17711
|
||||||
|
.. date: 9410
|
||||||
|
.. nonce: 47AILJ
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fixed unpickling by the persistent ID with protocol 0. Original patch by
|
||||||
|
Alexandre Vassalotti.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27522
|
||||||
|
.. date: 9409
|
||||||
|
.. nonce: 8vVz_t
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Avoid an unintentional reference cycle in email.feedparser.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27512
|
||||||
|
.. date: 9408
|
||||||
|
.. nonce: FaGwup
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix a segfault when os.fspath() called an __fspath__() method that raised an
|
||||||
|
exception. Patch by Xiang Zhang.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27714
|
||||||
|
.. date: 9407
|
||||||
|
.. nonce: bUEDsI
|
||||||
|
.. section: IDLE
|
||||||
|
|
||||||
|
text_textview and test_autocomplete now pass when re-run in the same
|
||||||
|
process. This occurs when test_idle fails when run with the -w option but
|
||||||
|
without -jn. Fix warning from test_config.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27621
|
||||||
|
.. date: 9406
|
||||||
|
.. nonce: BcpOPU
|
||||||
|
.. section: IDLE
|
||||||
|
|
||||||
|
Put query response validation error messages in the query box itself instead
|
||||||
|
of in a separate massagebox. Redo tests to match. Add Mac OSX refinements.
|
||||||
|
Original patch by Mark Roseman.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27620
|
||||||
|
.. date: 9405
|
||||||
|
.. nonce: TXRR6x
|
||||||
|
.. section: IDLE
|
||||||
|
|
||||||
|
Escape key now closes Query box as cancelled.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27609
|
||||||
|
.. date: 9404
|
||||||
|
.. nonce: MbTuKa
|
||||||
|
.. section: IDLE
|
||||||
|
|
||||||
|
IDLE: tab after initial whitespace should tab, not autocomplete. This fixes
|
||||||
|
problem with writing docstrings at least twice indented.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27609
|
||||||
|
.. date: 9403
|
||||||
|
.. nonce: OBYgv_
|
||||||
|
.. section: IDLE
|
||||||
|
|
||||||
|
Explicitly return None when there are also non-None returns. In a few cases,
|
||||||
|
reverse a condition and eliminate a return.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 25507
|
||||||
|
.. date: 9402
|
||||||
|
.. nonce: lxf68d
|
||||||
|
.. section: IDLE
|
||||||
|
|
||||||
|
IDLE no longer runs buggy code because of its tkinter imports. Users must
|
||||||
|
include the same imports required to run directly in Python.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27173
|
||||||
|
.. date: 9401
|
||||||
|
.. nonce: M-fYaV
|
||||||
|
.. section: IDLE
|
||||||
|
|
||||||
|
Add 'IDLE Modern Unix' to the built-in key sets. Make the default key set
|
||||||
|
depend on the platform. Add tests for the changes to the config module.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27452
|
||||||
|
.. date: 9400
|
||||||
|
.. nonce: RtWnyR
|
||||||
|
.. section: IDLE
|
||||||
|
|
||||||
|
add line counter and crc to IDLE configHandler test dump.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 25805
|
||||||
|
.. date: 9399
|
||||||
|
.. nonce: 9SVxXQ
|
||||||
|
.. section: Tests
|
||||||
|
|
||||||
|
Skip a test in test_pkgutil as needed that doesn't work when ``__name__ ==
|
||||||
|
__main__``. Patch by SilentGhost.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27472
|
||||||
|
.. date: 9398
|
||||||
|
.. nonce: NS3L93
|
||||||
|
.. section: Tests
|
||||||
|
|
||||||
|
Add test.support.unix_shell as the path to the default shell.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27369
|
||||||
|
.. date: 9397
|
||||||
|
.. nonce: LG7U2D
|
||||||
|
.. section: Tests
|
||||||
|
|
||||||
|
In test_pyexpat, avoid testing an error message detail that changed in Expat
|
||||||
|
2.2.0.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27594
|
||||||
|
.. date: 9396
|
||||||
|
.. nonce: w3F57B
|
||||||
|
.. section: Tests
|
||||||
|
|
||||||
|
Prevent assertion error when running test_ast with coverage enabled: ensure
|
||||||
|
code object has a valid first line number. Patch suggested by Ivan
|
||||||
|
Levkivskyi.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27647
|
||||||
|
.. date: 9395
|
||||||
|
.. nonce: -1HUR6
|
||||||
|
.. section: Windows
|
||||||
|
|
||||||
|
Update bundled Tcl/Tk to 8.6.6.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27610
|
||||||
|
.. date: 9394
|
||||||
|
.. nonce: O0o0mB
|
||||||
|
.. section: Windows
|
||||||
|
|
||||||
|
Adds PEP 514 metadata to Windows installer
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27469
|
||||||
|
.. date: 9393
|
||||||
|
.. nonce: 0GwDkX
|
||||||
|
.. section: Windows
|
||||||
|
|
||||||
|
Adds a shell extension to the launcher so that drag and drop works
|
||||||
|
correctly.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27309
|
||||||
|
.. date: 9392
|
||||||
|
.. nonce: chiOo6
|
||||||
|
.. section: Windows
|
||||||
|
|
||||||
|
Enables proper Windows styles in python[w].exe manifest.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27713
|
||||||
|
.. date: 9391
|
||||||
|
.. nonce: _3DgXG
|
||||||
|
.. section: Build
|
||||||
|
|
||||||
|
Suppress spurious build warnings when updating importlib's bootstrap files.
|
||||||
|
Patch by Xiang Zhang
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 25825
|
||||||
|
.. date: 9390
|
||||||
|
.. nonce: MLbdVU
|
||||||
|
.. section: Build
|
||||||
|
|
||||||
|
Correct the references to Modules/python.exp, which is required on AIX. The
|
||||||
|
references were accidentally changed in 3.5.0a1.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27453
|
||||||
|
.. date: 9389
|
||||||
|
.. nonce: Pb5DBi
|
||||||
|
.. section: Build
|
||||||
|
|
||||||
|
CPP invocation in configure must use CPPFLAGS. Patch by Chi Hsuan Yen.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27641
|
||||||
|
.. date: 9388
|
||||||
|
.. nonce: eGzgCk
|
||||||
|
.. section: Build
|
||||||
|
|
||||||
|
The configure script now inserts comments into the makefile to prevent the
|
||||||
|
pgen and _freeze_importlib executables from being cross- compiled.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 26662
|
||||||
|
.. date: 9387
|
||||||
|
.. nonce: XkwRxM
|
||||||
|
.. section: Build
|
||||||
|
|
||||||
|
Set PYTHON_FOR_GEN in configure as the Python program to be used for file
|
||||||
|
generation during the build.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 10910
|
||||||
|
.. date: 9386
|
||||||
|
.. nonce: ZdRayb
|
||||||
|
.. section: Build
|
||||||
|
|
||||||
|
Avoid C++ compilation errors on FreeBSD and OS X. Also update FreedBSD
|
||||||
|
version checks for the original ctype UTF-8 workaround.
|
1608
Misc/NEWS.d/3.6.0b1.rst
Normal file
1608
Misc/NEWS.d/3.6.0b1.rst
Normal file
File diff suppressed because it is too large
Load diff
840
Misc/NEWS.d/3.6.0b2.rst
Normal file
840
Misc/NEWS.d/3.6.0b2.rst
Normal file
|
@ -0,0 +1,840 @@
|
||||||
|
.. bpo: 28183
|
||||||
|
.. date: 9707
|
||||||
|
.. nonce: MJZeNd
|
||||||
|
.. release date: 2016-10-10
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Optimize and cleanup dict iteration.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 26081
|
||||||
|
.. date: 9706
|
||||||
|
.. nonce: _x5vjl
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Added C implementation of asyncio.Future. Original patch by Yury Selivanov.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28379
|
||||||
|
.. date: 9705
|
||||||
|
.. nonce: DuXlco
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Added sanity checks and tests for PyUnicode_CopyCharacters(). Patch by Xiang
|
||||||
|
Zhang.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28376
|
||||||
|
.. date: 9704
|
||||||
|
.. nonce: oPD-5D
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
The type of long range iterator is now registered as Iterator. Patch by Oren
|
||||||
|
Milman.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28376
|
||||||
|
.. date: 9703
|
||||||
|
.. nonce: YEy-uG
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Creating instances of range_iterator by calling range_iterator type now is
|
||||||
|
deprecated. Patch by Oren Milman.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28376
|
||||||
|
.. date: 9702
|
||||||
|
.. nonce: fLeHM2
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
The constructor of range_iterator now checks that step is not 0. Patch by
|
||||||
|
Oren Milman.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 26906
|
||||||
|
.. date: 9701
|
||||||
|
.. nonce: YBjcwI
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Resolving special methods of uninitialized type now causes implicit
|
||||||
|
initialization of the type instead of a fail.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 18287
|
||||||
|
.. date: 9700
|
||||||
|
.. nonce: k6jffS
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
PyType_Ready() now checks that tp_name is not NULL. Original patch by Niklas
|
||||||
|
Koep.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24098
|
||||||
|
.. date: 9699
|
||||||
|
.. nonce: XqlP_1
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fixed possible crash when AST is changed in process of compiling it.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28201
|
||||||
|
.. date: 9698
|
||||||
|
.. nonce: GWUxAy
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Dict reduces possibility of 2nd conflict in hash table when hashes have same
|
||||||
|
lower bits.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28350
|
||||||
|
.. date: 9697
|
||||||
|
.. nonce: 8M5Eg9
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
String constants with null character no longer interned.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 26617
|
||||||
|
.. date: 9696
|
||||||
|
.. nonce: Gh5LvN
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fix crash when GC runs during weakref callbacks.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27942
|
||||||
|
.. date: 9695
|
||||||
|
.. nonce: ZGuhns
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
String constants now interned recursively in tuples and frozensets.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 21578
|
||||||
|
.. date: 9694
|
||||||
|
.. nonce: GI1bhj
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fixed misleading error message when ImportError called with invalid keyword
|
||||||
|
args.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28203
|
||||||
|
.. date: 9693
|
||||||
|
.. nonce: LRn5vp
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fix incorrect type in complex(1.0, {2:3}) error message. Patch by Soumya
|
||||||
|
Sharma.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28086
|
||||||
|
.. date: 9692
|
||||||
|
.. nonce: JsQPMQ
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Single var-positional argument of tuple subtype was passed unscathed to the
|
||||||
|
C-defined function. Now it is converted to exact tuple.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28214
|
||||||
|
.. date: 9691
|
||||||
|
.. nonce: zQF8Em
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Now __set_name__ is looked up on the class instead of the instance.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27955
|
||||||
|
.. date: 9690
|
||||||
|
.. nonce: HC4pZ4
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fallback on reading /dev/urandom device when the getrandom() syscall fails
|
||||||
|
with EPERM, for example when blocked by SECCOMP.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28192
|
||||||
|
.. date: 9689
|
||||||
|
.. nonce: eR6stU
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Don't import readline in isolated mode.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 0
|
||||||
|
.. date: 9688
|
||||||
|
.. nonce: 9EbOiD
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Upgrade internal unicode databases to Unicode version 9.0.0.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28131
|
||||||
|
.. date: 9687
|
||||||
|
.. nonce: owq0wW
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fix a regression in zipimport's compile_source(). zipimport should use the
|
||||||
|
same optimization level as the interpreter.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28126
|
||||||
|
.. date: 9686
|
||||||
|
.. nonce: Qf6-uQ
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Replace Py_MEMCPY with memcpy(). Visual Studio can properly optimize
|
||||||
|
memcpy().
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28120
|
||||||
|
.. date: 9685
|
||||||
|
.. nonce: e5xc1i
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fix dict.pop() for splitted dictionary when trying to remove a "pending key"
|
||||||
|
(Not yet inserted in split-table). Patch by Xiang Zhang.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 26182
|
||||||
|
.. date: 9684
|
||||||
|
.. nonce: jYlqTO
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Raise DeprecationWarning when async and await keywords are used as
|
||||||
|
variable/attribute/class/function name.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27998
|
||||||
|
.. date: 9683
|
||||||
|
.. nonce: CPhy4H
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fixed bytes path support in os.scandir() on Windows. Patch by Eryk Sun.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28317
|
||||||
|
.. date: 9682
|
||||||
|
.. nonce: LgHleA
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
The disassembler now decodes FORMAT_VALUE argument.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 26293
|
||||||
|
.. date: 9681
|
||||||
|
.. nonce: 2mjvwX
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fixed writing ZIP files that starts not from the start of the file. Offsets
|
||||||
|
in ZIP file now are relative to the start of the archive in conforming to
|
||||||
|
the specification.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28380
|
||||||
|
.. date: 9680
|
||||||
|
.. nonce: jKPMzH
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
unittest.mock Mock autospec functions now properly support assert_called,
|
||||||
|
assert_not_called, and assert_called_once.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27181
|
||||||
|
.. date: 9679
|
||||||
|
.. nonce: SQyDpC
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
remove statistics.geometric_mean and defer until 3.7.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28229
|
||||||
|
.. date: 9678
|
||||||
|
.. nonce: BKAxcS
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
lzma module now supports pathlib.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28321
|
||||||
|
.. date: 9677
|
||||||
|
.. nonce: bQ-IIX
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fixed writing non-BMP characters with binary format in plistlib.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28225
|
||||||
|
.. date: 9676
|
||||||
|
.. nonce: 6N28nu
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
bz2 module now supports pathlib. Initial patch by Ethan Furman.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28227
|
||||||
|
.. date: 9675
|
||||||
|
.. nonce: 7lUz8i
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
gzip now supports pathlib. Patch by Ethan Furman.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27358
|
||||||
|
.. date: 9674
|
||||||
|
.. nonce: t288Iv
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Optimized merging var-keyword arguments and improved error message when
|
||||||
|
passing a non-mapping as a var-keyword argument.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28257
|
||||||
|
.. date: 9673
|
||||||
|
.. nonce: SVD_IH
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Improved error message when passing a non-iterable as a var-positional
|
||||||
|
argument. Added opcode BUILD_TUPLE_UNPACK_WITH_CALL.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28322
|
||||||
|
.. date: 9672
|
||||||
|
.. nonce: l9hzap
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fixed possible crashes when unpickle itertools objects from incorrect pickle
|
||||||
|
data. Based on patch by John Leitch.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28228
|
||||||
|
.. date: 9671
|
||||||
|
.. nonce: 1qBwdM
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
imghdr now supports pathlib.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28226
|
||||||
|
.. date: 9670
|
||||||
|
.. nonce: nMXiwU
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
compileall now supports pathlib.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28314
|
||||||
|
.. date: 9669
|
||||||
|
.. nonce: N7YrkN
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix function declaration (C flags) for the getiterator() method of
|
||||||
|
xml.etree.ElementTree.Element.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28148
|
||||||
|
.. date: 9668
|
||||||
|
.. nonce: Flzndx
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Stop using localtime() and gmtime() in the time module.
|
||||||
|
|
||||||
|
Introduced platform independent _PyTime_localtime API that is similar to
|
||||||
|
POSIX localtime_r, but available on all platforms. Patch by Ed Schouten.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28253
|
||||||
|
.. date: 9667
|
||||||
|
.. nonce: aLfmhe
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fixed calendar functions for extreme months: 0001-01 and 9999-12.
|
||||||
|
|
||||||
|
Methods itermonthdays() and itermonthdays2() are reimplemented so that they
|
||||||
|
don't call itermonthdates() which can cause datetime.date under/overflow.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28275
|
||||||
|
.. date: 9666
|
||||||
|
.. nonce: EhWIsz
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fixed possible use after free in the decompress() methods of the
|
||||||
|
LZMADecompressor and BZ2Decompressor classes. Original patch by John Leitch.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27897
|
||||||
|
.. date: 9665
|
||||||
|
.. nonce: I0Ppmx
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fixed possible crash in sqlite3.Connection.create_collation() if pass
|
||||||
|
invalid string-like object as a name. Patch by Xiang Zhang.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 18844
|
||||||
|
.. date: 9664
|
||||||
|
.. nonce: fQsEdn
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
random.choices() now has k as a keyword-only argument to improve the
|
||||||
|
readability of common cases and come into line with the signature used in
|
||||||
|
other languages.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 18893
|
||||||
|
.. date: 9663
|
||||||
|
.. nonce: osiX5c
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix invalid exception handling in Lib/ctypes/macholib/dyld.py. Patch by
|
||||||
|
Madison May.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27611
|
||||||
|
.. date: 9662
|
||||||
|
.. nonce: A_ArH_
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fixed support of default root window in the tkinter.tix module. Added the
|
||||||
|
master parameter in the DisplayStyle constructor.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27348
|
||||||
|
.. date: 9661
|
||||||
|
.. nonce: tDx7Vw
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
In the traceback module, restore the formatting of exception messages like
|
||||||
|
"Exception: None". This fixes a regression introduced in 3.5a2.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 25651
|
||||||
|
.. date: 9660
|
||||||
|
.. nonce: 3UhyPo
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Allow falsy values to be used for msg parameter of subTest().
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27778
|
||||||
|
.. date: 9659
|
||||||
|
.. nonce: Yyo1aP
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix a memory leak in os.getrandom() when the getrandom() is interrupted by a
|
||||||
|
signal and a signal handler raises a Python exception.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28200
|
||||||
|
.. date: 9658
|
||||||
|
.. nonce: 4IEbr7
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix memory leak on Windows in the os module (fix path_converter() function).
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 25400
|
||||||
|
.. date: 9657
|
||||||
|
.. nonce: d9Qn0E
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
RobotFileParser now correctly returns default values for crawl_delay and
|
||||||
|
request_rate. Initial patch by Peter Wirtz.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27932
|
||||||
|
.. date: 9656
|
||||||
|
.. nonce: mtgl-6
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Prevent memory leak in win32_ver().
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 0
|
||||||
|
.. date: 9655
|
||||||
|
.. nonce: iPpjqX
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix UnboundLocalError in socket._sendfile_use_sendfile.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28075
|
||||||
|
.. date: 9654
|
||||||
|
.. nonce: aLiUs9
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Check for ERROR_ACCESS_DENIED in Windows implementation of os.stat(). Patch
|
||||||
|
by Eryk Sun.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 22493
|
||||||
|
.. date: 9653
|
||||||
|
.. nonce: Mv_hZf
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Warning message emitted by using inline flags in the middle of regular
|
||||||
|
expression now contains a (truncated) regex pattern. Patch by Tim Graham.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 25270
|
||||||
|
.. date: 9652
|
||||||
|
.. nonce: jrZruM
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Prevent codecs.escape_encode() from raising SystemError when an empty
|
||||||
|
bytestring is passed.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28181
|
||||||
|
.. date: 9651
|
||||||
|
.. nonce: NGc4Yv
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Get antigravity over HTTPS. Patch by Kaartic Sivaraam.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 25895
|
||||||
|
.. date: 9650
|
||||||
|
.. nonce: j92qoQ
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Enable WebSocket URL schemes in urllib.parse.urljoin. Patch by Gergely Imreh
|
||||||
|
and Markus Holtermann.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28114
|
||||||
|
.. date: 9649
|
||||||
|
.. nonce: gmFXsA
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix a crash in parse_envlist() when env contains byte strings. Patch by Eryk
|
||||||
|
Sun.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27599
|
||||||
|
.. date: 9648
|
||||||
|
.. nonce: itvm8T
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fixed buffer overrun in binascii.b2a_qp() and binascii.a2b_qp().
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27906
|
||||||
|
.. date: 9647
|
||||||
|
.. nonce: TBBXrv
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix socket accept exhaustion during high TCP traffic. Patch by Kevin Conway.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28174
|
||||||
|
.. date: 9646
|
||||||
|
.. nonce: CV1UdI
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Handle when SO_REUSEPORT isn't properly supported. Patch by Seth Michael
|
||||||
|
Larson.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 26654
|
||||||
|
.. date: 9645
|
||||||
|
.. nonce: XtzTE9
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Inspect functools.partial in asyncio.Handle.__repr__. Patch by iceboy.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 26909
|
||||||
|
.. date: 9644
|
||||||
|
.. nonce: ASiakT
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix slow pipes IO in asyncio. Patch by INADA Naoki.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28176
|
||||||
|
.. date: 9643
|
||||||
|
.. nonce: sU8R6L
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix callbacks race in asyncio.SelectorLoop.sock_connect.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27759
|
||||||
|
.. date: 9642
|
||||||
|
.. nonce: qpMDGq
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix selectors incorrectly retain invalid file descriptors. Patch by Mark
|
||||||
|
Williams.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28368
|
||||||
|
.. date: 9641
|
||||||
|
.. nonce: fGl9y4
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Refuse monitoring processes if the child watcher has no loop attached. Patch
|
||||||
|
by Vincent Michel.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28369
|
||||||
|
.. date: 9640
|
||||||
|
.. nonce: 8DTANe
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Raise RuntimeError when transport's FD is used with add_reader, add_writer,
|
||||||
|
etc.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28370
|
||||||
|
.. date: 9639
|
||||||
|
.. nonce: 18jBuZ
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Speedup asyncio.StreamReader.readexactly. Patch by Коренберг Марк.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28371
|
||||||
|
.. date: 9638
|
||||||
|
.. nonce: U9Zqdk
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Deprecate passing asyncio.Handles to run_in_executor.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28372
|
||||||
|
.. date: 9637
|
||||||
|
.. nonce: njcIPk
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix asyncio to support formatting of non-python coroutines.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28399
|
||||||
|
.. date: 9636
|
||||||
|
.. nonce: QKIqRX
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Remove UNIX socket from FS before binding. Patch by Коренберг Марк.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27972
|
||||||
|
.. date: 9635
|
||||||
|
.. nonce: ZK-GFm
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Prohibit Tasks to await on themselves.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28402
|
||||||
|
.. date: 9634
|
||||||
|
.. nonce: v9zETJ
|
||||||
|
.. section: Windows
|
||||||
|
|
||||||
|
Adds signed catalog files for stdlib on Windows.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28333
|
||||||
|
.. date: 9633
|
||||||
|
.. nonce: KnpeO4
|
||||||
|
.. section: Windows
|
||||||
|
|
||||||
|
Enables Unicode for ps1/ps2 and input() prompts. (Patch by Eryk Sun)
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28251
|
||||||
|
.. date: 9632
|
||||||
|
.. nonce: tR_AFs
|
||||||
|
.. section: Windows
|
||||||
|
|
||||||
|
Improvements to help manuals on Windows.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28110
|
||||||
|
.. date: 9631
|
||||||
|
.. nonce: cnkP5F
|
||||||
|
.. section: Windows
|
||||||
|
|
||||||
|
launcher.msi has different product codes between 32-bit and 64-bit
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28161
|
||||||
|
.. date: 9630
|
||||||
|
.. nonce: hF91LI
|
||||||
|
.. section: Windows
|
||||||
|
|
||||||
|
Opening CON for write access fails
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28162
|
||||||
|
.. date: 9629
|
||||||
|
.. nonce: 3FHPVD
|
||||||
|
.. section: Windows
|
||||||
|
|
||||||
|
WindowsConsoleIO readall() fails if first line starts with Ctrl+Z
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28163
|
||||||
|
.. date: 9628
|
||||||
|
.. nonce: -DUgJw
|
||||||
|
.. section: Windows
|
||||||
|
|
||||||
|
WindowsConsoleIO fileno() passes wrong flags to _open_osfhandle
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28164
|
||||||
|
.. date: 9627
|
||||||
|
.. nonce: 5MfN0J
|
||||||
|
.. section: Windows
|
||||||
|
|
||||||
|
_PyIO_get_console_type fails for various paths
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28137
|
||||||
|
.. date: 9626
|
||||||
|
.. nonce: C1uvzY
|
||||||
|
.. section: Windows
|
||||||
|
|
||||||
|
Renames Windows path file to ._pth
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28138
|
||||||
|
.. date: 9625
|
||||||
|
.. nonce: pNdv64
|
||||||
|
.. section: Windows
|
||||||
|
|
||||||
|
Windows ._pth file should allow import site
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28426
|
||||||
|
.. date: 9624
|
||||||
|
.. nonce: zPwvbI
|
||||||
|
.. section: C API
|
||||||
|
|
||||||
|
Deprecated undocumented functions PyUnicode_AsEncodedObject(),
|
||||||
|
PyUnicode_AsDecodedObject(), PyUnicode_AsDecodedUnicode() and
|
||||||
|
PyUnicode_AsEncodedUnicode().
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28258
|
||||||
|
.. date: 9623
|
||||||
|
.. nonce: iKtAHd
|
||||||
|
.. section: Build
|
||||||
|
|
||||||
|
Fixed build with Estonian locale (python-config and distclean targets in
|
||||||
|
Makefile). Patch by Arfrever Frehtes Taifersar Arahesis.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 26661
|
||||||
|
.. date: 9622
|
||||||
|
.. nonce: Z_HNbs
|
||||||
|
.. section: Build
|
||||||
|
|
||||||
|
setup.py now detects system libffi with multiarch wrapper.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 15819
|
||||||
|
.. date: 9621
|
||||||
|
.. nonce: QVDr3E
|
||||||
|
.. section: Build
|
||||||
|
|
||||||
|
Remove redundant include search directory option for building outside the
|
||||||
|
source tree.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28217
|
||||||
|
.. date: 9620
|
||||||
|
.. nonce: Y37OKV
|
||||||
|
.. section: Tests
|
||||||
|
|
||||||
|
Adds _testconsole module to test console input.
|
355
Misc/NEWS.d/3.6.0b3.rst
Normal file
355
Misc/NEWS.d/3.6.0b3.rst
Normal file
|
@ -0,0 +1,355 @@
|
||||||
|
.. bpo: 28128
|
||||||
|
.. date: 9744
|
||||||
|
.. 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
|
||||||
|
.. date: 9743
|
||||||
|
.. nonce: _Fa4Uq
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
dict.update() no longer allocate unnecessary large memory.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28426
|
||||||
|
.. date: 9742
|
||||||
|
.. nonce: E_quyK
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fixed potential crash in PyUnicode_AsDecodedObject() in debug build.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28517
|
||||||
|
.. date: 9741
|
||||||
|
.. nonce: ExPkm9
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fixed of-by-one error in the peephole optimizer that caused keeping
|
||||||
|
unreachable code.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28214
|
||||||
|
.. date: 9740
|
||||||
|
.. nonce: 6ECJox
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Improved exception reporting for problematic __set_name__ attributes.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23782
|
||||||
|
.. date: 9739
|
||||||
|
.. nonce: lonDzj
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fixed possible memory leak in _PyTraceback_Add() and exception loss in
|
||||||
|
PyTraceBack_Here().
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28471
|
||||||
|
.. date: 9738
|
||||||
|
.. nonce: Vd5pv7
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fix "Python memory allocator called without holding the GIL" crash in
|
||||||
|
socket.setblocking.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27517
|
||||||
|
.. date: 9737
|
||||||
|
.. nonce: 1CYM8A
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
LZMA compressor and decompressor no longer raise exceptions if given empty
|
||||||
|
data twice. Patch by Benjamin Fogle.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28549
|
||||||
|
.. date: 9736
|
||||||
|
.. nonce: ShnM2y
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fixed segfault in curses's addch() with ncurses6.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28449
|
||||||
|
.. date: 9735
|
||||||
|
.. 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
|
||||||
|
.. date: 9734
|
||||||
|
.. nonce: 6EVB7N
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
The webbrowser module now supports Firefox 36+ and derived browsers. Based
|
||||||
|
on patch by Oleg Broytman.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27939
|
||||||
|
.. date: 9733
|
||||||
|
.. 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
|
||||||
|
.. date: 9732
|
||||||
|
.. nonce: oif1-H
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
The various ways of specifying weights for random.choices() now produce the
|
||||||
|
same result sequences.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28255
|
||||||
|
.. date: 9731
|
||||||
|
.. 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
|
||||||
|
.. date: 9730
|
||||||
|
.. nonce: ObgnQ2
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
The textwrap.TextWrapper class now honors non-breaking spaces. Based on
|
||||||
|
patch by Kaarle Ritvanen.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28353
|
||||||
|
.. date: 9729
|
||||||
|
.. nonce: sKGbLL
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
os.fwalk() no longer fails on broken links.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28430
|
||||||
|
.. date: 9728
|
||||||
|
.. 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
|
||||||
|
.. date: 9727
|
||||||
|
.. nonce: foAViS
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Generated names for Tkinter widgets now start by the "!" prefix for
|
||||||
|
readability.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 25464
|
||||||
|
.. date: 9726
|
||||||
|
.. nonce: HDUTCu
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fixed HList.header_exists() in tkinter.tix module by addin a workaround to
|
||||||
|
Tix library bug.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28488
|
||||||
|
.. date: 9725
|
||||||
|
.. nonce: TgO112
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
shutil.make_archive() no longer adds entry "./" to ZIP archive.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 25953
|
||||||
|
.. date: 9724
|
||||||
|
.. 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
|
||||||
|
.. date: 9723
|
||||||
|
.. nonce: 1ANQN1
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Optimize csv.DictWriter for large number of columns. Patch by Mariatta
|
||||||
|
Wijaya.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28448
|
||||||
|
.. date: 9722
|
||||||
|
.. nonce: 5bduWe
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix C implemented asyncio.Future didn't work on Windows.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28480
|
||||||
|
.. date: 9721
|
||||||
|
.. nonce: 9lHw6m
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix error building socket module when multithreading is disabled.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24452
|
||||||
|
.. date: 9720
|
||||||
|
.. nonce: m9Kyg3
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Make webbrowser support Chrome on Mac OS X.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 20766
|
||||||
|
.. date: 9719
|
||||||
|
.. nonce: 4kvCzx
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix references leaked by pdb in the handling of SIGINT handlers.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28492
|
||||||
|
.. date: 9718
|
||||||
|
.. nonce: pFRLQE
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix how StopIteration exception is raised in _asyncio.Future.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28500
|
||||||
|
.. date: 9717
|
||||||
|
.. nonce: NINKzZ
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix asyncio to handle async gens GC from another thread.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 26923
|
||||||
|
.. date: 9716
|
||||||
|
.. nonce: 8dh3AV
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix asyncio.Gather to refuse being cancelled once all children are done.
|
||||||
|
Patch by Johannes Ebke.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 26796
|
||||||
|
.. date: 9715
|
||||||
|
.. nonce: TZyAfJ
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Don't configure the number of workers for default threadpool executor.
|
||||||
|
Initial patch by Hans Lawrenz.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28544
|
||||||
|
.. date: 9714
|
||||||
|
.. nonce: KD1oFP
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Implement asyncio.Task in C.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28522
|
||||||
|
.. date: 9713
|
||||||
|
.. nonce: XHMQa7
|
||||||
|
.. section: Windows
|
||||||
|
|
||||||
|
Fixes mishandled buffer reallocation in getpathp.c
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28444
|
||||||
|
.. date: 9712
|
||||||
|
.. nonce: zkc9nT
|
||||||
|
.. section: Build
|
||||||
|
|
||||||
|
Fix missing extensions modules when cross compiling.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28208
|
||||||
|
.. date: 9711
|
||||||
|
.. nonce: DtoP1i
|
||||||
|
.. section: Build
|
||||||
|
|
||||||
|
Update Windows build and OS X installers to use SQLite 3.14.2.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28248
|
||||||
|
.. date: 9710
|
||||||
|
.. nonce: KY_-en
|
||||||
|
.. section: Build
|
||||||
|
|
||||||
|
Update Windows build and OS X installers to use OpenSSL 1.0.2j.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 26944
|
||||||
|
.. date: 9709
|
||||||
|
.. nonce: ChZ_BO
|
||||||
|
.. section: Tests
|
||||||
|
|
||||||
|
Fix test_posix for Android where 'id -G' is entirely wrong or missing the
|
||||||
|
effective gid.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28409
|
||||||
|
.. date: 9708
|
||||||
|
.. nonce: Q2IlxJ
|
||||||
|
.. section: Tests
|
||||||
|
|
||||||
|
regrtest: fix the parser of command line arguments.
|
327
Misc/NEWS.d/3.6.0b4.rst
Normal file
327
Misc/NEWS.d/3.6.0b4.rst
Normal file
|
@ -0,0 +1,327 @@
|
||||||
|
.. bpo: 28532
|
||||||
|
.. date: 9778
|
||||||
|
.. nonce: KEYJny
|
||||||
|
.. release date: 2016-11-21
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Show sys.version when -V option is supplied twice.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27100
|
||||||
|
.. date: 9777
|
||||||
|
.. nonce: poVjXq
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
The with-statement now checks for __enter__ before it checks for __exit__.
|
||||||
|
This gives less confusing error messages when both methods are missing.
|
||||||
|
Patch by Jonathan Ellington.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28746
|
||||||
|
.. date: 9776
|
||||||
|
.. nonce: r5MXdB
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fix the set_inheritable() file descriptor method on platforms that do not
|
||||||
|
have the ioctl FIOCLEX and FIONCLEX commands.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 26920
|
||||||
|
.. date: 9775
|
||||||
|
.. nonce: 1URwGb
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fix not getting the locale's charset upon initializing the interpreter, on
|
||||||
|
platforms that do not have langinfo.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28648
|
||||||
|
.. date: 9774
|
||||||
|
.. nonce: z7B52W
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fixed crash in Py_DecodeLocale() in debug build on Mac OS X when decode
|
||||||
|
astral characters. Patch by Xiang Zhang.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 19398
|
||||||
|
.. date: 9773
|
||||||
|
.. nonce: RYbEGH
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Extra slash no longer added to sys.path components in case of empty compile-
|
||||||
|
time PYTHONPATH components.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28665
|
||||||
|
.. date: 9772
|
||||||
|
.. nonce: v4nx86
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Improve speed of the STORE_DEREF opcode by 40%.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28583
|
||||||
|
.. date: 9771
|
||||||
|
.. nonce: F-QAx1
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
PyDict_SetDefault didn't combine split table when needed. Patch by Xiang
|
||||||
|
Zhang.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27243
|
||||||
|
.. date: 9770
|
||||||
|
.. nonce: 61E6K5
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Change PendingDeprecationWarning -> DeprecationWarning. As it was agreed in
|
||||||
|
the issue, __aiter__ returning an awaitable should result in
|
||||||
|
PendingDeprecationWarning in 3.5 and in DeprecationWarning in 3.6.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 26182
|
||||||
|
.. date: 9769
|
||||||
|
.. nonce: a8JXK2
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fix a refleak in code that raises DeprecationWarning.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28721
|
||||||
|
.. date: 9768
|
||||||
|
.. nonce: BO9BUF
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fix asynchronous generators aclose() and athrow() to handle
|
||||||
|
StopAsyncIteration propagation properly.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28752
|
||||||
|
.. date: 9767
|
||||||
|
.. nonce: Q-4oRE
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Restored the __reduce__() methods of datetime objects.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28727
|
||||||
|
.. date: 9766
|
||||||
|
.. nonce: ubZP_b
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Regular expression patterns, _sre.SRE_Pattern objects created by
|
||||||
|
re.compile(), become comparable (only x==y and x!=y operators). This change
|
||||||
|
should fix the issue #18383: don't duplicate warning filters when the
|
||||||
|
warnings module is reloaded (thing usually only done in unit tests).
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 20572
|
||||||
|
.. date: 9765
|
||||||
|
.. nonce: lGXaH9
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
The subprocess.Popen.wait method's undocumented endtime parameter now raises
|
||||||
|
a DeprecationWarning.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 25659
|
||||||
|
.. date: 9764
|
||||||
|
.. nonce: lE2IlT
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
In ctypes, prevent a crash calling the from_buffer() and from_buffer_copy()
|
||||||
|
methods on abstract classes like Array.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 19717
|
||||||
|
.. date: 9763
|
||||||
|
.. nonce: HXCAIz
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Makes Path.resolve() succeed on paths that do not exist. Patch by Vajrasky
|
||||||
|
Kok
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28563
|
||||||
|
.. date: 9762
|
||||||
|
.. nonce: iweEiw
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fixed possible DoS and arbitrary code execution when handle plural form
|
||||||
|
selections in the gettext module. The expression parser now supports exact
|
||||||
|
syntax supported by GNU gettext.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28387
|
||||||
|
.. date: 9761
|
||||||
|
.. nonce: 1clJu7
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fixed possible crash in _io.TextIOWrapper deallocator when the garbage
|
||||||
|
collector is invoked in other thread. Based on patch by Sebastian Cufre.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28600
|
||||||
|
.. date: 9760
|
||||||
|
.. nonce: wMVrjN
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Optimize loop.call_soon.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28613
|
||||||
|
.. date: 9759
|
||||||
|
.. nonce: sqUPrv
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix get_event_loop() return the current loop if called from
|
||||||
|
coroutines/callbacks.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28634
|
||||||
|
.. date: 9758
|
||||||
|
.. nonce: YlRydz
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix asyncio.isfuture() to support unittest.Mock.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 26081
|
||||||
|
.. date: 9757
|
||||||
|
.. nonce: 2Y8-a9
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix refleak in _asyncio.Future.__iter__().throw.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28639
|
||||||
|
.. date: 9756
|
||||||
|
.. nonce: WUPo1o
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix inspect.isawaitable to always return bool Patch by Justin Mayfield.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28652
|
||||||
|
.. date: 9755
|
||||||
|
.. nonce: f5M8FG
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Make loop methods reject socket kinds they do not support.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28653
|
||||||
|
.. date: 9754
|
||||||
|
.. nonce: S5bA9i
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix a refleak in functools.lru_cache.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28703
|
||||||
|
.. date: 9753
|
||||||
|
.. nonce: CRLTJc
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix asyncio.iscoroutinefunction to handle Mock objects.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28704
|
||||||
|
.. date: 9752
|
||||||
|
.. nonce: EFWBII
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix create_unix_server to support Path-like objects (PEP 519).
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28720
|
||||||
|
.. date: 9751
|
||||||
|
.. nonce: Fsz-Lf
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Add collections.abc.AsyncGenerator.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28513
|
||||||
|
.. date: 9750
|
||||||
|
.. nonce: L3joAz
|
||||||
|
.. section: Documentation
|
||||||
|
|
||||||
|
Documented command-line interface of zipfile.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28666
|
||||||
|
.. date: 9749
|
||||||
|
.. nonce: RtTk-4
|
||||||
|
.. section: Tests
|
||||||
|
|
||||||
|
Now test.support.rmtree is able to remove unwritable or unreadable
|
||||||
|
directories.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23839
|
||||||
|
.. date: 9748
|
||||||
|
.. nonce: zsT_L9
|
||||||
|
.. section: Tests
|
||||||
|
|
||||||
|
Various caches now are cleared before running every test file.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 10656
|
||||||
|
.. date: 9747
|
||||||
|
.. nonce: pR8FFU
|
||||||
|
.. section: Build
|
||||||
|
|
||||||
|
Fix out-of-tree building on AIX. Patch by Tristan Carel and Michael
|
||||||
|
Haubenwallner.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 26359
|
||||||
|
.. date: 9746
|
||||||
|
.. nonce: CLz6qy
|
||||||
|
.. section: Build
|
||||||
|
|
||||||
|
Rename --with-optimiations to --enable-optimizations.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28676
|
||||||
|
.. date: 9745
|
||||||
|
.. nonce: Wxf6Ds
|
||||||
|
.. section: Build
|
||||||
|
|
||||||
|
Prevent missing 'getentropy' declaration warning on macOS. Patch by Gareth
|
||||||
|
Rees.
|
122
Misc/NEWS.d/3.6.0rc1.rst
Normal file
122
Misc/NEWS.d/3.6.0rc1.rst
Normal file
|
@ -0,0 +1,122 @@
|
||||||
|
.. bpo: 23722
|
||||||
|
.. date: 9790
|
||||||
|
.. nonce: e8BH5h
|
||||||
|
.. release date: 2016-12-06
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Rather than silently producing a class that doesn't support zero-argument
|
||||||
|
``super()`` in methods, failing to pass the new ``__classcell__`` namespace
|
||||||
|
entry up to ``type.__new__`` now results in a ``DeprecationWarning`` and a
|
||||||
|
class that supports zero-argument ``super()``.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28797
|
||||||
|
.. date: 9789
|
||||||
|
.. nonce: _A0_Z5
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Modifying the class __dict__ inside the __set_name__ method of a descriptor
|
||||||
|
that is used inside that class no longer prevents calling the __set_name__
|
||||||
|
method of other descriptors.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28782
|
||||||
|
.. date: 9788
|
||||||
|
.. nonce: foJV_E
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fix a bug in the implementation ``yield from`` when checking if the next
|
||||||
|
instruction is YIELD_FROM. Regression introduced by WORDCODE (issue #26647).
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27030
|
||||||
|
.. date: 9787
|
||||||
|
.. nonce: 88FOrz
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Unknown escapes in re.sub() replacement template are allowed again. But
|
||||||
|
they still are deprecated and will be disabled in 3.7.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28835
|
||||||
|
.. date: 9786
|
||||||
|
.. nonce: Fv7Dr1
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix a regression introduced in warnings.catch_warnings(): call
|
||||||
|
warnings.showwarning() if it was overriden inside the context manager.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27172
|
||||||
|
.. date: 9785
|
||||||
|
.. nonce: mVKfLT
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
To assist with upgrades from 2.7, the previously documented deprecation of
|
||||||
|
``inspect.getfullargspec()`` has been reversed. This decision may be
|
||||||
|
revisited again after the Python 2.7 branch is no longer officially
|
||||||
|
supported.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 26273
|
||||||
|
.. date: 9784
|
||||||
|
.. nonce: ilNIWN
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Add new :data:`socket.TCP_CONGESTION` (Linux 2.6.13) and
|
||||||
|
:data:`socket.TCP_USER_TIMEOUT` (Linux 2.6.37) constants. Patch written by
|
||||||
|
Omar Sandoval.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24142
|
||||||
|
.. date: 9783
|
||||||
|
.. nonce: IrZnFs
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Reading a corrupt config file left configparser in an invalid state.
|
||||||
|
Original patch by Florian Höch.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28843
|
||||||
|
.. date: 9782
|
||||||
|
.. nonce: O7M0LE
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix asyncio C Task to handle exceptions __traceback__.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28808
|
||||||
|
.. date: 9781
|
||||||
|
.. nonce: A03X6r
|
||||||
|
.. section: C API
|
||||||
|
|
||||||
|
PyUnicode_CompareWithASCIIString() now never raises exceptions.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23722
|
||||||
|
.. date: 9780
|
||||||
|
.. nonce: 6HX6fk
|
||||||
|
.. section: Documentation
|
||||||
|
|
||||||
|
The data model reference and the porting section in the What's New guide now
|
||||||
|
cover the additional ``__classcell__`` handling needed for custom
|
||||||
|
metaclasses to fully support PEP 487 and zero-argument ``super()``.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28023
|
||||||
|
.. date: 9779
|
||||||
|
.. nonce: 4gzSGp
|
||||||
|
.. section: Tools/Demos
|
||||||
|
|
||||||
|
Fix python-gdb.py didn't support new dict implementation.
|
45
Misc/NEWS.d/3.6.0rc2.rst
Normal file
45
Misc/NEWS.d/3.6.0rc2.rst
Normal file
|
@ -0,0 +1,45 @@
|
||||||
|
.. bpo: 28147
|
||||||
|
.. date: 9795
|
||||||
|
.. nonce: CnK_xf
|
||||||
|
.. release date: 2016-12-16
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fix a memory leak in split-table dictionaries: setattr() must not convert
|
||||||
|
combined table into split table. Patch written by INADA Naoki.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28990
|
||||||
|
.. date: 9794
|
||||||
|
.. nonce: m8xRMJ
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fix asyncio SSL hanging if connection is closed before handshake is
|
||||||
|
completed. (Patch by HoHo-Ho)
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28770
|
||||||
|
.. date: 9793
|
||||||
|
.. nonce: N9GQsz
|
||||||
|
.. section: Tools/Demos
|
||||||
|
|
||||||
|
Fix python-gdb.py for fastcalls.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28896
|
||||||
|
.. date: 9792
|
||||||
|
.. nonce: ymAbmH
|
||||||
|
.. section: Windows
|
||||||
|
|
||||||
|
Deprecate WindowsRegistryFinder.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28898
|
||||||
|
.. date: 9791
|
||||||
|
.. nonce: YGUd_i
|
||||||
|
.. section: Build
|
||||||
|
|
||||||
|
Prevent gdb build errors due to HAVE_LONG_LONG redefinition.
|
31
Misc/NEWS.d/3.6.1.rst
Normal file
31
Misc/NEWS.d/3.6.1.rst
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
.. bpo: 29723
|
||||||
|
.. date: 9895
|
||||||
|
.. nonce: M5omgP
|
||||||
|
.. release date: 2017-03-21
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
The ``sys.path[0]`` initialization change for bpo-29139 caused a regression
|
||||||
|
by revealing an inconsistency in how sys.path is initialized when executing
|
||||||
|
``__main__`` from a zipfile, directory, or other import location. The
|
||||||
|
interpreter now consistently avoids ever adding the import location's parent
|
||||||
|
directory to ``sys.path``, and ensures no other ``sys.path`` entries are
|
||||||
|
inadvertently modified when inserting the import location named on the
|
||||||
|
command line.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27593
|
||||||
|
.. date: 9894
|
||||||
|
.. nonce: nk7Etn
|
||||||
|
.. section: Build
|
||||||
|
|
||||||
|
fix format of git information used in sys.version
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 0
|
||||||
|
.. date: 9893
|
||||||
|
.. nonce: usKKNQ
|
||||||
|
.. section: Build
|
||||||
|
|
||||||
|
Fix incompatible comment in python.h
|
940
Misc/NEWS.d/3.6.1rc1.rst
Normal file
940
Misc/NEWS.d/3.6.1rc1.rst
Normal file
|
@ -0,0 +1,940 @@
|
||||||
|
.. bpo: 28893
|
||||||
|
.. date: 9892
|
||||||
|
.. nonce: WTKnpj
|
||||||
|
.. release date: 2017-03-04
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Set correct __cause__ for errors about invalid awaitables returned from
|
||||||
|
__aiter__ and __anext__.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29683
|
||||||
|
.. date: 9891
|
||||||
|
.. nonce: G5iS-P
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fixes to memory allocation in _PyCode_SetExtra. Patch by Brian Coleman.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29684
|
||||||
|
.. date: 9890
|
||||||
|
.. nonce: wTgEoh
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fix minor regression of PyEval_CallObjectWithKeywords. It should raise
|
||||||
|
TypeError when kwargs is not a dict. But it might cause segv when args=NULL
|
||||||
|
and kwargs is not a dict.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28598
|
||||||
|
.. date: 9889
|
||||||
|
.. nonce: QxbzQn
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Support __rmod__ for subclasses of str being called before str.__mod__.
|
||||||
|
Patch by Martijn Pieters.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29607
|
||||||
|
.. date: 9888
|
||||||
|
.. nonce: 7NvBA1
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fix stack_effect computation for CALL_FUNCTION_EX. Patch by Matthieu
|
||||||
|
Dartiailh.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29602
|
||||||
|
.. date: 9887
|
||||||
|
.. nonce: qyyskC
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fix incorrect handling of signed zeros in complex constructor for complex
|
||||||
|
subclasses and for inputs having a __complex__ method. Patch by Serhiy
|
||||||
|
Storchaka.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29347
|
||||||
|
.. date: 9886
|
||||||
|
.. nonce: 1RPPGN
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fixed possibly dereferencing undefined pointers when creating weakref
|
||||||
|
objects.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29438
|
||||||
|
.. date: 9885
|
||||||
|
.. nonce: IKxD6I
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fixed use-after-free problem in key sharing dict.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29319
|
||||||
|
.. date: 9884
|
||||||
|
.. nonce: KLDUZf
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Prevent RunMainFromImporter overwriting sys.path[0].
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29337
|
||||||
|
.. date: 9883
|
||||||
|
.. nonce: bjX8AE
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fixed possible BytesWarning when compare the code objects. Warnings could be
|
||||||
|
emitted at compile time.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29327
|
||||||
|
.. date: 9882
|
||||||
|
.. nonce: XXQarW
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fixed a crash when pass the iterable keyword argument to sorted().
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29034
|
||||||
|
.. date: 9881
|
||||||
|
.. nonce: 7-uEDT
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fix memory leak and use-after-free in os module (path_converter).
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29159
|
||||||
|
.. date: 9880
|
||||||
|
.. nonce: gEn_kP
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fix regression in bytes(x) when x.__index__() raises Exception.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28932
|
||||||
|
.. date: 9879
|
||||||
|
.. nonce: QnLx8A
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Do not include <sys/random.h> if it does not exist.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 25677
|
||||||
|
.. date: 9878
|
||||||
|
.. nonce: RWhZrb
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Correct the positioning of the syntax error caret for indented blocks.
|
||||||
|
Based on patch by Michael Layzell.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29000
|
||||||
|
.. date: 9877
|
||||||
|
.. nonce: K6wQ-3
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fixed bytes formatting of octals with zero padding in alternate form.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 26919
|
||||||
|
.. date: 9876
|
||||||
|
.. nonce: Cm7MSa
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
On Android, operating system data is now always encoded/decoded to/from
|
||||||
|
UTF-8, instead of the locale encoding to avoid inconsistencies with
|
||||||
|
os.fsencode() and os.fsdecode() which are already using UTF-8.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28991
|
||||||
|
.. date: 9875
|
||||||
|
.. nonce: lGA0FK
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
functools.lru_cache() was susceptible to an obscure reentrancy bug
|
||||||
|
triggerable by a monkey-patched len() function.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28739
|
||||||
|
.. date: 9874
|
||||||
|
.. nonce: w1fvhk
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
f-string expressions are no longer accepted as docstrings and by
|
||||||
|
ast.literal_eval() even if they do not include expressions.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28512
|
||||||
|
.. date: 9873
|
||||||
|
.. nonce: i-pv6d
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fixed setting the offset attribute of SyntaxError by
|
||||||
|
PyErr_SyntaxLocationEx() and PyErr_SyntaxLocationObject().
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28918
|
||||||
|
.. date: 9872
|
||||||
|
.. nonce: SFVuPz
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fix the cross compilation of xxlimited when Python has been built with
|
||||||
|
Py_DEBUG defined.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28731
|
||||||
|
.. date: 9871
|
||||||
|
.. nonce: oNF59u
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Optimize _PyDict_NewPresized() to create correct size dict. Improve speed of
|
||||||
|
dict literal with constant keys up to 30%.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29169
|
||||||
|
.. date: 9870
|
||||||
|
.. nonce: 8ypApm
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Update zlib to 1.2.11.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29623
|
||||||
|
.. date: 9869
|
||||||
|
.. nonce: D3-NP2
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Allow use of path-like object as a single argument in ConfigParser.read().
|
||||||
|
Patch by David Ellis.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28963
|
||||||
|
.. date: 9868
|
||||||
|
.. nonce: tPl8dq
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix out of bound iteration in asyncio.Future.remove_done_callback
|
||||||
|
implemented in C.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29704
|
||||||
|
.. date: 9867
|
||||||
|
.. nonce: r-kWqv
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
asyncio.subprocess.SubprocessStreamProtocol no longer closes before all
|
||||||
|
pipes are closed.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29271
|
||||||
|
.. date: 9866
|
||||||
|
.. nonce: y8Vj2v
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix Task.current_task and Task.all_tasks implemented in C to accept None
|
||||||
|
argument as their pure Python implementation.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29703
|
||||||
|
.. date: 9865
|
||||||
|
.. nonce: ZdsPCR
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix asyncio to support instantiation of new event loops in child processes.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29376
|
||||||
|
.. date: 9864
|
||||||
|
.. nonce: rrJhJy
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix assertion error in threading._DummyThread.is_alive().
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28624
|
||||||
|
.. date: 9863
|
||||||
|
.. nonce: 43TJib
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Add a test that checks that cwd parameter of Popen() accepts PathLike
|
||||||
|
objects. Patch by Sayan Chowdhury.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28518
|
||||||
|
.. date: 9862
|
||||||
|
.. nonce: o-Q2Nw
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Start a transaction implicitly before a DML statement. Patch by Aviv
|
||||||
|
Palivoda.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29532
|
||||||
|
.. date: 9861
|
||||||
|
.. nonce: YCwVQn
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Altering a kwarg dictionary passed to functools.partial() no longer affects
|
||||||
|
a partial object after creation.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29110
|
||||||
|
.. date: 9860
|
||||||
|
.. nonce: wmE-_T
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix file object leak in aifc.open() when file is given as a filesystem path
|
||||||
|
and is not in valid AIFF format. Patch by Anthony Zhang.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28556
|
||||||
|
.. date: 9859
|
||||||
|
.. nonce: p6967e
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Various updates to typing module: typing.Counter, typing.ChainMap, improved
|
||||||
|
ABC caching, etc. Original PRs by Jelle Zijlstra, Ivan Levkivskyi, Manuel
|
||||||
|
Krebber, and Łukasz Langa.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29100
|
||||||
|
.. date: 9858
|
||||||
|
.. nonce: LAAERS
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix datetime.fromtimestamp() regression introduced in Python 3.6.0: check
|
||||||
|
minimum and maximum years.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29519
|
||||||
|
.. date: 9857
|
||||||
|
.. nonce: oGGgZ4
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix weakref spewing exceptions during interpreter shutdown when used with a
|
||||||
|
rare combination of multiprocessing and custom codecs.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29416
|
||||||
|
.. date: 9856
|
||||||
|
.. nonce: KJGyI_
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Prevent infinite loop in pathlib.Path.mkdir
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29444
|
||||||
|
.. date: 9855
|
||||||
|
.. nonce: cEwgmk
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fixed out-of-bounds buffer access in the group() method of the match object.
|
||||||
|
Based on patch by WGH.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29335
|
||||||
|
.. date: 9854
|
||||||
|
.. nonce: _KC7IK
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix subprocess.Popen.wait() when the child process has exited to a stopped
|
||||||
|
instead of terminated state (ex: when under ptrace).
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29290
|
||||||
|
.. date: 9853
|
||||||
|
.. nonce: XBqptF
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix a regression in argparse that help messages would wrap at non-breaking
|
||||||
|
spaces.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28735
|
||||||
|
.. date: 9852
|
||||||
|
.. nonce: admHLO
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fixed the comparison of mock.MagickMock with mock.ANY.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29316
|
||||||
|
.. date: 9851
|
||||||
|
.. nonce: OeOQw5
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Restore the provisional status of typing module, add corresponding note to
|
||||||
|
documentation. Patch by Ivan L.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29219
|
||||||
|
.. date: 9850
|
||||||
|
.. nonce: kxui7t
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fixed infinite recursion in the repr of uninitialized ctypes.CDLL instances.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29011
|
||||||
|
.. date: 9849
|
||||||
|
.. nonce: MI5f2R
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix an important omission by adding Deque to the typing module.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28969
|
||||||
|
.. date: 9848
|
||||||
|
.. nonce: j3HJYO
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fixed race condition in C implementation of functools.lru_cache. KeyError
|
||||||
|
could be raised when cached function with full cache was simultaneously
|
||||||
|
called from differen threads with the same uncached arguments.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29142
|
||||||
|
.. date: 9847
|
||||||
|
.. nonce: xo6kAv
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
In urllib.request, suffixes in no_proxy environment variable with leading
|
||||||
|
dots could match related hostnames again (e.g. .b.c matches a.b.c). Patch by
|
||||||
|
Milan Oberkirch.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28961
|
||||||
|
.. date: 9846
|
||||||
|
.. nonce: Rt93vg
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix unittest.mock._Call helper: don't ignore the name parameter anymore.
|
||||||
|
Patch written by Jiajun Huang.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29203
|
||||||
|
.. date: 9845
|
||||||
|
.. nonce: kN5S6v
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
functools.lru_cache() now respects PEP 468 and preserves the order of
|
||||||
|
keyword arguments. f(a=1, b=2) is now cached separately from f(b=2, a=1)
|
||||||
|
since both calls could potentially give different results.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 15812
|
||||||
|
.. date: 9844
|
||||||
|
.. nonce: R1U-Ec
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
inspect.getframeinfo() now correctly shows the first line of a context.
|
||||||
|
Patch by Sam Breese.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29094
|
||||||
|
.. date: 9843
|
||||||
|
.. nonce: 460ZQo
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Offsets in a ZIP file created with extern file object and modes "w" and "x"
|
||||||
|
now are relative to the start of the file.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29085
|
||||||
|
.. date: 9842
|
||||||
|
.. nonce: bm3gkx
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Allow random.Random.seed() to use high quality OS randomness rather than the
|
||||||
|
pid and time.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29061
|
||||||
|
.. date: 9841
|
||||||
|
.. nonce: YKq0Ba
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fixed bug in secrets.randbelow() which would hang when given a negative
|
||||||
|
input. Patch by Brendan Donegan.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29079
|
||||||
|
.. date: 9840
|
||||||
|
.. nonce: g4YLix
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Prevent infinite loop in pathlib.resolve() on Windows
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 13051
|
||||||
|
.. date: 9839
|
||||||
|
.. nonce: YzC1Te
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fixed recursion errors in large or resized curses.textpad.Textbox. Based on
|
||||||
|
patch by Tycho Andersen.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29119
|
||||||
|
.. date: 9838
|
||||||
|
.. nonce: Ov69fr
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix weakrefs in the pure python version of collections.OrderedDict
|
||||||
|
move_to_end() method. Contributed by Andra Bogildea.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 9770
|
||||||
|
.. date: 9837
|
||||||
|
.. nonce: WJJnwP
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
curses.ascii predicates now work correctly with negative integers.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28427
|
||||||
|
.. date: 9836
|
||||||
|
.. nonce: vUd-va
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
old keys should not remove new values from WeakValueDictionary when
|
||||||
|
collecting from another thread.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28923
|
||||||
|
.. date: 9835
|
||||||
|
.. nonce: naVULD
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Remove editor artifacts from Tix.py.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29055
|
||||||
|
.. date: 9834
|
||||||
|
.. nonce: -r_9jc
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Neaten-up empty population error on random.choice() by suppressing the
|
||||||
|
upstream exception.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28871
|
||||||
|
.. date: 9833
|
||||||
|
.. nonce: cPMXCJ
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fixed a crash when deallocate deep ElementTree.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 19542
|
||||||
|
.. date: 9832
|
||||||
|
.. nonce: 5tCkaK
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix bugs in WeakValueDictionary.setdefault() and WeakValueDictionary.pop()
|
||||||
|
when a GC collection happens in another thread.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 20191
|
||||||
|
.. date: 9831
|
||||||
|
.. nonce: Q7uZCS
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fixed a crash in resource.prlimit() when passing a sequence that doesn't own
|
||||||
|
its elements as limits.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28779
|
||||||
|
.. date: 9830
|
||||||
|
.. nonce: t-mjED
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
multiprocessing.set_forkserver_preload() would crash the forkserver process
|
||||||
|
if a preloaded module instantiated some multiprocessing objects such as
|
||||||
|
locks.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28847
|
||||||
|
.. date: 9829
|
||||||
|
.. nonce: J7d3nG
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
dbm.dumb now supports reading read-only files and no longer writes the index
|
||||||
|
file when it is not changed.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 26937
|
||||||
|
.. date: 9828
|
||||||
|
.. nonce: c9kgiA
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
The chown() method of the tarfile.TarFile class does not fail now when the
|
||||||
|
grp module cannot be imported, as for example on Android platforms.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29071
|
||||||
|
.. date: 9827
|
||||||
|
.. nonce: FCOpJn
|
||||||
|
.. section: IDLE
|
||||||
|
|
||||||
|
IDLE colors f-string prefixes (but not invalid ur prefixes).
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28572
|
||||||
|
.. date: 9826
|
||||||
|
.. nonce: 1_duKY
|
||||||
|
.. section: IDLE
|
||||||
|
|
||||||
|
Add 10% to coverage of IDLE's test_configdialog. Update and augment
|
||||||
|
description of the configuration system.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29579
|
||||||
|
.. date: 9825
|
||||||
|
.. nonce: Ih-G2Q
|
||||||
|
.. section: Windows
|
||||||
|
|
||||||
|
Removes readme.txt from the installer
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29326
|
||||||
|
.. date: 9824
|
||||||
|
.. nonce: 4qDQzs
|
||||||
|
.. section: Windows
|
||||||
|
|
||||||
|
Ignores blank lines in ._pth files (Patch by Alexey Izbyshev)
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28164
|
||||||
|
.. date: 9823
|
||||||
|
.. nonce: h4CFX8
|
||||||
|
.. section: Windows
|
||||||
|
|
||||||
|
Correctly handle special console filenames (patch by Eryk Sun)
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29409
|
||||||
|
.. date: 9822
|
||||||
|
.. nonce: bhvrJ2
|
||||||
|
.. section: Windows
|
||||||
|
|
||||||
|
Implement PEP 529 for io.FileIO (Patch by Eryk Sun)
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29392
|
||||||
|
.. date: 9821
|
||||||
|
.. nonce: OtqS5t
|
||||||
|
.. section: Windows
|
||||||
|
|
||||||
|
Prevent crash when passing invalid arguments into msvcrt module.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 25778
|
||||||
|
.. date: 9820
|
||||||
|
.. nonce: 8uKJ82
|
||||||
|
.. section: Windows
|
||||||
|
|
||||||
|
winreg does not truncate string correctly (Patch by Eryk Sun)
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28896
|
||||||
|
.. date: 9819
|
||||||
|
.. nonce: VMi9w0
|
||||||
|
.. section: Windows
|
||||||
|
|
||||||
|
Deprecate WindowsRegistryFinder and disable it by default.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27867
|
||||||
|
.. date: 9818
|
||||||
|
.. nonce: UC5ohc
|
||||||
|
.. section: C API
|
||||||
|
|
||||||
|
Function PySlice_GetIndicesEx() is replaced with a macro if Py_LIMITED_API
|
||||||
|
is not set or set to the value between 0x03050400 and 0x03060000 (not
|
||||||
|
including) or 0x03060100 or higher.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29083
|
||||||
|
.. date: 9817
|
||||||
|
.. nonce: tGTjr_
|
||||||
|
.. section: C API
|
||||||
|
|
||||||
|
Fixed the declaration of some public API functions. PyArg_VaParse() and
|
||||||
|
PyArg_VaParseTupleAndKeywords() were not available in limited API.
|
||||||
|
PyArg_ValidateKeywordArguments(), PyArg_UnpackTuple() and Py_BuildValue()
|
||||||
|
were not available in limited API of version < 3.3 when PY_SSIZE_T_CLEAN is
|
||||||
|
defined.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29058
|
||||||
|
.. date: 9816
|
||||||
|
.. nonce: 0wNVP8
|
||||||
|
.. section: C API
|
||||||
|
|
||||||
|
All stable API extensions added after Python 3.2 are now available only when
|
||||||
|
Py_LIMITED_API is set to the PY_VERSION_HEX value of the minimum Python
|
||||||
|
version supporting this API.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28929
|
||||||
|
.. date: 9815
|
||||||
|
.. nonce: Md7kb0
|
||||||
|
.. section: Documentation
|
||||||
|
|
||||||
|
Link the documentation to its source file on GitHub.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 25008
|
||||||
|
.. date: 9814
|
||||||
|
.. nonce: CeIzyU
|
||||||
|
.. section: Documentation
|
||||||
|
|
||||||
|
Document smtpd.py as effectively deprecated and add a pointer to aiosmtpd, a
|
||||||
|
third-party asyncio-based replacement.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 26355
|
||||||
|
.. date: 9813
|
||||||
|
.. nonce: SDq_8Y
|
||||||
|
.. section: Documentation
|
||||||
|
|
||||||
|
Add canonical header link on each page to corresponding major version of the
|
||||||
|
documentation. Patch by Matthias Bussonnier.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29349
|
||||||
|
.. date: 9812
|
||||||
|
.. nonce: PjSo-t
|
||||||
|
.. section: Documentation
|
||||||
|
|
||||||
|
Fix Python 2 syntax in code for building the documentation.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28087
|
||||||
|
.. date: 9811
|
||||||
|
.. nonce: m8dc4R
|
||||||
|
.. section: Tests
|
||||||
|
|
||||||
|
Skip test_asyncore and test_eintr poll failures on macOS. Skip some tests of
|
||||||
|
select.poll when running on macOS due to unresolved issues with the
|
||||||
|
underlying system poll function on some macOS versions.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29571
|
||||||
|
.. date: 9810
|
||||||
|
.. nonce: r6Dixr
|
||||||
|
.. section: Tests
|
||||||
|
|
||||||
|
to match the behaviour of the ``re.LOCALE`` flag, test_re.test_locale_flag
|
||||||
|
now uses ``locale.getpreferredencoding(False)`` to determine the candidate
|
||||||
|
encoding for the test regex (allowing it to correctly skip the test when the
|
||||||
|
default locale encoding is a multi-byte encoding)
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28950
|
||||||
|
.. date: 9809
|
||||||
|
.. nonce: 1W8Glo
|
||||||
|
.. section: Tests
|
||||||
|
|
||||||
|
Disallow -j0 to be combined with -T/-l in regrtest command line arguments.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28683
|
||||||
|
.. date: 9808
|
||||||
|
.. nonce: Fp-Hdq
|
||||||
|
.. section: Tests
|
||||||
|
|
||||||
|
Fix the tests that bind() a unix socket and raise PermissionError on Android
|
||||||
|
for a non-root user.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 26939
|
||||||
|
.. date: 9807
|
||||||
|
.. nonce: 7j_W5R
|
||||||
|
.. section: Tests
|
||||||
|
|
||||||
|
Add the support.setswitchinterval() function to fix test_functools hanging
|
||||||
|
on the Android armv7 qemu emulator.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27593
|
||||||
|
.. date: 9806
|
||||||
|
.. nonce: v87xEr
|
||||||
|
.. section: Build
|
||||||
|
|
||||||
|
sys.version and the platform module python_build(), python_branch(), and
|
||||||
|
python_revision() functions now use git information rather than hg when
|
||||||
|
building from a repo.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29572
|
||||||
|
.. date: 9805
|
||||||
|
.. nonce: iZ1XKK
|
||||||
|
.. section: Build
|
||||||
|
|
||||||
|
Update Windows build and OS X installers to use OpenSSL 1.0.2k.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 26851
|
||||||
|
.. date: 9804
|
||||||
|
.. nonce: R5243g
|
||||||
|
.. section: Build
|
||||||
|
|
||||||
|
Set Android compilation and link flags.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28768
|
||||||
|
.. date: 9803
|
||||||
|
.. nonce: b9_a6E
|
||||||
|
.. section: Build
|
||||||
|
|
||||||
|
Fix implicit declaration of function _setmode. Patch by Masayuki Yamamoto
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29080
|
||||||
|
.. date: 9802
|
||||||
|
.. nonce: b3qLQT
|
||||||
|
.. section: Build
|
||||||
|
|
||||||
|
Removes hard dependency on hg.exe from PCBuild/build.bat
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23903
|
||||||
|
.. date: 9801
|
||||||
|
.. nonce: JXJ889
|
||||||
|
.. section: Build
|
||||||
|
|
||||||
|
Added missed names to PC/python3.def.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28762
|
||||||
|
.. date: 9800
|
||||||
|
.. nonce: Ru0YN_
|
||||||
|
.. section: Build
|
||||||
|
|
||||||
|
lockf() is available on Android API level 24, but the F_LOCK macro is not
|
||||||
|
defined in android-ndk-r13.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28538
|
||||||
|
.. date: 9799
|
||||||
|
.. nonce: FqtN7v
|
||||||
|
.. section: Build
|
||||||
|
|
||||||
|
Fix the compilation error that occurs because if_nameindex() is available on
|
||||||
|
Android API level 24, but the if_nameindex structure is not defined.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 20211
|
||||||
|
.. date: 9798
|
||||||
|
.. nonce: gpNptI
|
||||||
|
.. section: Build
|
||||||
|
|
||||||
|
Do not add the directory for installing C header files and the directory for
|
||||||
|
installing object code libraries to the cross compilation search paths.
|
||||||
|
Original patch by Thomas Petazzoni.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28849
|
||||||
|
.. date: 9797
|
||||||
|
.. nonce: AzRRF5
|
||||||
|
.. section: Build
|
||||||
|
|
||||||
|
Do not define sys.implementation._multiarch on Android.
|
7
Misc/NEWS.d/3.6.2.rst
Normal file
7
Misc/NEWS.d/3.6.2.rst
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
.. bpo: 0
|
||||||
|
.. date: 9993
|
||||||
|
.. no changes: True
|
||||||
|
.. nonce: F9ENBV
|
||||||
|
.. release date: 2017-07-17
|
||||||
|
|
||||||
|
No changes since release candidate 2
|
942
Misc/NEWS.d/3.6.2rc1.rst
Normal file
942
Misc/NEWS.d/3.6.2rc1.rst
Normal file
|
@ -0,0 +1,942 @@
|
||||||
|
.. bpo: 30682
|
||||||
|
.. date: 9989
|
||||||
|
.. nonce: zZm88E
|
||||||
|
.. release date: 2017-06-17
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Removed a too-strict assertion that failed for certain f-strings, such as
|
||||||
|
eval("f'\\\n'") and eval("f'\\\r'").
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 30604
|
||||||
|
.. date: 9988
|
||||||
|
.. nonce: W47hPY
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Move co_extra_freefuncs to not be per-thread to avoid crashes
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29104
|
||||||
|
.. date: 9987
|
||||||
|
.. nonce: u26yCx
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fixed parsing backslashes in f-strings.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27945
|
||||||
|
.. date: 9986
|
||||||
|
.. nonce: p29r3O
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fixed various segfaults with dict when input collections are mutated during
|
||||||
|
searching, inserting or comparing. Based on patches by Duane Griffin and
|
||||||
|
Tim Mitchell.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 25794
|
||||||
|
.. date: 9985
|
||||||
|
.. nonce: xfPwqm
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fixed type.__setattr__() and type.__delattr__() for non-interned attribute
|
||||||
|
names. Based on patch by Eryk Sun.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 30039
|
||||||
|
.. date: 9984
|
||||||
|
.. nonce: e0u4DG
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
If a KeyboardInterrupt happens when the interpreter is in the middle of
|
||||||
|
resuming a chain of nested 'yield from' or 'await' calls, it's now correctly
|
||||||
|
delivered to the innermost frame.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 12414
|
||||||
|
.. date: 9983
|
||||||
|
.. nonce: T9ix8O
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
sys.getsizeof() on a code object now returns the sizes which includes the
|
||||||
|
code struct and sizes of objects which it references. Patch by Dong-hee Na.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29949
|
||||||
|
.. date: 9982
|
||||||
|
.. nonce: DevGPS
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fix memory usage regression of set and frozenset object.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29935
|
||||||
|
.. date: 9981
|
||||||
|
.. nonce: vgjdJo
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fixed error messages in the index() method of tuple, list and deque when
|
||||||
|
pass indices of wrong type.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29859
|
||||||
|
.. date: 9980
|
||||||
|
.. nonce: Z1MLcA
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Show correct error messages when any of the pthread_* calls in
|
||||||
|
thread_pthread.h fails.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28876
|
||||||
|
.. date: 9979
|
||||||
|
.. nonce: cU-sGT
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
``bool(range)`` works even if ``len(range)`` raises :exc:`OverflowError`.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29600
|
||||||
|
.. date: 9978
|
||||||
|
.. nonce: 77wQ6C
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fix wrapping coroutine return values in StopIteration.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28856
|
||||||
|
.. date: 9977
|
||||||
|
.. nonce: AFRmo4
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fix an oversight that %b format for bytes should support objects follow the
|
||||||
|
buffer protocol.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29714
|
||||||
|
.. date: 9976
|
||||||
|
.. nonce: z-BhVd
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fix a regression that bytes format may fail when containing zero bytes
|
||||||
|
inside.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29478
|
||||||
|
.. date: 9975
|
||||||
|
.. nonce: rTQ-qy
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
If max_line_length=None is specified while using the Compat32 policy, it is
|
||||||
|
no longer ignored. Patch by Mircea Cosbuc.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 30616
|
||||||
|
.. date: 9974
|
||||||
|
.. nonce: I2mDTz
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Functional API of enum allows to create empty enums. Patched by Dong-hee Na
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 30038
|
||||||
|
.. date: 9973
|
||||||
|
.. nonce: vb4DWk
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix race condition between signal delivery and wakeup file descriptor.
|
||||||
|
Patch by Nathaniel Smith.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23894
|
||||||
|
.. date: 9972
|
||||||
|
.. nonce: k2pADV
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
lib2to3 now recognizes ``rb'...'`` and ``f'...'`` strings.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23890
|
||||||
|
.. date: 9971
|
||||||
|
.. nonce: GCFAAZ
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
unittest.TestCase.assertRaises() now manually breaks a reference cycle to
|
||||||
|
not keep objects alive longer than expected.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 30149
|
||||||
|
.. date: 9970
|
||||||
|
.. nonce: hE649r
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
inspect.signature() now supports callables with variable-argument parameters
|
||||||
|
wrapped with partialmethod. Patch by Dong-hee Na.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 30645
|
||||||
|
.. date: 9969
|
||||||
|
.. nonce: oYzbbW
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix path calculation in imp.load_package(), fixing it for cases when a
|
||||||
|
package is only shipped with bytecodes. Patch by Alexandru Ardelean.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29931
|
||||||
|
.. date: 9968
|
||||||
|
.. nonce: tfcTwK
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fixed comparison check for ipaddress.ip_interface objects. Patch by Sanjay
|
||||||
|
Sundaresan.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 30605
|
||||||
|
.. date: 9967
|
||||||
|
.. nonce: XqGz1r
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
re.compile() no longer raises a BytesWarning when compiling a bytes instance
|
||||||
|
with misplaced inline modifier. Patch by Roy Williams.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29591
|
||||||
|
.. date: 9966
|
||||||
|
.. nonce: ExKblw
|
||||||
|
.. original section: Library
|
||||||
|
.. section: Security
|
||||||
|
|
||||||
|
Update expat copy from 2.1.1 to 2.2.0 to get fixes of CVE-2016-0718 and
|
||||||
|
CVE-2016-4472. See https://sourceforge.net/p/expat/bugs/537/ for more
|
||||||
|
information.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24484
|
||||||
|
.. date: 9965
|
||||||
|
.. nonce: fNS32j
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Avoid race condition in multiprocessing cleanup (#2159)
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28994
|
||||||
|
.. date: 9964
|
||||||
|
.. nonce: 9vzun1
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
The traceback no longer displayed for SystemExit raised in a callback
|
||||||
|
registered by atexit.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 30508
|
||||||
|
.. date: 9963
|
||||||
|
.. nonce: wNWRS2
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Don't log exceptions if Task/Future "cancel()" method was called.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28556
|
||||||
|
.. date: 9962
|
||||||
|
.. nonce: mESP7G
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Updates to typing module: Add generic AsyncContextManager, add support for
|
||||||
|
ContextManager on all versions. Original PRs by Jelle Zijlstra and Ivan
|
||||||
|
Levkivskyi
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29870
|
||||||
|
.. date: 9961
|
||||||
|
.. nonce: p960Ih
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix ssl sockets leaks when connection is aborted in asyncio/ssl
|
||||||
|
implementation. Patch by Michaël Sghaïer.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29743
|
||||||
|
.. date: 9960
|
||||||
|
.. nonce: en2P4s
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Closing transport during handshake process leaks open socket. Patch by
|
||||||
|
Nikolay Kim
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27585
|
||||||
|
.. date: 9959
|
||||||
|
.. nonce: 0Ugqqu
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix waiter cancellation in asyncio.Lock. Patch by Mathieu Sornay.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 30418
|
||||||
|
.. date: 9958
|
||||||
|
.. nonce: EwISQm
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
On Windows, subprocess.Popen.communicate() now also ignore EINVAL on
|
||||||
|
stdin.write() if the child process is still running but closed the pipe.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29822
|
||||||
|
.. date: 9957
|
||||||
|
.. nonce: G7dX13
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
inspect.isabstract() now works during __init_subclass__. Patch by Nate
|
||||||
|
Soares.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29581
|
||||||
|
.. date: 9956
|
||||||
|
.. nonce: gHCrxP
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
ABCMeta.__new__ now accepts ``**kwargs``, allowing abstract base classes to
|
||||||
|
use keyword parameters in __init_subclass__. Patch by Nate Soares.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 30557
|
||||||
|
.. date: 9955
|
||||||
|
.. nonce: uykrLf
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
faulthandler now correctly filters and displays exception codes on Windows
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 30378
|
||||||
|
.. date: 9954
|
||||||
|
.. nonce: R_19_5
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix the problem that logging.handlers.SysLogHandler cannot handle IPv6
|
||||||
|
addresses.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29960
|
||||||
|
.. date: 9953
|
||||||
|
.. nonce: g0wr3r
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Preserve generator state when _random.Random.setstate() raises an exception.
|
||||||
|
Patch by Bryan Olson.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 30414
|
||||||
|
.. date: 9952
|
||||||
|
.. nonce: jGl1Lb
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
multiprocessing.Queue._feed background running thread do not break from main
|
||||||
|
loop on exception.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 30003
|
||||||
|
.. date: 9951
|
||||||
|
.. nonce: BOl9HE
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix handling escape characters in HZ codec. Based on patch by Ma Lin.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 30301
|
||||||
|
.. date: 9950
|
||||||
|
.. nonce: ywOkjN
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix AttributeError when using SimpleQueue.empty() under *spawn* and
|
||||||
|
*forkserver* start methods.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 30329
|
||||||
|
.. date: 9949
|
||||||
|
.. nonce: EuT36N
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
imaplib and poplib now catch the Windows socket WSAEINVAL error (code 10022)
|
||||||
|
on shutdown(SHUT_RDWR): An invalid operation was attempted. This error
|
||||||
|
occurs sometimes on SSL connections.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 30375
|
||||||
|
.. date: 9948
|
||||||
|
.. nonce: 9c8qM7
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Warnings emitted when compile a regular expression now always point to the
|
||||||
|
line in the user code. Previously they could point into inners of the re
|
||||||
|
module if emitted from inside of groups or conditionals.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 30048
|
||||||
|
.. date: 9947
|
||||||
|
.. nonce: ELRx8R
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fixed ``Task.cancel()`` can be ignored when the task is running coroutine
|
||||||
|
and the coroutine returned without any more ``await``.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 30266
|
||||||
|
.. date: 9946
|
||||||
|
.. nonce: YJzHAH
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
contextlib.AbstractContextManager now supports anti-registration by setting
|
||||||
|
__enter__ = None or __exit__ = None, following the pattern introduced in
|
||||||
|
bpo-25958. Patch by Jelle Zijlstra.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 30298
|
||||||
|
.. date: 9945
|
||||||
|
.. nonce: ZN-bWo
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Weaken the condition of deprecation warnings for inline modifiers. Now
|
||||||
|
allowed several subsequential inline modifiers at the start of the pattern
|
||||||
|
(e.g. ``'(?i)(?s)...'``). In verbose mode whitespaces and comments now are
|
||||||
|
allowed before and between inline modifiers (e.g. ``'(?x) (?i) (?s)...'``).
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29990
|
||||||
|
.. date: 9944
|
||||||
|
.. nonce: HWV6KE
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix range checking in GB18030 decoder. Original patch by Ma Lin.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 26293
|
||||||
|
.. date: 9943
|
||||||
|
.. nonce: wig0YG
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Change resulted because of zipfile breakage. (See also: bpo-29094)
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 30243
|
||||||
|
.. date: 9942
|
||||||
|
.. nonce: RHQt0v
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Removed the __init__ methods of _json's scanner and encoder. Misusing them
|
||||||
|
could cause memory leaks or crashes. Now scanner and encoder objects are
|
||||||
|
completely initialized in the __new__ methods.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 30185
|
||||||
|
.. date: 9941
|
||||||
|
.. nonce: Tiu1n8
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Avoid KeyboardInterrupt tracebacks in forkserver helper process when Ctrl-C
|
||||||
|
is received.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28556
|
||||||
|
.. date: 9940
|
||||||
|
.. nonce: 51gjbP
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Various updates to typing module: add typing.NoReturn type, use
|
||||||
|
WrapperDescriptorType, minor bug-fixes. Original PRs by Jim Fasarakis-
|
||||||
|
Hilliard and Ivan Levkivskyi.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 30205
|
||||||
|
.. date: 9939
|
||||||
|
.. nonce: BsxO34
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix getsockname() for unbound AF_UNIX sockets on Linux.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 30070
|
||||||
|
.. date: 9938
|
||||||
|
.. nonce: XM_B41
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fixed leaks and crashes in errors handling in the parser module.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 30061
|
||||||
|
.. date: 9937
|
||||||
|
.. nonce: 2w_dX9
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fixed crashes in IOBase methods __next__() and readlines() when readline()
|
||||||
|
or __next__() respectively return non-sizeable object. Fixed possible other
|
||||||
|
errors caused by not checking results of PyObject_Size(), PySequence_Size(),
|
||||||
|
or PyMapping_Size().
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 30017
|
||||||
|
.. date: 9936
|
||||||
|
.. nonce: cKBuhU
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Allowed calling the close() method of the zip entry writer object multiple
|
||||||
|
times. Writing to a closed writer now always produces a ValueError.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 30068
|
||||||
|
.. date: 9935
|
||||||
|
.. nonce: n4q47r
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
_io._IOBase.readlines will check if it's closed first when hint is present.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29694
|
||||||
|
.. date: 9934
|
||||||
|
.. nonce: LWKxb1
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fixed race condition in pathlib mkdir with flags parents=True. Patch by
|
||||||
|
Armin Rigo.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29692
|
||||||
|
.. date: 9933
|
||||||
|
.. nonce: oyWrAE
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fixed arbitrary unchaining of RuntimeError exceptions in
|
||||||
|
contextlib.contextmanager. Patch by Siddharth Velankar.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29998
|
||||||
|
.. date: 9932
|
||||||
|
.. nonce: poeIKD
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Pickling and copying ImportError now preserves name and path attributes.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29953
|
||||||
|
.. date: 9931
|
||||||
|
.. nonce: Q1hSt-
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fixed memory leaks in the replace() method of datetime and time objects when
|
||||||
|
pass out of bound fold argument.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29942
|
||||||
|
.. date: 9930
|
||||||
|
.. nonce: CsGNuT
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix a crash in itertools.chain.from_iterable when encountering long runs of
|
||||||
|
empty iterables.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27863
|
||||||
|
.. date: 9929
|
||||||
|
.. nonce: pPYHHI
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fixed multiple crashes in ElementTree caused by race conditions and wrong
|
||||||
|
types.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28699
|
||||||
|
.. date: 9928
|
||||||
|
.. nonce: wZztZP
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fixed a bug in pools in multiprocessing.pool that raising an exception at
|
||||||
|
the very first of an iterable may swallow the exception or make the program
|
||||||
|
hang. Patch by Davin Potts and Xiang Zhang.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 25803
|
||||||
|
.. date: 9927
|
||||||
|
.. nonce: CPDR0W
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Avoid incorrect errors raised by Path.mkdir(exist_ok=True) when the OS gives
|
||||||
|
priority to errors such as EACCES over EEXIST.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29861
|
||||||
|
.. date: 9926
|
||||||
|
.. nonce: t2ZoRK
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Release references to tasks, their arguments and their results as soon as
|
||||||
|
they are finished in multiprocessing.Pool.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29884
|
||||||
|
.. date: 9925
|
||||||
|
.. nonce: kWXR8W
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
faulthandler: Restore the old sigaltstack during teardown. Patch by
|
||||||
|
Christophe Zeitouny.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 25455
|
||||||
|
.. date: 9924
|
||||||
|
.. nonce: ZsahHN
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fixed crashes in repr of recursive buffered file-like objects.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29800
|
||||||
|
.. date: 9923
|
||||||
|
.. nonce: d2xASa
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix crashes in partial.__repr__ if the keys of partial.keywords are not
|
||||||
|
strings. Patch by Michael Seifert.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29742
|
||||||
|
.. date: 9922
|
||||||
|
.. nonce: 8hqfEO
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
get_extra_info() raises exception if get called on closed ssl transport.
|
||||||
|
Patch by Nikolay Kim.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 8256
|
||||||
|
.. date: 9921
|
||||||
|
.. nonce: jAwGQH
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fixed possible failing or crashing input() if attributes "encoding" or
|
||||||
|
"errors" of sys.stdin or sys.stdout are not set or are not strings.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28298
|
||||||
|
.. date: 9920
|
||||||
|
.. nonce: xfm84U
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix a bug that prevented array 'Q', 'L' and 'I' from accepting big intables
|
||||||
|
(objects that have __int__) as elements. Patch by Oren Milman.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28231
|
||||||
|
.. date: 9919
|
||||||
|
.. nonce: MG1X09
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
The zipfile module now accepts path-like objects for external paths.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 26915
|
||||||
|
.. date: 9918
|
||||||
|
.. nonce: qShJZO
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
index() and count() methods of collections.abc.Sequence now check identity
|
||||||
|
before checking equality when do comparisons.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29615
|
||||||
|
.. date: 9917
|
||||||
|
.. nonce: OpFKzg
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
SimpleXMLRPCDispatcher no longer chains KeyError (or any other exception) to
|
||||||
|
exception(s) raised in the dispatched methods. Patch by Petr Motejlek.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 30177
|
||||||
|
.. date: 9916
|
||||||
|
.. nonce: JGIJNL
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
path.resolve(strict=False) no longer cuts the path after the first element
|
||||||
|
not present in the filesystem. Patch by Antoine Pietri.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 15786
|
||||||
|
.. date: 9915
|
||||||
|
.. nonce: _XRbaR
|
||||||
|
.. section: IDLE
|
||||||
|
|
||||||
|
Fix several problems with IDLE's autocompletion box. The following should
|
||||||
|
now work: clicking on selection box items; using the scrollbar; selecting an
|
||||||
|
item by hitting Return. Hangs on MacOSX should no longer happen. Patch by
|
||||||
|
Louie Lu.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 25514
|
||||||
|
.. date: 9914
|
||||||
|
.. nonce: 882pXa
|
||||||
|
.. section: IDLE
|
||||||
|
|
||||||
|
Add doc subsubsection about IDLE failure to start. Popup no-connection
|
||||||
|
message directs users to this section.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 30642
|
||||||
|
.. date: 9913
|
||||||
|
.. nonce: 3Zujzt
|
||||||
|
.. section: IDLE
|
||||||
|
|
||||||
|
Fix reference leaks in IDLE tests. Patches by Louie Lu and Terry Jan Reedy.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 30495
|
||||||
|
.. date: 9912
|
||||||
|
.. nonce: I3i5vL
|
||||||
|
.. section: IDLE
|
||||||
|
|
||||||
|
Add docstrings for textview.py and use PEP8 names. Patches by Cheryl Sabella
|
||||||
|
and Terry Jan Reedy.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 30290
|
||||||
|
.. date: 9911
|
||||||
|
.. nonce: fZ3kod
|
||||||
|
.. section: IDLE
|
||||||
|
|
||||||
|
Help-about: use pep8 names and add tests. Increase coverage to 100%. Patches
|
||||||
|
by Louie Lu, Cheryl Sabella, and Terry Jan Reedy.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 30303
|
||||||
|
.. date: 9910
|
||||||
|
.. nonce: 2L2F-4
|
||||||
|
.. section: IDLE
|
||||||
|
|
||||||
|
Add _utest option to textview; add new tests. Increase coverage to 100%.
|
||||||
|
Patches by Louie Lu and Terry Jan Reedy.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27867
|
||||||
|
.. date: 9909
|
||||||
|
.. nonce: B46BRE
|
||||||
|
.. section: C API
|
||||||
|
|
||||||
|
Function PySlice_GetIndicesEx() no longer replaced with a macro if
|
||||||
|
Py_LIMITED_API is not set.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29941
|
||||||
|
.. date: 9908
|
||||||
|
.. nonce: ylh45A
|
||||||
|
.. section: Build
|
||||||
|
|
||||||
|
Add ``--with-assertions`` configure flag to explicitly enable C ``assert()``
|
||||||
|
checks. Defaults to off. ``--with-pydebug`` implies ``--with-assertions``.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 28787
|
||||||
|
.. date: 9907
|
||||||
|
.. nonce: vhH_6a
|
||||||
|
.. section: Build
|
||||||
|
|
||||||
|
Fix out-of-tree builds of Python when configured with ``--with--dtrace``.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29243
|
||||||
|
.. date: 9906
|
||||||
|
.. nonce: WDK4hT
|
||||||
|
.. section: Build
|
||||||
|
|
||||||
|
Prevent unnecessary rebuilding of Python during ``make test``, ``make
|
||||||
|
install`` and some other make targets when configured with ``--enable-
|
||||||
|
optimizations``.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23404
|
||||||
|
.. date: 9905
|
||||||
|
.. nonce: PdYVWg
|
||||||
|
.. section: Build
|
||||||
|
|
||||||
|
Don't regenerate generated files based on file modification time anymore:
|
||||||
|
the action is now explicit. Replace ``make touch`` with ``make regen-all``.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29643
|
||||||
|
.. date: 9904
|
||||||
|
.. nonce: 4WLIJQ
|
||||||
|
.. section: Build
|
||||||
|
|
||||||
|
Fix ``--enable-optimization`` didn't work.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 30176
|
||||||
|
.. date: 9903
|
||||||
|
.. nonce: VivmCg
|
||||||
|
.. section: Documentation
|
||||||
|
|
||||||
|
Add missing attribute related constants in curses documentation.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 30052
|
||||||
|
.. date: 9902
|
||||||
|
.. nonce: TpmpaF
|
||||||
|
.. section: Documentation
|
||||||
|
|
||||||
|
the link targets for :func:`bytes` and :func:`bytearray` are now their
|
||||||
|
respective type definitions, rather than the corresponding builtin function
|
||||||
|
entries. Use :ref:`bytes <func-bytes>` and :ref:`bytearray <func-bytearray>`
|
||||||
|
to reference the latter.
|
||||||
|
|
||||||
|
In order to ensure this and future cross-reference updates are applied
|
||||||
|
automatically, the daily documentation builds now disable the default output
|
||||||
|
caching features in Sphinx.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 26985
|
||||||
|
.. date: 9901
|
||||||
|
.. nonce: NB5_9S
|
||||||
|
.. section: Documentation
|
||||||
|
|
||||||
|
Add missing info of code object in inspect documentation.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 29367
|
||||||
|
.. date: 9900
|
||||||
|
.. nonce: 4dOKL0
|
||||||
|
.. section: Tools/Demos
|
||||||
|
|
||||||
|
python-gdb.py now supports also ``method-wrapper`` (``wrapperobject``)
|
||||||
|
objects.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 30357
|
||||||
|
.. date: 9899
|
||||||
|
.. nonce: n4CPEa
|
||||||
|
.. section: Tests
|
||||||
|
|
||||||
|
test_thread: setUp() now uses support.threading_setup() and
|
||||||
|
support.threading_cleanup() to wait until threads complete to avoid random
|
||||||
|
side effects on following tests. Initial patch written by Grzegorz Grzywacz.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 30197
|
||||||
|
.. date: 9898
|
||||||
|
.. nonce: c5wRfu
|
||||||
|
.. section: Tests
|
||||||
|
|
||||||
|
Enhanced functions swap_attr() and swap_item() in the test.support module.
|
||||||
|
They now work when delete replaced attribute or item inside the with
|
||||||
|
statement. The old value of the attribute or item (or None if it doesn't
|
||||||
|
exist) now will be assigned to the target of the "as" clause, if there is
|
||||||
|
one.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 30687
|
||||||
|
.. date: 9897
|
||||||
|
.. nonce: 8mqHnu
|
||||||
|
.. section: Windows
|
||||||
|
|
||||||
|
Locate msbuild.exe on Windows when building rather than vcvarsall.bat
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 30450
|
||||||
|
.. date: 9896
|
||||||
|
.. nonce: qsaK8y
|
||||||
|
.. section: Windows
|
||||||
|
|
||||||
|
The build process on Windows no longer depends on Subversion, instead
|
||||||
|
pulling external code from GitHub via a Python script. If Python 3.6 is not
|
||||||
|
found on the system (via ``py -3.6``), NuGet is used to download a copy of
|
||||||
|
32-bit Python.
|
39
Misc/NEWS.d/3.6.2rc2.rst
Normal file
39
Misc/NEWS.d/3.6.2rc2.rst
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
.. bpo: 30730
|
||||||
|
.. date: 9992
|
||||||
|
.. nonce: rJsyTH
|
||||||
|
.. original section: Library
|
||||||
|
.. release date: 2017-07-07
|
||||||
|
.. section: Security
|
||||||
|
|
||||||
|
Prevent environment variables injection in subprocess on Windows. Prevent
|
||||||
|
passing other environment variables and command arguments.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 30694
|
||||||
|
.. date: 9991
|
||||||
|
.. nonce: WkMWM_
|
||||||
|
.. original section: Library
|
||||||
|
.. section: Security
|
||||||
|
|
||||||
|
Upgrade expat copy from 2.2.0 to 2.2.1 to get fixes of multiple security
|
||||||
|
vulnerabilities including: CVE-2017-9233 (External entity infinite loop
|
||||||
|
DoS), CVE-2016-9063 (Integer overflow, re-fix), CVE-2016-0718 (Fix
|
||||||
|
regression bugs from 2.2.0's fix to CVE-2016-0718) and CVE-2012-0876
|
||||||
|
(Counter hash flooding with SipHash). Note: the CVE-2016-5300 (Use os-
|
||||||
|
specific entropy sources like getrandom) doesn't impact Python, since Python
|
||||||
|
already gets entropy from the OS to set the expat secret using
|
||||||
|
``XML_SetHashSalt()``.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 30500
|
||||||
|
.. date: 9990
|
||||||
|
.. nonce: 1VG7R-
|
||||||
|
.. original section: Library
|
||||||
|
.. section: Security
|
||||||
|
|
||||||
|
Fix urllib.parse.splithost() to correctly parse fragments. For example,
|
||||||
|
``splithost('//127.0.0.1#@evil.com/')`` now correctly returns the
|
||||||
|
``127.0.0.1`` host, instead of treating ``@evil.com`` as the host in an
|
||||||
|
authentification (``login@host``).
|
|
@ -0,0 +1,2 @@
|
||||||
|
``print`` now shows expected input in custom error message when used as a
|
||||||
|
Python 2 statement. Patch by Sanyam Khurana.
|
|
@ -0,0 +1 @@
|
||||||
|
Fixed a race condition when import a submodule from a package.
|
|
@ -0,0 +1,2 @@
|
||||||
|
Make sure the 'Missing parentheses' syntax error message is only applied to
|
||||||
|
SyntaxError, not to subclasses. Patch by Martijn Pieters.
|
2
Misc/NEWS.d/next/Library/01.bpo-29755.diQcY_.rst
Normal file
2
Misc/NEWS.d/next/Library/01.bpo-29755.diQcY_.rst
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
Fixed the lgettext() family of functions in the gettext module. They now
|
||||||
|
always return bytes.
|
2
Misc/NEWS.d/next/Library/02.bpo-30746.7drQI0.rst
Normal file
2
Misc/NEWS.d/next/Library/02.bpo-30746.7drQI0.rst
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
Prohibited the '=' character in environment variable names in
|
||||||
|
``os.putenv()`` and ``os.spawn*()``.
|
2
Misc/NEWS.d/next/Library/03.bpo-30879.N3KI-o.rst
Normal file
2
Misc/NEWS.d/next/Library/03.bpo-30879.N3KI-o.rst
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
os.listdir() and os.scandir() now emit bytes names when called with bytes-
|
||||||
|
like argument.
|
Loading…
Add table
Add a link
Reference in a new issue