mirror of https://github.com/python/cpython
Forward port rest of NEWS changes as of 3.7.0
This commit is contained in:
parent
461a1c4b49
commit
e76ac9d4ef
|
@ -175,7 +175,7 @@ handshake to hang or fail.
|
|||
|
||||
..
|
||||
|
||||
.. bpo: 31467
|
||||
.. bpo: 31647
|
||||
.. date: 2018-05-28-18-40-26
|
||||
.. nonce: s4Fad3
|
||||
.. section: Library
|
||||
|
|
|
@ -142,6 +142,7 @@ Remove the STORE_ANNOTATION bytecode.
|
|||
.. section: Core and Builtins
|
||||
|
||||
Expose posix_spawn as a low level API in the os module.
|
||||
(removed before 3.7.0rc1)
|
||||
|
||||
..
|
||||
|
||||
|
@ -747,6 +748,8 @@ subinterpreter C-API and a new cross-interpreter data sharing mechanism. The
|
|||
module is primarily intended for more thorough testing of the existing
|
||||
subinterpreter support.
|
||||
|
||||
Note that the _xxsubinterpreters module has been removed in 3.7.0rc1.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32602
|
||||
|
|
|
@ -0,0 +1,655 @@
|
|||
.. bpo: 28414
|
||||
.. date: 2017-08-06-14-43-45
|
||||
.. nonce: mzZ6vD
|
||||
.. release date: 2018-02-27
|
||||
.. section: Security
|
||||
|
||||
The ssl module now allows users to perform their own IDN en/decoding when
|
||||
using SNI.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32889
|
||||
.. date: 2018-02-20-21-53-48
|
||||
.. nonce: J6eWy5
|
||||
.. section: Core and Builtins
|
||||
|
||||
Update Valgrind suppression list to account for the rename of
|
||||
``Py_ADDRESS_IN_RANG`` to ``address_in_range``.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 31356
|
||||
.. date: 2018-02-02-08-50-46
|
||||
.. nonce: MNwUOQ
|
||||
.. section: Core and Builtins
|
||||
|
||||
Remove the new API added in bpo-31356 (gc.ensure_disabled() context
|
||||
manager).
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32305
|
||||
.. date: 2018-02-01-10-56-41
|
||||
.. nonce: dkU9Qa
|
||||
.. section: Core and Builtins
|
||||
|
||||
For namespace packages, ensure that both ``__file__`` and
|
||||
``__spec__.origin`` are set to None.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32303
|
||||
.. date: 2018-02-01-10-16-28
|
||||
.. nonce: VsvhSl
|
||||
.. section: Core and Builtins
|
||||
|
||||
Make sure ``__spec__.loader`` matches ``__loader__`` for namespace packages.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32711
|
||||
.. date: 2018-01-29-14-36-37
|
||||
.. nonce: 8hQFJP
|
||||
.. section: Core and Builtins
|
||||
|
||||
Fix the warning messages for Python/ast_unparse.c. Patch by Stéphane Wirtel
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32583
|
||||
.. date: 2018-01-26-21-20-21
|
||||
.. nonce: Fh3fau
|
||||
.. section: Core and Builtins
|
||||
|
||||
Fix possible crashing in builtin Unicode decoders caused by write
|
||||
out-of-bound errors when using customized decode error handlers.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32960
|
||||
.. date: 2018-02-26-20-04-40
|
||||
.. nonce: 48r0Ml
|
||||
.. section: Library
|
||||
|
||||
For dataclasses, disallow inheriting frozen from non-frozen classes, and
|
||||
also disallow inheriting non-frozen from frozen classes. This restriction
|
||||
will be relaxed at a future date.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32713
|
||||
.. date: 2018-02-26-13-16-36
|
||||
.. nonce: 55yegW
|
||||
.. section: Library
|
||||
|
||||
Fixed tarfile.itn handling of out-of-bounds float values. Patch by Joffrey
|
||||
Fuhrer.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32951
|
||||
.. date: 2018-02-25-18-22-01
|
||||
.. nonce: gHrCXq
|
||||
.. section: Library
|
||||
|
||||
Direct instantiation of SSLSocket and SSLObject objects is now prohibited.
|
||||
The constructors were never documented, tested, or designed as public
|
||||
constructors. Users were suppose to use ssl.wrap_socket() or SSLContext.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32929
|
||||
.. date: 2018-02-25-13-47-48
|
||||
.. nonce: X2gTDH
|
||||
.. section: Library
|
||||
|
||||
Remove the tri-state parameter "hash", and add the boolean "unsafe_hash". If
|
||||
unsafe_hash is True, add a __hash__ function, but if a __hash__ exists,
|
||||
raise TypeError. If unsafe_hash is False, add a __hash__ based on the
|
||||
values of eq= and frozen=. The unsafe_hash=False behavior is the same as
|
||||
the old hash=None behavior. unsafe_hash=False is the default, just as
|
||||
hash=None used to be.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32947
|
||||
.. date: 2018-02-25-13-06-21
|
||||
.. nonce: mqStVW
|
||||
.. section: Library
|
||||
|
||||
Add OP_ENABLE_MIDDLEBOX_COMPAT and test workaround for TLSv1.3 for future
|
||||
compatibility with OpenSSL 1.1.1.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 30622
|
||||
.. date: 2018-02-24-21-40-42
|
||||
.. nonce: dQjxSe
|
||||
.. section: Library
|
||||
|
||||
The ssl module now detects missing NPN support in LibreSSL.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32922
|
||||
.. date: 2018-02-23-19-12-04
|
||||
.. nonce: u-xe0B
|
||||
.. section: Library
|
||||
|
||||
dbm.open() now encodes filename with the filesystem encoding rather than
|
||||
default encoding.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32859
|
||||
.. date: 2018-02-19-17-46-31
|
||||
.. nonce: kAT-Xp
|
||||
.. section: Library
|
||||
|
||||
In ``os.dup2``, don't check every call whether the ``dup3`` syscall exists
|
||||
or not.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32556
|
||||
.. date: 2018-02-19-14-27-51
|
||||
.. nonce: CsRsgr
|
||||
.. section: Library
|
||||
|
||||
nt._getfinalpathname, nt._getvolumepathname and nt._getdiskusage now
|
||||
correctly convert from bytes.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 25988
|
||||
.. date: 2018-02-18-13-04-59
|
||||
.. nonce: ACidKC
|
||||
.. section: Library
|
||||
|
||||
Emit a :exc:`DeprecationWarning` when using or importing an ABC directly
|
||||
from :mod:`collections` rather than from :mod:`collections.abc`.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 21060
|
||||
.. date: 2018-02-17-19-20-19
|
||||
.. nonce: S1Z-x6
|
||||
.. section: Library
|
||||
|
||||
Rewrite confusing message from setup.py upload from "No dist file created in
|
||||
earlier command" to the more helpful "Must create and upload files in one
|
||||
command".
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32852
|
||||
.. date: 2018-02-15-12-04-29
|
||||
.. nonce: HDqIxM
|
||||
.. section: Library
|
||||
|
||||
Make sure sys.argv remains as a list when running trace.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 31333
|
||||
.. date: 2018-02-15-08-18-52
|
||||
.. nonce: 4fF-gM
|
||||
.. section: Library
|
||||
|
||||
``_abc`` module is added. It is a speedup module with C implementations for
|
||||
various functions and methods in ``abc``. Creating an ABC subclass and
|
||||
calling ``isinstance`` or ``issubclass`` with an ABC subclass are up to 1.5x
|
||||
faster. In addition, this makes Python start-up up to 10% faster.
|
||||
|
||||
Note that the new implementation hides internal registry and caches,
|
||||
previously accessible via private attributes ``_abc_registry``,
|
||||
``_abc_cache``, and ``_abc_negative_cache``. There are three debugging
|
||||
helper methods that can be used instead ``_dump_registry``,
|
||||
``_abc_registry_clear``, and ``_abc_caches_clear``.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32841
|
||||
.. date: 2018-02-14-00-21-24
|
||||
.. nonce: bvHDOc
|
||||
.. section: Library
|
||||
|
||||
Fixed `asyncio.Condition` issue which silently ignored cancellation after
|
||||
notifying and cancelling a conditional lock. Patch by Bar Harel.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32819
|
||||
.. date: 2018-02-11-15-54-41
|
||||
.. nonce: ZTRX2Q
|
||||
.. section: Library
|
||||
|
||||
ssl.match_hostname() has been simplified and no longer depends on re and
|
||||
ipaddress module for wildcard and IP addresses. Error reporting for invalid
|
||||
wildcards has been improved.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32394
|
||||
.. date: 2018-02-10-13-51-56
|
||||
.. nonce: dFM9SI
|
||||
.. section: Library
|
||||
|
||||
socket: Remove TCP_FASTOPEN,TCP_KEEPCNT,TCP_KEEPIDLE,TCP_KEEPINTVL flags on
|
||||
older version Windows during run-time.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 31787
|
||||
.. date: 2018-02-09-21-41-56
|
||||
.. nonce: owSZ2t
|
||||
.. section: Library
|
||||
|
||||
Fixed refleaks of ``__init__()`` methods in various modules. (Contributed by
|
||||
Oren Milman)
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 30157
|
||||
.. date: 2018-02-09-14-44-43
|
||||
.. nonce: lEiiAK
|
||||
.. section: Library
|
||||
|
||||
Fixed guessing quote and delimiter in csv.Sniffer.sniff() when only the last
|
||||
field is quoted. Patch by Jake Davis.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32792
|
||||
.. date: 2018-02-08-00-47-07
|
||||
.. nonce: NtyDb4
|
||||
.. section: Library
|
||||
|
||||
collections.ChainMap() preserves the order of the underlying mappings.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32775
|
||||
.. date: 2018-02-07-19-12-10
|
||||
.. nonce: -T77_c
|
||||
.. section: Library
|
||||
|
||||
:func:`fnmatch.translate()` no longer produces patterns which contain set
|
||||
operations. Sets starting with '[' or containing '--', '&&', '~~' or '||'
|
||||
will be interpreted differently in regular expressions in future versions.
|
||||
Currently they emit warnings. fnmatch.translate() now avoids producing
|
||||
patterns containing such sets by accident.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32622
|
||||
.. date: 2018-02-06-17-58-15
|
||||
.. nonce: AE0Jz7
|
||||
.. section: Library
|
||||
|
||||
Implement native fast sendfile for Windows proactor event loop.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32777
|
||||
.. date: 2018-02-05-21-28-28
|
||||
.. nonce: C-wIXF
|
||||
.. section: Library
|
||||
|
||||
Fix a rare but potential pre-exec child process deadlock in subprocess on
|
||||
POSIX systems when marking file descriptors inheritable on exec in the child
|
||||
process. This bug appears to have been introduced in 3.4.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32647
|
||||
.. date: 2018-02-05-13-31-42
|
||||
.. nonce: ktmfR_
|
||||
.. section: Library
|
||||
|
||||
The ctypes module used to depend on indirect linking for dlopen. The shared
|
||||
extension is now explicitly linked against libdl on platforms with dl.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32741
|
||||
.. date: 2018-02-01-17-54-08
|
||||
.. nonce: KUvOPL
|
||||
.. section: Library
|
||||
|
||||
Implement ``asyncio.TimerHandle.when()`` method.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32691
|
||||
.. date: 2018-02-01-15-53-35
|
||||
.. nonce: VLWVTq
|
||||
.. section: Library
|
||||
|
||||
Use mod_spec.parent when running modules with pdb
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32734
|
||||
.. date: 2018-02-01-01-34-47
|
||||
.. nonce: gCV9AD
|
||||
.. section: Library
|
||||
|
||||
Fixed ``asyncio.Lock()`` safety issue which allowed acquiring and locking
|
||||
the same lock multiple times, without it being free. Patch by Bar Harel.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32727
|
||||
.. date: 2018-01-30-17-46-18
|
||||
.. nonce: aHVsRC
|
||||
.. section: Library
|
||||
|
||||
Do not include name field in SMTP envelope from address. Patch by Stéphane
|
||||
Wirtel
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 31453
|
||||
.. date: 2018-01-21-15-01-50
|
||||
.. nonce: cZiZBe
|
||||
.. section: Library
|
||||
|
||||
Add TLSVersion constants and SSLContext.maximum_version / minimum_version
|
||||
attributes. The new API wraps OpenSSL 1.1
|
||||
https://www.openssl.org/docs/man1.1.0/ssl/SSL_CTX_set_min_proto_version.html
|
||||
feature.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 24334
|
||||
.. date: 2018-01-20-23-17-25
|
||||
.. nonce: GZuQLv
|
||||
.. section: Library
|
||||
|
||||
Internal implementation details of ssl module were cleaned up. The SSLSocket
|
||||
has one less layer of indirection. Owner and session information are now
|
||||
handled by the SSLSocket and SSLObject constructor. Channel binding
|
||||
implementation has been simplified.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 31848
|
||||
.. date: 2018-01-18-23-34-17
|
||||
.. nonce: M2cldy
|
||||
.. section: Library
|
||||
|
||||
Fix the error handling in Aifc_read.initfp() when the SSND chunk is not
|
||||
found. Patch by Zackery Spytz.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32585
|
||||
.. date: 2018-01-18-13-09-00
|
||||
.. nonce: qpeijr
|
||||
.. section: Library
|
||||
|
||||
Add Ttk spinbox widget to :mod:`tkinter.ttk`. Patch by Alan D Moore.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32221
|
||||
.. date: 2017-12-06-10-10-10
|
||||
.. nonce: ideco_
|
||||
.. section: Library
|
||||
|
||||
Various functions returning tuple containig IPv6 addresses now omit
|
||||
``%scope`` part since the same information is already encoded in *scopeid*
|
||||
tuple item. Especially this speeds up :func:`socket.recvfrom` when it
|
||||
receives multicast packet since useless resolving of network interface name
|
||||
is omitted.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 30693
|
||||
.. date: 2017-11-27-15-09-49
|
||||
.. nonce: yC4mJ8
|
||||
.. section: Library
|
||||
|
||||
The TarFile class now recurses directories in a reproducible way.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 30693
|
||||
.. date: 2017-11-27-15-09-49
|
||||
.. nonce: yC4mJ7
|
||||
.. section: Library
|
||||
|
||||
The ZipFile class now recurses directories in a reproducible way.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 28124
|
||||
.. date: 2018-02-25-16-33-35
|
||||
.. nonce: _uzkgq
|
||||
.. section: Documentation
|
||||
|
||||
The ssl module function ssl.wrap_socket() has been de-emphasized and
|
||||
deprecated in favor of the more secure and efficient
|
||||
SSLContext.wrap_socket() method.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 17232
|
||||
.. date: 2018-02-23-12-48-03
|
||||
.. nonce: tmuTKL
|
||||
.. section: Documentation
|
||||
|
||||
Clarify docs for -O and -OO. Patch by Terry Reedy.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32436
|
||||
.. date: 2018-02-14-11-10-41
|
||||
.. nonce: TTJ2jb
|
||||
.. section: Documentation
|
||||
|
||||
Add documentation for the contextvars module (PEP 567).
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32800
|
||||
.. date: 2018-02-10-15-16-04
|
||||
.. nonce: FyrqCk
|
||||
.. section: Documentation
|
||||
|
||||
Update link to w3c doc for xml default namespaces.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 11015
|
||||
.. date: 2018-02-10-12-48-38
|
||||
.. nonce: -gUf34
|
||||
.. section: Documentation
|
||||
|
||||
Update :mod:`test.support` documentation.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 8722
|
||||
.. date: 2018-02-03-06-11-37
|
||||
.. nonce: MPyVyj
|
||||
.. section: Documentation
|
||||
|
||||
Document :meth:`__getattr__` behavior when property :meth:`get` method
|
||||
raises :exc:`AttributeError`.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32614
|
||||
.. date: 2018-02-02-07-41-57
|
||||
.. nonce: LSqzGw
|
||||
.. section: Documentation
|
||||
|
||||
Modify RE examples in documentation to use raw strings to prevent
|
||||
:exc:`DeprecationWarning` and add text to REGEX HOWTO to highlight the
|
||||
deprecation.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 31972
|
||||
.. date: 2018-01-25-14-23-12
|
||||
.. nonce: w1m_8r
|
||||
.. section: Documentation
|
||||
|
||||
Improve docstrings for `pathlib.PurePath` subclasses.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 31809
|
||||
.. date: 2017-10-18-18-07-45
|
||||
.. nonce: KlQrkE
|
||||
.. section: Tests
|
||||
|
||||
Add tests to verify connection with secp ECDH curves.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32898
|
||||
.. date: 2018-02-21-12-46-00
|
||||
.. nonce: M15bZh
|
||||
.. section: Build
|
||||
|
||||
Fix the python debug build when using COUNT_ALLOCS.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32901
|
||||
.. date: 2018-02-23-00-47-13
|
||||
.. nonce: mGKz5_
|
||||
.. section: Windows
|
||||
|
||||
Update Tcl and Tk versions to 8.6.8
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 31966
|
||||
.. date: 2018-02-19-13-54-42
|
||||
.. nonce: _Q3HPb
|
||||
.. section: Windows
|
||||
|
||||
Fixed WindowsConsoleIO.write() for writing empty data.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32409
|
||||
.. date: 2018-02-19-10-00-57
|
||||
.. nonce: nocuDg
|
||||
.. section: Windows
|
||||
|
||||
Ensures activate.bat can handle Unicode contents.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32457
|
||||
.. date: 2018-02-19-08-54-06
|
||||
.. nonce: vVP0Iz
|
||||
.. section: Windows
|
||||
|
||||
Improves handling of denormalized executable path when launching Python.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32370
|
||||
.. date: 2018-02-10-15-38-19
|
||||
.. nonce: kcKuct
|
||||
.. section: Windows
|
||||
|
||||
Use the correct encoding for ipconfig output in the uuid module. Patch by
|
||||
Segev Finer.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 29248
|
||||
.. date: 2018-02-07-17-50-48
|
||||
.. nonce: Xzwj-6
|
||||
.. section: Windows
|
||||
|
||||
Fix :func:`os.readlink` on Windows, which was mistakenly treating the
|
||||
``PrintNameOffset`` field of the reparse data buffer as a number of
|
||||
characters instead of bytes. Patch by Craig Holmquist and SSE4.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32901
|
||||
.. date: 2018-02-27-17-33-15
|
||||
.. nonce: hQu0w3
|
||||
.. section: macOS
|
||||
|
||||
Update macOS 10.9+ installer to Tcl/Tk 8.6.8.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32916
|
||||
.. date: 2018-02-23-07-32-36
|
||||
.. nonce: 4MsQ5F
|
||||
.. section: IDLE
|
||||
|
||||
Change ``str`` to ``code`` in pyparse.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32905
|
||||
.. date: 2018-02-22-00-09-27
|
||||
.. nonce: VlXj0x
|
||||
.. section: IDLE
|
||||
|
||||
Remove unused code in pyparse module.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32874
|
||||
.. date: 2018-02-19-10-56-41
|
||||
.. nonce: 6pZ9Gv
|
||||
.. section: IDLE
|
||||
|
||||
Add tests for pyparse.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32837
|
||||
.. date: 2018-02-12-17-22-48
|
||||
.. nonce: -33QPl
|
||||
.. section: IDLE
|
||||
|
||||
Using the system and place-dependent default encoding for open() is a bad
|
||||
idea for IDLE's system and location-independent files.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32826
|
||||
.. date: 2018-02-12-11-05-22
|
||||
.. nonce: IxNZrk
|
||||
.. section: IDLE
|
||||
|
||||
Add "encoding=utf-8" to open() in IDLE's test_help_about. GUI test
|
||||
test_file_buttons() only looks at initial ascii-only lines, but failed on
|
||||
systems where open() defaults to 'ascii' because readline() internally reads
|
||||
and decodes far enough ahead to encounter a non-ascii character in
|
||||
CREDITS.txt.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32765
|
||||
.. date: 2018-02-04-17-52-54
|
||||
.. nonce: qm0eCu
|
||||
.. section: IDLE
|
||||
|
||||
Update configdialog General tab docstring to add new widgets to the widget
|
||||
list.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32222
|
||||
.. date: 2017-12-07-20-51-20
|
||||
.. nonce: hPBcGT
|
||||
.. section: Tools/Demos
|
||||
|
||||
Fix pygettext not extracting docstrings for functions with type annotated
|
||||
arguments. Patch by Toby Harradine.
|
|
@ -0,0 +1,541 @@
|
|||
.. bpo: 33136
|
||||
.. date: 2018-03-25-12-05-43
|
||||
.. nonce: TzSN4x
|
||||
.. release date: 2018-03-29
|
||||
.. section: Security
|
||||
|
||||
Harden ssl module against LibreSSL CVE-2018-8970.
|
||||
X509_VERIFY_PARAM_set1_host() is called with an explicit namelen. A new test
|
||||
ensures that NULL bytes are not allowed.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33001
|
||||
.. date: 2018-03-05-10-09-51
|
||||
.. nonce: elj4Aa
|
||||
.. section: Security
|
||||
|
||||
Minimal fix to prevent buffer overrun in os.symlink on Windows
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32981
|
||||
.. date: 2018-03-02-10-24-52
|
||||
.. nonce: O_qDyj
|
||||
.. section: Security
|
||||
|
||||
Regexes in difflib and poplib were vulnerable to catastrophic backtracking.
|
||||
These regexes formed potential DOS vectors (REDOS). They have been
|
||||
refactored. This resolves CVE-2018-1060 and CVE-2018-1061. Patch by Jamie
|
||||
Davis.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33053
|
||||
.. date: 2018-03-25-19-49-06
|
||||
.. nonce: V3xlsH
|
||||
.. section: Core and Builtins
|
||||
|
||||
When using the -m switch, sys.path[0] is now explicitly expanded as the
|
||||
*starting* working directory, rather than being left as the empty path
|
||||
(which allows imports from the current working directory at the time of the
|
||||
import)
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33018
|
||||
.. date: 2018-03-22-23-09-06
|
||||
.. nonce: 0ncEJV
|
||||
.. section: Core and Builtins
|
||||
|
||||
Improve consistency of errors raised by ``issubclass()`` when called with a
|
||||
non-class and an abstract base class as the first and second arguments,
|
||||
respectively. Patch by Josh Bronson.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33041
|
||||
.. date: 2018-03-18-13-56-14
|
||||
.. nonce: XwPhI2
|
||||
.. section: Core and Builtins
|
||||
|
||||
Fixed jumping when the function contains an ``async for`` loop.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33026
|
||||
.. date: 2018-03-08-09-48-38
|
||||
.. nonce: QZA3Ba
|
||||
.. section: Core and Builtins
|
||||
|
||||
Fixed jumping out of "with" block by setting f_lineno.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33005
|
||||
.. date: 2018-03-06-12-19-19
|
||||
.. nonce: LP-V2U
|
||||
.. section: Core and Builtins
|
||||
|
||||
Fix a crash on fork when using a custom memory allocator (ex: using
|
||||
PYTHONMALLOC env var). _PyGILState_Reinit() and _PyInterpreterState_Enable()
|
||||
now use the default RAW memory allocator to allocate a new interpreters
|
||||
mutex on fork.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 17288
|
||||
.. date: 2018-02-27-13-36-21
|
||||
.. nonce: Gdj24S
|
||||
.. section: Core and Builtins
|
||||
|
||||
Prevent jumps from 'return' and 'exception' trace events.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32836
|
||||
.. date: 2018-02-14-12-35-47
|
||||
.. nonce: bThJnx
|
||||
.. section: Core and Builtins
|
||||
|
||||
Don't use temporary variables in cases of list/dict/set comprehensions
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33141
|
||||
.. date: 2018-03-26-12-33-13
|
||||
.. nonce: 23wlxf
|
||||
.. section: Library
|
||||
|
||||
Have Field objects pass through __set_name__ to their default values, if
|
||||
they have their own __set_name__.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33096
|
||||
.. date: 2018-03-25-13-18-16
|
||||
.. nonce: ofdbe7
|
||||
.. section: Library
|
||||
|
||||
Allow ttk.Treeview.insert to insert iid that has a false boolean value. Note
|
||||
iid=0 and iid=False would be same. Patch by Garvit Khatri.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32873
|
||||
.. date: 2018-03-24-19-54-48
|
||||
.. nonce: cHyoAm
|
||||
.. section: Library
|
||||
|
||||
Treat type variables and special typing forms as immutable by copy and
|
||||
pickle. This fixes several minor issues and inconsistencies, and improves
|
||||
backwards compatibility with Python 3.6.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33134
|
||||
.. date: 2018-03-24-19-34-26
|
||||
.. nonce: hbVeIX
|
||||
.. section: Library
|
||||
|
||||
When computing dataclass's __hash__, use the lookup table to contain the
|
||||
function which returns the __hash__ value. This is an improvement over
|
||||
looking up a string, and then testing that string to see what to do.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33127
|
||||
.. date: 2018-03-24-15-08-24
|
||||
.. nonce: olJmHv
|
||||
.. section: Library
|
||||
|
||||
The ssl module now compiles with LibreSSL 2.7.1.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32505
|
||||
.. date: 2018-03-22-16-05-56
|
||||
.. nonce: YK1N8v
|
||||
.. section: Library
|
||||
|
||||
Raise TypeError if a member variable of a dataclass is of type Field, but
|
||||
doesn't have a type annotation.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33078
|
||||
.. date: 2018-03-21-17-59-39
|
||||
.. nonce: PQOniT
|
||||
.. section: Library
|
||||
|
||||
Fix the failure on OSX caused by the tests relying on sem_getvalue
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33116
|
||||
.. date: 2018-03-21-16-52-26
|
||||
.. nonce: Tvzerj
|
||||
.. section: Library
|
||||
|
||||
Add 'Field' to dataclasses.__all__.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32896
|
||||
.. date: 2018-03-20-20-53-21
|
||||
.. nonce: ewW3Ln
|
||||
.. section: Library
|
||||
|
||||
Fix an error where subclassing a dataclass with a field that uses a
|
||||
default_factory would generate an incorrect class.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33100
|
||||
.. date: 2018-03-19-20-47-00
|
||||
.. nonce: chyIO4
|
||||
.. section: Library
|
||||
|
||||
Dataclasses: If a field has a default value that's a MemberDescriptorType,
|
||||
then it's from that field being in __slots__, not an actual default value.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32953
|
||||
.. date: 2018-03-18-17-38-48
|
||||
.. nonce: t8WAWN
|
||||
.. section: Library
|
||||
|
||||
If a non-dataclass inherits from a frozen dataclass, allow attributes to be
|
||||
added to the derived class. Only attributes from the frozen dataclass
|
||||
cannot be assigned to. Require all dataclasses in a hierarchy to be either
|
||||
all frozen or all non-frozen.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33061
|
||||
.. date: 2018-03-16-16-07-33
|
||||
.. nonce: TRTTek
|
||||
.. section: Library
|
||||
|
||||
Add missing ``NoReturn`` to ``__all__`` in typing.py
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33078
|
||||
.. date: 2018-03-15-07-38-00
|
||||
.. nonce: RmjUF5
|
||||
.. section: Library
|
||||
|
||||
Fix the size handling in multiprocessing.Queue when a pickling error occurs.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33064
|
||||
.. date: 2018-03-12-19-58-25
|
||||
.. nonce: LO2KIY
|
||||
.. section: Library
|
||||
|
||||
lib2to3 now properly supports trailing commas after ``*args`` and
|
||||
``**kwargs`` in function signatures.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33056
|
||||
.. date: 2018-03-12-16-40-00
|
||||
.. nonce: lNN9Eh
|
||||
.. section: Library
|
||||
|
||||
FIX properly close leaking fds in concurrent.futures.ProcessPoolExecutor.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33021
|
||||
.. date: 2018-03-12-00-27-56
|
||||
.. nonce: m19B9T
|
||||
.. section: Library
|
||||
|
||||
Release the GIL during fstat() calls, avoiding hang of all threads when
|
||||
calling mmap.mmap(), os.urandom(), and random.seed(). Patch by Nir Soffer.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 31804
|
||||
.. date: 2018-03-11-19-03-52
|
||||
.. nonce: i8KUMp
|
||||
.. section: Library
|
||||
|
||||
Avoid failing in multiprocessing.Process if the standard streams are closed
|
||||
or None at exit.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33037
|
||||
.. date: 2018-03-09-23-07-07
|
||||
.. nonce: nAJ3at
|
||||
.. section: Library
|
||||
|
||||
Skip sending/receiving data after SSL transport closing.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 27683
|
||||
.. date: 2018-03-07-22-28-17
|
||||
.. nonce: 572Rv4
|
||||
.. section: Library
|
||||
|
||||
Fix a regression in :mod:`ipaddress` that result of :meth:`hosts` is empty
|
||||
when the network is constructed by a tuple containing an integer mask and
|
||||
only 1 bit left for addresses.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32999
|
||||
.. date: 2018-03-06-20-30-20
|
||||
.. nonce: lgFXWl
|
||||
.. section: Library
|
||||
|
||||
Fix C implemetation of ``ABC.__subclasscheck__(cls, subclass)`` crashed when
|
||||
``subclass`` is not a type object.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33009
|
||||
.. date: 2018-03-06-11-54-59
|
||||
.. nonce: -Ekysb
|
||||
.. section: Library
|
||||
|
||||
Fix inspect.signature() for single-parameter partialmethods.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32969
|
||||
.. date: 2018-03-06-00-19-41
|
||||
.. nonce: rGTKa0
|
||||
.. section: Library
|
||||
|
||||
Expose several missing constants in zlib and fix corresponding
|
||||
documentation.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32056
|
||||
.. date: 2018-03-01-17-49-56
|
||||
.. nonce: IlpfgE
|
||||
.. section: Library
|
||||
|
||||
Improved exceptions raised for invalid number of channels and sample width
|
||||
when read an audio file in modules :mod:`aifc`, :mod:`wave` and
|
||||
:mod:`sunau`.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32844
|
||||
.. date: 2018-02-28-13-08-00
|
||||
.. nonce: u8tnAe
|
||||
.. section: Library
|
||||
|
||||
Fix wrong redirection of a low descriptor (0 or 1) to stderr in subprocess
|
||||
if another low descriptor is closed.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32857
|
||||
.. date: 2018-02-16-14-37-14
|
||||
.. nonce: -XljAx
|
||||
.. section: Library
|
||||
|
||||
In :mod:`tkinter`, ``after_cancel(None)`` now raises a :exc:`ValueError`
|
||||
instead of canceling the first scheduled function. Patch by Cheryl Sabella.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 31639
|
||||
.. date: 2017-12-27-21-55-19
|
||||
.. nonce: l3avDJ
|
||||
.. section: Library
|
||||
|
||||
http.server now exposes a ThreadedHTTPServer class and uses it when the
|
||||
module is run with ``-m`` to cope with web browsers pre-opening sockets.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 27645
|
||||
.. date: 2017-10-05-20-41-48
|
||||
.. nonce: 1Y_Wag
|
||||
.. section: Library
|
||||
|
||||
:class:`sqlite3.Connection` now exposes a
|
||||
:class:`~sqlite3.Connection.backup` method, if the underlying SQLite library
|
||||
is at version 3.6.11 or higher. Patch by Lele Gaifax.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33126
|
||||
.. date: 2018-03-28-17-03-17
|
||||
.. nonce: 5UGkNv
|
||||
.. section: Documentation
|
||||
|
||||
Document PyBuffer_ToContiguous().
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 27212
|
||||
.. date: 2018-03-22-19-23-04
|
||||
.. nonce: wrE5KR
|
||||
.. section: Documentation
|
||||
|
||||
Modify documentation for the :func:`islice` recipe to consume initial values
|
||||
up to the start index.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 28247
|
||||
.. date: 2018-03-20-20-11-05
|
||||
.. nonce: -V-WS-
|
||||
.. section: Documentation
|
||||
|
||||
Update :mod:`zipapp` documentation to describe how to make standalone
|
||||
applications.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 18802
|
||||
.. date: 2018-03-11-18-53-47
|
||||
.. nonce: JhAqH3
|
||||
.. section: Documentation
|
||||
|
||||
Documentation changes for ipaddress. Patch by Jon Foster and Berker Peksag.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 27428
|
||||
.. date: 2018-03-11-00-16-56
|
||||
.. nonce: B7A8FT
|
||||
.. section: Documentation
|
||||
|
||||
Update documentation to clarify that ``WindowsRegistryFinder`` implements
|
||||
``MetaPathFinder``. (Patch by Himanshu Lakhara)
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32872
|
||||
.. date: 2018-03-28-01-35-02
|
||||
.. nonce: J5NDUj
|
||||
.. section: Tests
|
||||
|
||||
Avoid regrtest compatibility issue with namespace packages.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32517
|
||||
.. date: 2018-03-09-07-05-12
|
||||
.. nonce: ugc1iW
|
||||
.. section: Tests
|
||||
|
||||
Fix failing ``test_asyncio`` on macOS 10.12.2+ due to transport of
|
||||
``KqueueSelector`` loop was not being closed.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 19417
|
||||
.. date: 2018-01-08-13-33-47
|
||||
.. nonce: 2asoXy
|
||||
.. section: Tests
|
||||
|
||||
Add test_bdb.py.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33163
|
||||
.. date: 2018-03-28-04-15-03
|
||||
.. nonce: hfpWuU
|
||||
.. section: Build
|
||||
|
||||
Upgrade pip to 9.0.3 and setuptools to v39.0.1.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33016
|
||||
.. date: 2018-03-07-01-33-33
|
||||
.. nonce: Z_Med0
|
||||
.. section: Windows
|
||||
|
||||
Fix potential use of uninitialized memory in nt._getfinalpathname
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32903
|
||||
.. date: 2018-02-28-11-03-24
|
||||
.. nonce: 1SXY4t
|
||||
.. section: Windows
|
||||
|
||||
Fix a memory leak in os.chdir() on Windows if the current directory is set
|
||||
to a UNC path.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32726
|
||||
.. date: 2018-03-29-06-56-12
|
||||
.. nonce: urS9uX
|
||||
.. section: macOS
|
||||
|
||||
Build and link with private copy of Tcl/Tk 8.6 for the macOS 10.6+
|
||||
installer. The 10.9+ installer variant already does this. This means that
|
||||
the Python 3.7 provided by the python.org macOS installers no longer need or
|
||||
use any external versions of Tcl/Tk, either system-provided or
|
||||
user-installed, such as ActiveTcl.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32984
|
||||
.. date: 2018-03-05-01-29-05
|
||||
.. nonce: NGjgT4
|
||||
.. section: IDLE
|
||||
|
||||
Set ``__file__`` while running a startup file. Like Python, IDLE optionally
|
||||
runs one startup file in the Shell window before presenting the first
|
||||
interactive input prompt. For IDLE, ``-s`` runs a file named in
|
||||
environmental variable :envvar:`IDLESTARTUP` or :envvar:`PYTHONSTARTUP`;
|
||||
``-r file`` runs ``file``. Python sets ``__file__`` to the startup file
|
||||
name before running the file and unsets it before the first prompt. IDLE
|
||||
now does the same when run normally, without the ``-n`` option.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32940
|
||||
.. date: 2018-02-24-18-20-50
|
||||
.. nonce: ZaJ1Rf
|
||||
.. section: IDLE
|
||||
|
||||
Simplify and rename StringTranslatePseudoMapping in pyparse.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32885
|
||||
.. date: 2018-02-20-12-16-47
|
||||
.. nonce: dL5x7C
|
||||
.. section: Tools/Demos
|
||||
|
||||
Add an ``-n`` flag for ``Tools/scripts/pathfix.py`` to disbale automatic
|
||||
backup creation (files with ``~`` suffix).
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33042
|
||||
.. date: 2018-03-20-21-43-09
|
||||
.. nonce: FPFp64
|
||||
.. section: C API
|
||||
|
||||
Embedding applications may once again call PySys_ResetWarnOptions,
|
||||
PySys_AddWarnOption, and PySys_AddXOption prior to calling Py_Initialize.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32374
|
||||
.. date: 2018-01-09-17-03-54
|
||||
.. nonce: SwwLoz
|
||||
.. section: C API
|
||||
|
||||
Document that m_traverse for multi-phase initialized modules can be called
|
||||
with m_state=NULL, and add a sanity check
|
|
@ -0,0 +1,466 @@
|
|||
.. bpo: 33363
|
||||
.. date: 2018-04-26-22-48-28
|
||||
.. nonce: 8RCnN2
|
||||
.. release date: 2018-05-02
|
||||
.. section: Core and Builtins
|
||||
|
||||
Raise a SyntaxError for ``async with`` and ``async for`` statements outside
|
||||
of async functions.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33128
|
||||
.. date: 2018-04-24-22-31-04
|
||||
.. nonce: g2yLuf
|
||||
.. section: Core and Builtins
|
||||
|
||||
Fix a bug that causes PathFinder to appear twice on sys.meta_path. Patch by
|
||||
Pablo Galindo Salgado.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33312
|
||||
.. date: 2018-04-19-08-30-07
|
||||
.. nonce: mDe2iL
|
||||
.. section: Core and Builtins
|
||||
|
||||
Fixed clang ubsan (undefined behavior sanitizer) warnings in dictobject.c by
|
||||
adjusting how the internal struct _dictkeysobject shared keys structure is
|
||||
declared.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33231
|
||||
.. date: 2018-04-05-22-20-44
|
||||
.. nonce: 3Jmo0q
|
||||
.. section: Core and Builtins
|
||||
|
||||
Fix potential memory leak in ``normalizestring()``.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33205
|
||||
.. date: 2018-04-03-00-58-41
|
||||
.. nonce: lk2F3r
|
||||
.. section: Core and Builtins
|
||||
|
||||
Change dict growth function from
|
||||
``round_up_to_power_2(used*2+hashtable_size/2)`` to
|
||||
``round_up_to_power_2(used*3)``. Previously, dict is shrinked only when
|
||||
``used == 0``. Now dict has more chance to be shrinked.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 29922
|
||||
.. date: 2018-04-03-00-30-25
|
||||
.. nonce: CdLuMl
|
||||
.. section: Core and Builtins
|
||||
|
||||
Improved error messages in 'async with' when ``__aenter__()`` or
|
||||
``__aexit__()`` return non-awaitable object.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33199
|
||||
.. date: 2018-04-02-09-32-40
|
||||
.. nonce: TPnxQu
|
||||
.. section: Core and Builtins
|
||||
|
||||
Fix ``ma_version_tag`` in dict implementation is uninitialized when copying
|
||||
from key-sharing dict.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33281
|
||||
.. date: 2018-05-01-22-35-50
|
||||
.. nonce: d4jOt4
|
||||
.. section: Library
|
||||
|
||||
Fix ctypes.util.find_library regression on macOS.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33383
|
||||
.. date: 2018-04-29-11-15-38
|
||||
.. nonce: g32YWn
|
||||
.. section: Library
|
||||
|
||||
Fixed crash in the get() method of the :mod:`dbm.ndbm` database object when
|
||||
it is called with a single argument.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33329
|
||||
.. date: 2018-04-23-13-21-39
|
||||
.. nonce: lQ-Eod
|
||||
.. section: Library
|
||||
|
||||
Fix multiprocessing regression on newer glibcs
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 991266
|
||||
.. date: 2018-04-21-00-24-08
|
||||
.. nonce: h93TP_
|
||||
.. section: Library
|
||||
|
||||
Fix quoting of the ``Comment`` attribute of
|
||||
:class:`http.cookies.SimpleCookie`.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33131
|
||||
.. date: 2018-04-20-10-43-17
|
||||
.. nonce: L2E977
|
||||
.. section: Library
|
||||
|
||||
Upgrade bundled version of pip to 10.0.1.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33308
|
||||
.. date: 2018-04-18-19-12-25
|
||||
.. nonce: fW75xi
|
||||
.. section: Library
|
||||
|
||||
Fixed a crash in the :mod:`parser` module when converting an ST object to a
|
||||
tree of tuples or lists with ``line_info=False`` and ``col_info=True``.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33266
|
||||
.. date: 2018-04-16-15-59-21
|
||||
.. nonce: w2PAm-
|
||||
.. section: Library
|
||||
|
||||
lib2to3 now recognizes ``rf'...'`` strings.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 11594
|
||||
.. date: 2018-04-16-08-42-03
|
||||
.. nonce: QLo4vv
|
||||
.. section: Library
|
||||
|
||||
Ensure line-endings are respected when using lib2to3.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33254
|
||||
.. date: 2018-04-13-15-14-47
|
||||
.. nonce: DS4KFK
|
||||
.. section: Library
|
||||
|
||||
Have :func:`importlib.resources.contents` and
|
||||
:meth:`importlib.abc.ResourceReader.contents` return an :term:`iterable`
|
||||
instead of an :term:`iterator`.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33256
|
||||
.. date: 2018-04-10-20-57-14
|
||||
.. nonce: ndHkqu
|
||||
.. section: Library
|
||||
|
||||
Fix display of ``<module>`` call in the html produced by ``cgitb.html()``.
|
||||
Patch by Stéphane Blondon.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33185
|
||||
.. date: 2018-04-08-22-54-07
|
||||
.. nonce: Id-Ba9
|
||||
.. section: Library
|
||||
|
||||
Fixed regression when running pydoc with the :option:`-m` switch. (The
|
||||
regression was introduced in 3.7.0b3 by the resolution of :issue:`33053`)
|
||||
|
||||
This fix also changed pydoc to add ``os.getcwd()`` to :data:`sys.path` when
|
||||
necessary, rather than adding ``"."``.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33169
|
||||
.. date: 2018-04-06-14-56-26
|
||||
.. nonce: ByhDqb
|
||||
.. section: Library
|
||||
|
||||
Delete entries of ``None`` in :data:`sys.path_importer_cache` when
|
||||
:meth:`importlib.machinery.invalidate_caches` is called.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33217
|
||||
.. date: 2018-04-05-13-36-09
|
||||
.. nonce: FfOKDI
|
||||
.. section: Library
|
||||
|
||||
Deprecate looking up non-Enum objects in Enum classes and Enum members (will
|
||||
raise :exc:`TypeError` in 3.8+).
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33203
|
||||
.. date: 2018-04-05-11-09-45
|
||||
.. nonce: Hje9Py
|
||||
.. section: Library
|
||||
|
||||
``random.Random.choice()`` now raises ``IndexError`` for empty sequences
|
||||
consistently even when called from subclasses without a ``getrandbits()``
|
||||
implementation.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33224
|
||||
.. date: 2018-04-04-23-41-30
|
||||
.. nonce: pyR0jB
|
||||
.. section: Library
|
||||
|
||||
Update difflib.mdiff() for PEP 479. Convert an uncaught StopIteration in a
|
||||
generator into a return-statement.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33209
|
||||
.. date: 2018-04-03-10-37-13
|
||||
.. nonce: 9sGWE_
|
||||
.. section: Library
|
||||
|
||||
End framing at the end of C implementation of :func:`pickle.Pickler.dump`.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 20104
|
||||
.. date: 2018-04-01-19-21-04
|
||||
.. nonce: -AKcGa
|
||||
.. section: Library
|
||||
|
||||
Improved error handling and fixed a reference leak in
|
||||
:func:`os.posix_spawn()`.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33175
|
||||
.. date: 2018-03-29-04-32-25
|
||||
.. nonce: _zs1yM
|
||||
.. section: Library
|
||||
|
||||
In dataclasses, Field.__set_name__ now looks up the __set_name__ special
|
||||
method on the class, not the instance, of the default value.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33097
|
||||
.. date: 2018-03-18-16-48-23
|
||||
.. nonce: Yl4gI2
|
||||
.. section: Library
|
||||
|
||||
Raise RuntimeError when ``executor.submit`` is called during interpreter
|
||||
shutdown.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 31908
|
||||
.. date: 2017-10-31
|
||||
.. nonce: g4xh8x
|
||||
.. section: Library
|
||||
|
||||
Fix output of cover files for ``trace`` module command-line tool. Previously
|
||||
emitted cover files only when ``--missing`` option was used. Patch by
|
||||
Michael Selik.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33378
|
||||
.. date: 2018-04-29-04-02-18
|
||||
.. nonce: -anAHN
|
||||
.. section: Documentation
|
||||
|
||||
Add Korean language switcher for https://docs.python.org/3/
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33276
|
||||
.. date: 2018-04-20-14-09-36
|
||||
.. nonce: rA1z_3
|
||||
.. section: Documentation
|
||||
|
||||
Clarify that the ``__path__`` attribute on modules cannot be just any value.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33201
|
||||
.. date: 2018-04-01-21-03-41
|
||||
.. nonce: aa8Lkl
|
||||
.. section: Documentation
|
||||
|
||||
Modernize documentation for writing C extension types.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33195
|
||||
.. date: 2018-04-01-14-30-36
|
||||
.. nonce: dRS-XX
|
||||
.. section: Documentation
|
||||
|
||||
Deprecate ``Py_UNICODE`` usage in ``c-api/arg`` document. ``Py_UNICODE``
|
||||
related APIs are deprecated since Python 3.3, but it is missed in the
|
||||
document.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 8243
|
||||
.. date: 2018-01-13-20-30-53
|
||||
.. nonce: s98r28
|
||||
.. section: Documentation
|
||||
|
||||
Add a note about curses.addch and curses.addstr exception behavior when
|
||||
writing outside a window, or pad.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32337
|
||||
.. date: 2017-12-22-17-29-37
|
||||
.. nonce: eZe-ID
|
||||
.. section: Documentation
|
||||
|
||||
Update documentation related with ``dict`` order.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33358
|
||||
.. date: 2018-04-27-11-46-35
|
||||
.. nonce: _OcR59
|
||||
.. section: Tests
|
||||
|
||||
Fix ``test_embed.test_pre_initialization_sys_options()`` when the
|
||||
interpreter is built with ``--enable-shared``.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33394
|
||||
.. date: 2018-04-30-17-36-46
|
||||
.. nonce: _Vdi4t
|
||||
.. section: Build
|
||||
|
||||
Enable the verbose build for extension modules, when GNU make is passed
|
||||
macros on the command line.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33393
|
||||
.. date: 2018-04-30-17-19-37
|
||||
.. nonce: HkVCqI
|
||||
.. section: Build
|
||||
|
||||
Update config.guess and config.sub files.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33377
|
||||
.. date: 2018-04-30-16-53-00
|
||||
.. nonce: QBh6vP
|
||||
.. section: Build
|
||||
|
||||
Add new triplets for mips r6 and riscv variants (used in extension
|
||||
suffixes).
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32232
|
||||
.. date: 2018-04-17-00-38-19
|
||||
.. nonce: o7G_UO
|
||||
.. section: Build
|
||||
|
||||
By default, modules configured in `Modules/Setup` are no longer built with
|
||||
`-DPy_BUILD_CORE`. Instead, modules that specifically need that preprocessor
|
||||
definition include it in their individual entries.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33182
|
||||
.. date: 2018-03-30-14-55-48
|
||||
.. nonce: CePczb
|
||||
.. section: Build
|
||||
|
||||
The embedding tests can once again be built with clang 6.0
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33184
|
||||
.. date: 2018-04-13-11-28-55
|
||||
.. nonce: 7YhqQE
|
||||
.. section: Windows
|
||||
|
||||
Update Windows installer to use OpenSSL 1.1.0h.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33184
|
||||
.. date: 2018-04-07-00-51-34
|
||||
.. nonce: 3j208P
|
||||
.. section: macOS
|
||||
|
||||
Update macOS installer build to use OpenSSL 1.1.0h.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 21474
|
||||
.. date: 2018-04-29-16-13-02
|
||||
.. nonce: bglg-F
|
||||
.. section: IDLE
|
||||
|
||||
Update word/identifier definition from ascii to unicode. In text and entry
|
||||
boxes, this affects selection by double-click, movement left/right by
|
||||
control-left/right, and deletion left/right by control-BACKSPACE/DEL.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33204
|
||||
.. date: 2018-04-02-00-28-13
|
||||
.. nonce: NBsuIv
|
||||
.. section: IDLE
|
||||
|
||||
IDLE: consistently color invalid string prefixes. A 'u' string prefix cannot
|
||||
be paired with either 'r' or 'f'. Consistently color as much of the prefix,
|
||||
starting at the right, as is valid. Revise and extend colorizer test.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33189
|
||||
.. date: 2018-04-03-18-10-00
|
||||
.. nonce: QrXR00
|
||||
.. section: Tools/Demos
|
||||
|
||||
:program:`pygettext.py` now recognizes only literal strings as docstrings
|
||||
and translatable strings, and rejects bytes literals and f-string
|
||||
expressions.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 31920
|
||||
.. date: 2018-03-26-18-54-24
|
||||
.. nonce: u_WKsT
|
||||
.. section: Tools/Demos
|
||||
|
||||
Fixed handling directories as arguments in the ``pygettext`` script. Based
|
||||
on patch by Oleg Krasnikov.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 29673
|
||||
.. date: 2018-03-16-17-25-05
|
||||
.. nonce: m8QtaW
|
||||
.. section: Tools/Demos
|
||||
|
||||
Fix pystackv and pystack gdbinit macros.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 31583
|
||||
.. date: 2017-09-26-10-11-21
|
||||
.. nonce: TM90_H
|
||||
.. section: Tools/Demos
|
||||
|
||||
Fix 2to3 for using with --add-suffix option but without --output-dir option
|
||||
for relative path to files in current directory.
|
|
@ -0,0 +1,592 @@
|
|||
.. bpo: 33622
|
||||
.. date: 2018-05-23-20-46-14
|
||||
.. nonce: xPucO9
|
||||
.. release date: 2018-05-30
|
||||
.. section: Core and Builtins
|
||||
|
||||
Fixed a leak when the garbage collector fails to add an object with the
|
||||
``__del__`` method or referenced by it into the :data:`gc.garbage` list.
|
||||
:c:func:`PyGC_Collect` can now be called when an exception is set and
|
||||
preserves it.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33509
|
||||
.. date: 2018-05-14-17-31-02
|
||||
.. nonce: pIUfTd
|
||||
.. section: Core and Builtins
|
||||
|
||||
Fix module_globals parameter of warnings.warn_explicit(): don't crash if
|
||||
module_globals is not a dict.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 20104
|
||||
.. date: 2018-05-14-11-34-55
|
||||
.. nonce: kqBNzv
|
||||
.. section: Core and Builtins
|
||||
|
||||
The new `os.posix_spawn` added in 3.7.0b1 was removed as we are still
|
||||
working on what the API should look like. Expect this in 3.8 instead.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33475
|
||||
.. date: 2018-05-13-01-26-18
|
||||
.. nonce: rI0y1U
|
||||
.. section: Core and Builtins
|
||||
|
||||
Fixed miscellaneous bugs in converting annotations to strings and optimized
|
||||
parentheses in the string representation.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33391
|
||||
.. date: 2018-05-02-08-36-03
|
||||
.. nonce: z4a7rb
|
||||
.. section: Core and Builtins
|
||||
|
||||
Fix a leak in set_symmetric_difference().
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 28055
|
||||
.. date: 2018-04-25-20-44-42
|
||||
.. nonce: f49kfC
|
||||
.. section: Core and Builtins
|
||||
|
||||
Fix unaligned accesses in siphash24(). Patch by Rolf Eike Beer.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32911
|
||||
.. date: 2018-02-27-20-57-00
|
||||
.. nonce: cmKfco
|
||||
.. section: Core and Builtins
|
||||
|
||||
Due to unexpected compatibility issues discovered during downstream beta
|
||||
testing, reverted :issue:`29463`. ``docstring`` field is removed from
|
||||
Module, ClassDef, FunctionDef, and AsyncFunctionDef ast nodes which was
|
||||
added in 3.7a1. Docstring expression is restored as a first statement in
|
||||
their body. Based on patch by Inada Naoki.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 21983
|
||||
.. date: 2017-10-02-21-02-14
|
||||
.. nonce: UoC319
|
||||
.. section: Core and Builtins
|
||||
|
||||
Fix a crash in `ctypes.cast()` in case the type argument is a ctypes
|
||||
structured data type. Patch by Eryk Sun and Oren Milman.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32751
|
||||
.. date: 2018-05-29-15-32-18
|
||||
.. nonce: oBTqr7
|
||||
.. section: Library
|
||||
|
||||
When cancelling the task due to a timeout, :meth:`asyncio.wait_for` will now
|
||||
wait until the cancellation is complete.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32684
|
||||
.. date: 2018-05-29-12-51-18
|
||||
.. nonce: ZEIism
|
||||
.. section: Library
|
||||
|
||||
Fix gather to propagate cancellation of itself even with return_exceptions.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33654
|
||||
.. date: 2018-05-29-01-13-39
|
||||
.. nonce: sa81Si
|
||||
.. section: Library
|
||||
|
||||
Support protocol type switching in SSLTransport.set_protocol().
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33674
|
||||
.. date: 2018-05-29-00-37-56
|
||||
.. nonce: 2IkGhL
|
||||
.. section: Library
|
||||
|
||||
Pause the transport as early as possible to further reduce the risk of
|
||||
data_received() being called before connection_made().
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33674
|
||||
.. date: 2018-05-28-22-49-59
|
||||
.. nonce: 6LFFj7
|
||||
.. section: Library
|
||||
|
||||
Fix a race condition in SSLProtocol.connection_made() of asyncio.sslproto:
|
||||
start immediately the handshake instead of using call_soon(). Previously,
|
||||
data_received() could be called before the handshake started, causing the
|
||||
handshake to hang or fail.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 31647
|
||||
.. date: 2018-05-28-18-40-26
|
||||
.. nonce: s4Fad3
|
||||
.. section: Library
|
||||
|
||||
Fixed bug where calling write_eof() on a _SelectorSocketTransport after it's
|
||||
already closed raises AttributeError.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32610
|
||||
.. date: 2018-05-28-16-40-32
|
||||
.. nonce: KvUAsL
|
||||
.. section: Library
|
||||
|
||||
Make asyncio.all_tasks() return only pending tasks.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32410
|
||||
.. date: 2018-05-28-16-19-35
|
||||
.. nonce: Z1DZaF
|
||||
.. section: Library
|
||||
|
||||
Avoid blocking on file IO in sendfile fallback code
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33469
|
||||
.. date: 2018-05-28-15-55-12
|
||||
.. nonce: hmXBpY
|
||||
.. section: Library
|
||||
|
||||
Fix RuntimeError after closing loop that used run_in_executor
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33672
|
||||
.. date: 2018-05-28-12-29-54
|
||||
.. nonce: GM_Xm_
|
||||
.. section: Library
|
||||
|
||||
Fix Task.__repr__ crash with Cython's bogus coroutines
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33654
|
||||
.. date: 2018-05-26-13-09-34
|
||||
.. nonce: IbYWxA
|
||||
.. section: Library
|
||||
|
||||
Fix transport.set_protocol() to support switching between asyncio.Protocol
|
||||
and asyncio.BufferedProtocol. Fix loop.start_tls() to work with
|
||||
asyncio.BufferedProtocols.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33652
|
||||
.. date: 2018-05-26-10-13-59
|
||||
.. nonce: humFJ1
|
||||
.. section: Library
|
||||
|
||||
Pickles of type variables and subscripted generics are now future-proof and
|
||||
compatible with older Python versions.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32493
|
||||
.. date: 2018-05-24-17-41-36
|
||||
.. nonce: 5tAoAu
|
||||
.. section: Library
|
||||
|
||||
Fixed :func:`uuid.uuid1` on FreeBSD.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33618
|
||||
.. date: 2018-05-23-20-14-34
|
||||
.. nonce: xU39lr
|
||||
.. section: Library
|
||||
|
||||
Finalize and document preliminary and experimental TLS 1.3 support with
|
||||
OpenSSL 1.1.1
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33623
|
||||
.. date: 2018-05-23-14-58-05
|
||||
.. nonce: wAw1cF
|
||||
.. section: Library
|
||||
|
||||
Fix possible SIGSGV when asyncio.Future is created in __del__
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 30877
|
||||
.. date: 2018-05-22-13-05-12
|
||||
.. nonce: JZEGjI
|
||||
.. section: Library
|
||||
|
||||
Fixed a bug in the Python implementation of the JSON decoder that prevented
|
||||
the cache of parsed strings from clearing after finishing the decoding.
|
||||
Based on patch by c-fos.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33570
|
||||
.. date: 2018-05-18-21-50-47
|
||||
.. nonce: 7CZy4t
|
||||
.. section: Library
|
||||
|
||||
Change TLS 1.3 cipher suite settings for compatibility with OpenSSL
|
||||
1.1.1-pre6 and newer. OpenSSL 1.1.1 will have TLS 1.3 cipers enabled by
|
||||
default.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 28556
|
||||
.. date: 2018-05-17-22-53-08
|
||||
.. nonce: C6Hnd1
|
||||
.. section: Library
|
||||
|
||||
Do not simplify arguments to `typing.Union`. Now `Union[Manager, Employee]`
|
||||
is not simplified to `Employee` at runtime. Such simplification previously
|
||||
caused several bugs and limited possibilities for introspection.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33540
|
||||
.. date: 2018-05-16-18-10-38
|
||||
.. nonce: wy9LRV
|
||||
.. section: Library
|
||||
|
||||
Add a new ``block_on_close`` class attribute to ``ForkingMixIn`` and
|
||||
``ThreadingMixIn`` classes of :mod:`socketserver`.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33548
|
||||
.. date: 2018-05-16-17-05-48
|
||||
.. nonce: xWslmx
|
||||
.. section: Library
|
||||
|
||||
tempfile._candidate_tempdir_list should consider common TEMP locations
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33109
|
||||
.. date: 2018-05-16-14-57-58
|
||||
.. nonce: nPLL_S
|
||||
.. section: Library
|
||||
|
||||
argparse subparsers are once again not required by default, reverting the
|
||||
change in behavior introduced by bpo-26510 in 3.7.0a2.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33536
|
||||
.. date: 2018-05-16-10-07-40
|
||||
.. nonce: _s0TE8
|
||||
.. section: Library
|
||||
|
||||
dataclasses.make_dataclass now checks for invalid field names and duplicate
|
||||
fields. Also, added a check for invalid field specifications.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33542
|
||||
.. date: 2018-05-16-09-30-27
|
||||
.. nonce: idNAcs
|
||||
.. section: Library
|
||||
|
||||
Prevent ``uuid.get_node`` from using a DUID instead of a MAC on Windows.
|
||||
Patch by Zvi Effron
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 26819
|
||||
.. date: 2018-05-16-05-24-43
|
||||
.. nonce: taxbVT
|
||||
.. section: Library
|
||||
|
||||
Fix race condition with `ReadTransport.resume_reading` in Windows proactor
|
||||
event loop.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 0
|
||||
.. date: 2018-05-15-18-02-03
|
||||
.. nonce: pj2Mbb
|
||||
.. section: Library
|
||||
|
||||
Fix failure in `typing.get_type_hints()` when ClassVar was provided as a
|
||||
string forward reference.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33505
|
||||
.. date: 2018-05-14-18-05-35
|
||||
.. nonce: L8pAyt
|
||||
.. section: Library
|
||||
|
||||
Optimize asyncio.ensure_future() by reordering if checks: 1.17x faster.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33497
|
||||
.. date: 2018-05-14-17-49-34
|
||||
.. nonce: wWT6XM
|
||||
.. section: Library
|
||||
|
||||
Add errors param to cgi.parse_multipart and make an encoding in FieldStorage
|
||||
use the given errors (needed for Twisted). Patch by Amber Brown.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33495
|
||||
.. date: 2018-05-14-10-29-03
|
||||
.. nonce: TeGTQJ
|
||||
.. section: Library
|
||||
|
||||
Change dataclasses.Fields repr to use the repr of each of its members,
|
||||
instead of str. This makes it more clear what each field actually
|
||||
represents. This is especially true for the 'type' member.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33453
|
||||
.. date: 2018-05-12-06-01-02
|
||||
.. nonce: Fj-jMD
|
||||
.. section: Library
|
||||
|
||||
Fix dataclasses to work if using literal string type annotations or if using
|
||||
PEP 563 "Postponed Evaluation of Annotations". Only specific string
|
||||
prefixes are detected for both ClassVar ("ClassVar" and "typing.ClassVar")
|
||||
and InitVar ("InitVar" and "dataclasses.InitVar").
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 28556
|
||||
.. date: 2018-05-08-16-43-42
|
||||
.. nonce: _xr5mp
|
||||
.. section: Library
|
||||
|
||||
Minor fixes in typing module: add annotations to ``NamedTuple.__new__``,
|
||||
pass ``*args`` and ``**kwds`` in ``Generic.__new__``. Original PRs by
|
||||
Paulius Šarka and Chad Dombrova.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 20087
|
||||
.. date: 2018-05-05-18-02-24
|
||||
.. nonce: lJrvXL
|
||||
.. section: Library
|
||||
|
||||
Updated alias mapping with glibc 2.27 supported locales.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33422
|
||||
.. date: 2018-05-05-09-53-05
|
||||
.. nonce: 4FtQ0q
|
||||
.. section: Library
|
||||
|
||||
Fix trailing quotation marks getting deleted when looking up byte/string
|
||||
literals on pydoc. Patch by Andrés Delfino.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 28167
|
||||
.. date: 2018-05-02-07-26-29
|
||||
.. nonce: 7FwDfN
|
||||
.. section: Library
|
||||
|
||||
The function ``platform.linux_distribution`` and ``platform.dist`` now
|
||||
trigger a ``DeprecationWarning`` and have been marked for removal in Python
|
||||
3.8
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33197
|
||||
.. date: 2018-04-29-23-56-20
|
||||
.. nonce: dgRLqr
|
||||
.. section: Library
|
||||
|
||||
Update error message when constructing invalid inspect.Parameters Patch by
|
||||
Dong-hee Na.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33263
|
||||
.. date: 2018-04-11-20-29-19
|
||||
.. nonce: B56Hc1
|
||||
.. section: Library
|
||||
|
||||
Fix FD leak in `_SelectorSocketTransport` Patch by Vlad Starostin.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32861
|
||||
.. date: 2018-04-02-20-44-54
|
||||
.. nonce: HeBjzN
|
||||
.. section: Library
|
||||
|
||||
The urllib.robotparser's ``__str__`` representation now includes wildcard
|
||||
entries and the "Crawl-delay" and "Request-rate" fields. Patch by Michael
|
||||
Lazar.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32257
|
||||
.. date: 2018-02-26-09-08-07
|
||||
.. nonce: 6ElnUt
|
||||
.. section: Library
|
||||
|
||||
The ssl module now contains OP_NO_RENEGOTIATION constant, available with
|
||||
OpenSSL 1.1.0h or 1.1.1.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 16865
|
||||
.. date: 2017-09-29-16-40-38
|
||||
.. nonce: l-f6I_
|
||||
.. section: Library
|
||||
|
||||
Support arrays >=2GiB in :mod:`ctypes`. Patch by Segev Finer.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 23859
|
||||
.. date: 2018-05-29-16-02-31
|
||||
.. nonce: E5gba1
|
||||
.. section: Documentation
|
||||
|
||||
Document that `asyncio.wait()` does not cancel its futures on timeout.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32436
|
||||
.. date: 2018-05-23-11-59-51
|
||||
.. nonce: S1LGPa
|
||||
.. section: Documentation
|
||||
|
||||
Document PEP 567 changes to asyncio.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33604
|
||||
.. date: 2018-05-22-11-47-14
|
||||
.. nonce: 5YHTpz
|
||||
.. section: Documentation
|
||||
|
||||
Update HMAC md5 default to a DeprecationWarning, bump removal to 3.8.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33503
|
||||
.. date: 2018-05-14-20-08-58
|
||||
.. nonce: Wvt0qg
|
||||
.. section: Documentation
|
||||
|
||||
Fix broken pypi link
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33421
|
||||
.. date: 2018-05-14-15-15-41
|
||||
.. nonce: 3GU_QO
|
||||
.. section: Documentation
|
||||
|
||||
Add missing documentation for ``typing.AsyncContextManager``.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33655
|
||||
.. date: 2018-05-26-16-01-40
|
||||
.. nonce: Frb4LA
|
||||
.. section: Tests
|
||||
|
||||
Ignore test_posix_fallocate failures on BSD platforms that might be due to
|
||||
running on ZFS.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32604
|
||||
.. date: 2018-05-14-13-32-46
|
||||
.. nonce: a_z6D_
|
||||
.. section: Tests
|
||||
|
||||
Remove the _xxsubinterpreters module (meant for testing) and associated
|
||||
helpers. This module was originally added recently in 3.7b1.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33614
|
||||
.. date: 2018-05-28-11-40-22
|
||||
.. nonce: 28e0sE
|
||||
.. section: Build
|
||||
|
||||
Ensures module definition files for the stable ABI on Windows are correctly
|
||||
regenerated.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33522
|
||||
.. date: 2018-05-15-12-44-50
|
||||
.. nonce: mJoNcA
|
||||
.. section: Build
|
||||
|
||||
Enable CI builds on Visual Studio Team Services at
|
||||
https://python.visualstudio.com/cpython
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33012
|
||||
.. date: 2018-05-10-21-10-01
|
||||
.. nonce: 5Zfjac
|
||||
.. section: Build
|
||||
|
||||
Add ``-Wno-cast-function-type`` for gcc 8 for silencing warnings about
|
||||
function casts like casting to PyCFunction in method definition lists.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 13631
|
||||
.. date: 2018-05-16-13-25-58
|
||||
.. nonce: UIjDyY
|
||||
.. section: macOS
|
||||
|
||||
The .editrc file in user's home directory is now processed correctly during
|
||||
the readline initialization through editline emulation on macOS.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33628
|
||||
.. date: 2018-05-23-19-51-07
|
||||
.. nonce: sLlFLO
|
||||
.. section: IDLE
|
||||
|
||||
IDLE: Cleanup codecontext.py and its test.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33564
|
||||
.. date: 2018-05-17-19-41-12
|
||||
.. nonce: XzHZJe
|
||||
.. section: IDLE
|
||||
|
||||
IDLE's code context now recognizes async as a block opener.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32831
|
||||
.. date: 2018-02-12-08-08-45
|
||||
.. nonce: srDRvU
|
||||
.. section: IDLE
|
||||
|
||||
Add docstrings and tests for codecontext.
|
|
@ -0,0 +1,275 @@
|
|||
.. bpo: 33803
|
||||
.. date: 2018-06-07-20-18-38
|
||||
.. nonce: n-Nq6_
|
||||
.. release date: 2018-06-12
|
||||
.. section: Core and Builtins
|
||||
|
||||
Fix a crash in hamt.c caused by enabling GC tracking for an object that
|
||||
hadn't all of its fields set to NULL.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33706
|
||||
.. date: 2018-05-31-14-50-04
|
||||
.. nonce: ztlH04
|
||||
.. section: Core and Builtins
|
||||
|
||||
Fix a crash in Python initialization when parsing the command line options.
|
||||
Thanks Christoph Gohlke for the bug report and the fix!
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 30654
|
||||
.. date: 2018-05-28-12-28-53
|
||||
.. nonce: 9fDJye
|
||||
.. section: Core and Builtins
|
||||
|
||||
Fixed reset of the SIGINT handler to SIG_DFL on interpreter shutdown even
|
||||
when there was a custom handler set previously. Patch by Philipp Kerling.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 31849
|
||||
.. date: 2018-05-14-11-00-00
|
||||
.. nonce: EmHaH4
|
||||
.. section: Core and Builtins
|
||||
|
||||
Fix signed/unsigned comparison warning in pyhash.c.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 30167
|
||||
.. date: 2018-06-10-19-29-17
|
||||
.. nonce: G5EgC5
|
||||
.. section: Library
|
||||
|
||||
Prevent site.main() exception if PYTHONSTARTUP is set. Patch by Steve Weber.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33812
|
||||
.. date: 2018-06-10-13-26-02
|
||||
.. nonce: frGAOr
|
||||
.. section: Library
|
||||
|
||||
Datetime instance d with non-None tzinfo, but with d.tzinfo.utcoffset(d)
|
||||
returning None is now treated as naive by the astimezone() method.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 30805
|
||||
.. date: 2018-06-08-17-34-16
|
||||
.. nonce: 3qCWa0
|
||||
.. section: Library
|
||||
|
||||
Avoid race condition with debug logging
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33694
|
||||
.. date: 2018-06-07-23-51-00
|
||||
.. nonce: F1zIR1
|
||||
.. section: Library
|
||||
|
||||
asyncio: Fix a race condition causing data loss on
|
||||
pause_reading()/resume_reading() when using the ProactorEventLoop.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32493
|
||||
.. date: 2018-06-07-18-55-35
|
||||
.. nonce: 1Bte62
|
||||
.. section: Library
|
||||
|
||||
Correct test for ``uuid_enc_be`` availability in ``configure.ac``. Patch by
|
||||
Michael Felt.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33792
|
||||
.. date: 2018-06-07-12-38-12
|
||||
.. nonce: 3aKG7u
|
||||
.. section: Library
|
||||
|
||||
Add asyncio.WindowsSelectorEventLoopPolicy and
|
||||
asyncio.WindowsProactorEventLoopPolicy.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33778
|
||||
.. date: 2018-06-05-20-22-30
|
||||
.. nonce: _tSAS6
|
||||
.. section: Library
|
||||
|
||||
Update ``unicodedata``'s database to Unicode version 11.0.0.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33770
|
||||
.. date: 2018-06-05-11-29-26
|
||||
.. nonce: oBhxxw
|
||||
.. section: Library
|
||||
|
||||
improve base64 exception message for encoded inputs of invalid length
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33769
|
||||
.. date: 2018-06-04-13-46-39
|
||||
.. nonce: D_pxYz
|
||||
.. section: Library
|
||||
|
||||
asyncio/start_tls: Fix error message; cancel callbacks in case of an
|
||||
unhandled error; mark SSLTransport as closed if it is aborted.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33767
|
||||
.. date: 2018-06-03-22-41-59
|
||||
.. nonce: 2e82g3
|
||||
.. section: Library
|
||||
|
||||
The concatenation (``+``) and repetition (``*``) sequence operations now
|
||||
raise :exc:`TypeError` instead of :exc:`SystemError` when performed on
|
||||
:class:`mmap.mmap` objects. Patch by Zackery Spytz.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33734
|
||||
.. date: 2018-06-01-10-55-48
|
||||
.. nonce: x1W9x0
|
||||
.. section: Library
|
||||
|
||||
asyncio/ssl: Fix AttributeError, increase default handshake timeout
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 11874
|
||||
.. date: 2018-05-23-00-26-27
|
||||
.. nonce: glK5iP
|
||||
.. section: Library
|
||||
|
||||
Use a better regex when breaking usage into wrappable parts. Avoids bogus
|
||||
assertion errors from custom metavar strings.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33582
|
||||
.. date: 2018-05-19-15-58-14
|
||||
.. nonce: qBZPmF
|
||||
.. section: Library
|
||||
|
||||
Emit a deprecation warning for inspect.formatargspec
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33409
|
||||
.. date: 2018-06-08-23-46-01
|
||||
.. nonce: r4z9MM
|
||||
.. section: Documentation
|
||||
|
||||
Clarified the relationship between PEP 538's PYTHONCOERCECLOCALE and PEP
|
||||
540's PYTHONUTF8 mode.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33736
|
||||
.. date: 2018-06-01-12-27-40
|
||||
.. nonce: JVegIu
|
||||
.. section: Documentation
|
||||
|
||||
Improve the documentation of :func:`asyncio.open_connection`,
|
||||
:func:`asyncio.start_server` and their UNIX socket counterparts.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 31432
|
||||
.. date: 2017-09-13-07-14-59
|
||||
.. nonce: yAY4Z3
|
||||
.. section: Documentation
|
||||
|
||||
Clarify meaning of CERT_NONE, CERT_OPTIONAL, and CERT_REQUIRED flags for
|
||||
ssl.SSLContext.verify_mode.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 5755
|
||||
.. date: 2018-06-04-21-34-34
|
||||
.. nonce: 65GmCj
|
||||
.. section: Build
|
||||
|
||||
Move ``-Wstrict-prototypes`` option to ``CFLAGS_NODIST`` from ``OPT``. This
|
||||
option emitted annoying warnings when building extension modules written in
|
||||
C++.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33720
|
||||
.. date: 2018-06-04-09-20-53
|
||||
.. nonce: VKDXHK
|
||||
.. section: Windows
|
||||
|
||||
Reduces maximum marshal recursion depth on release builds.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33656
|
||||
.. date: 2018-06-10-17-59-36
|
||||
.. nonce: 60ZqJS
|
||||
.. section: IDLE
|
||||
|
||||
On Windows, add API call saying that tk scales for DPI. On Windows 8.1+ or
|
||||
10, with DPI compatibility properties of the Python binary unchanged, and a
|
||||
monitor resolution greater than 96 DPI, this should make text and lines
|
||||
sharper. It should otherwise have no effect.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33768
|
||||
.. date: 2018-06-04-19-23-11
|
||||
.. nonce: I_2qpV
|
||||
.. section: IDLE
|
||||
|
||||
Clicking on a context line moves that line to the top of the editor window.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33763
|
||||
.. date: 2018-06-03-20-12-57
|
||||
.. nonce: URiFlE
|
||||
.. section: IDLE
|
||||
|
||||
IDLE: Use read-only text widget for code context instead of label widget.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33664
|
||||
.. date: 2018-06-03-09-13-28
|
||||
.. nonce: PZzQyL
|
||||
.. section: IDLE
|
||||
|
||||
Scroll IDLE editor text by lines. Previously, the mouse wheel and scrollbar
|
||||
slider moved text by a fixed number of pixels, resulting in partial lines at
|
||||
the top of the editor box. The change also applies to the shell and grep
|
||||
output windows, but not to read-only text views.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33679
|
||||
.. date: 2018-05-29-07-14-37
|
||||
.. nonce: MgX_Ui
|
||||
.. section: IDLE
|
||||
|
||||
Enable theme-specific color configuration for Code Context. Use the
|
||||
Highlights tab to see the setting for built-in themes or add settings to
|
||||
custom themes.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 33642
|
||||
.. date: 2018-05-24-20-42-44
|
||||
.. nonce: J0VQbS
|
||||
.. section: IDLE
|
||||
|
||||
Display up to maxlines non-blank lines for Code Context. If there is no
|
||||
current context, show a single blank line.
|
Loading…
Reference in New Issue