Python 3.8.0b4
-----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE4/8oOcBIslwITevpsmmV4xAlBWgFAl1oSsoACgkQsmmV4xAl BWiZ2w/9EGp9XonU8NCJShlmjmat3q1S1FKQD69W4817cQRNtj8Lv6UP17epkVtX 8ASRA5IdUuMhU30A6eUMmk0HmVjTDvxQTCpC0qSa1gDxd6vysydTDOmxyoRExR5R secZIYswJVsKUGyiR0+aOaOqDJSS4zUMLttdBeiEKwZEXyXntqOStB3nx/lURKkM wLzQM0N7HQKvqY9lc3ANQ12LcD9rpj9xn4dx3mauINNOJlA1sy3ymt/6iiRJlYYC LwoahzS8q1TSvz6X/E0kHZ3cZ//uiAgDF9XpuDUm5bwKwClHm5hxnDF53do6FP3V u4CIDNySksrvxha+5F9Y8Ln9M8t2pjfl+XzKMPoEb7pGugV8TAhnWdRk0CO6FkS4 ApLiY0CsxrB+vpQxOVBwIchqM9QXXf6kZxh8T/R1qkFRpThepLNGR87rXEuZLt+I HjJPgiC1gvyiVESvzMFllMbCq1syjrONsvRQOjL4NhrdjH+xPuscuNZlgClwW1uz plIScSsAZyPI22Vs55ppLpxo8gU8y87i4nHBr82asc4e84R1gWqlrQbnut6Q7r38 cT41RKlMgY5YG41L/hUaYPyWXhIbYXk3KTyi0FW+ShPQriFaL348XWJTpfDupSZh rv7Bnh4JGUkmDw988VMCL9WbWDdo9gZjJPeHuI8MHWrO3ZP8130= =O/oH -----END PGP SIGNATURE----- gpgsig -----BEGIN PGP SIGNATURE----- iQJEBAABCAAuFiEE4/8oOcBIslwITevpsmmV4xAlBWgFAl1o5dYQHGx1a2FzekBs YW5nYS5wbAAKCRCyaZXjECUFaLU6D/9botf8rulCYHS799GjFWt9kjBycZYhUJij +pDLDm+ORq50eJnQYYgE3eTFLhRO7IypnIf1eSoFv/pxxDgWdqsKLoLRA8qjCjc6 PBmK2w88QBpDpX54B5yZrwFihlH9xRZSOmKAepOkDDa1VTUUiID2Wo+ZGG6+yjmg EV6vdWBVTDbHTRND5d/mP7AZ+n/LAN1SUwO4QCIsLXLb/8L+1CLs2/7iOWEvu5TP 4DGO0D3e+kZv67EnrJB3mlxwgSupEnHwiNg0GL8NoFA4WRXMNx5l8QmhQuwj1ybz NbhbR8pZIejBrJE7Va58g6Yg5/7qTHNFSnsNT9o5OFBNahLzqB6/aNspyn+Wyb3b KsfirTXGCdau4ufDJWLRXTn/OkmbG141F5p82BXoPr4NMchdcAivVQbWMB2QvZ/D 8S6AcUIscmD8uY+UT1d2fq0gxXPIf8+oXOqhlZ3TypnFuQKtEMU0htytvVVvEtJo PTs0mGxLq56/bvAE56lLuW5wJLXJOGZ9JSW6HqiYNEcEcotwY/RvraQ4TuTwHu5f /ZKIzAYJ+WwalVQDXky6rUd4xFOiQ0xeAz+hvdRAf9RtIMfOQUGQz8pv0x6m5ULO FBRJArkT+OYpAODFJDg1dvy1PWKSb9RRZC1HoZx1Hgk92hUtpliVQ/Rmh7jpE+0G M6l5t87ofA== =hIaU -----END PGP SIGNATURE----- Merge tag 'v3.8.0b4' into 3.8 Python 3.8.0b4
This commit is contained in:
commit
23d532a435
|
@ -20,10 +20,10 @@
|
|||
#define PY_MINOR_VERSION 8
|
||||
#define PY_MICRO_VERSION 0
|
||||
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_BETA
|
||||
#define PY_RELEASE_SERIAL 3
|
||||
#define PY_RELEASE_SERIAL 4
|
||||
|
||||
/* Version as a string */
|
||||
#define PY_VERSION "3.8.0b3+"
|
||||
#define PY_VERSION "3.8.0b4"
|
||||
/*--end constants--*/
|
||||
|
||||
/* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Autogenerated by Sphinx on Mon Jul 29 15:22:27 2019
|
||||
# Autogenerated by Sphinx on Thu Aug 29 23:57:58 2019
|
||||
topics = {'assert': 'The "assert" statement\n'
|
||||
'**********************\n'
|
||||
'\n'
|
||||
|
@ -808,21 +808,34 @@ topics = {'assert': 'The "assert" statement\n'
|
|||
'whose name is\n'
|
||||
'the key of the property in the owner class’ "__dict__".\n'
|
||||
'\n'
|
||||
'object.__get__(self, instance, owner)\n'
|
||||
'object.__get__(self, instance, owner=None)\n'
|
||||
'\n'
|
||||
' Called to get the attribute of the owner class (class '
|
||||
'attribute\n'
|
||||
' access) or of an instance of that class (instance '
|
||||
'attribute\n'
|
||||
' access). *owner* is always the owner class, while '
|
||||
'*instance* is the\n'
|
||||
' instance that the attribute was accessed through, or '
|
||||
'"None" when\n'
|
||||
' the attribute is accessed through the *owner*. This '
|
||||
'method should\n'
|
||||
' return the (computed) attribute value or raise an '
|
||||
'"AttributeError"\n'
|
||||
' exception.\n'
|
||||
' access). The optional *owner* argument is the owner '
|
||||
'class, while\n'
|
||||
' *instance* is the instance that the attribute was '
|
||||
'accessed through,\n'
|
||||
' or "None" when the attribute is accessed through the '
|
||||
'*owner*.\n'
|
||||
'\n'
|
||||
' This method should return the computed attribute '
|
||||
'value or raise an\n'
|
||||
' "AttributeError" exception.\n'
|
||||
'\n'
|
||||
' **PEP 252** specifies that "__get__()" is callable '
|
||||
'with one or two\n'
|
||||
' arguments. Python’s own built-in descriptors support '
|
||||
'this\n'
|
||||
' specification; however, it is likely that some '
|
||||
'third-party tools\n'
|
||||
' have descriptors that require both arguments. '
|
||||
'Python’s own\n'
|
||||
' "__getattribute__()" implementation always passes in '
|
||||
'both arguments\n'
|
||||
' whether they are required or not.\n'
|
||||
'\n'
|
||||
'object.__set__(self, instance, value)\n'
|
||||
'\n'
|
||||
|
@ -830,6 +843,12 @@ topics = {'assert': 'The "assert" statement\n'
|
|||
'of the owner\n'
|
||||
' class to a new value, *value*.\n'
|
||||
'\n'
|
||||
' Note, adding "__set__()" or "__delete__()" changes '
|
||||
'the kind of\n'
|
||||
' descriptor to a “data descriptor”. See Invoking '
|
||||
'Descriptors for\n'
|
||||
' more details.\n'
|
||||
'\n'
|
||||
'object.__delete__(self, instance)\n'
|
||||
'\n'
|
||||
' Called to delete the attribute on an instance '
|
||||
|
@ -1829,6 +1848,12 @@ topics = {'assert': 'The "assert" statement\n'
|
|||
'all false.\n'
|
||||
' This behavior is compliant with IEEE 754.\n'
|
||||
'\n'
|
||||
'* "None" and "NotImplemented" are singletons. **PEP 8** '
|
||||
'advises\n'
|
||||
' that comparisons for singletons should always be done with '
|
||||
'"is" or\n'
|
||||
' "is not", never the equality operators.\n'
|
||||
'\n'
|
||||
'* Binary sequences (instances of "bytes" or "bytearray") can '
|
||||
'be\n'
|
||||
' compared within and across their types. They compare\n'
|
||||
|
@ -1854,38 +1879,13 @@ topics = {'assert': 'The "assert" statement\n'
|
|||
' these types raises "TypeError".\n'
|
||||
'\n'
|
||||
' Sequences compare lexicographically using comparison of\n'
|
||||
' corresponding elements, whereby reflexivity of the elements '
|
||||
'is\n'
|
||||
' enforced.\n'
|
||||
'\n'
|
||||
' In enforcing reflexivity of elements, the comparison of '
|
||||
'collections\n'
|
||||
' assumes that for a collection element "x", "x == x" is '
|
||||
'always true.\n'
|
||||
' Based on that assumption, element identity is compared '
|
||||
'first, and\n'
|
||||
' element comparison is performed only for distinct '
|
||||
'elements. This\n'
|
||||
' approach yields the same result as a strict element '
|
||||
'comparison\n'
|
||||
' would, if the compared elements are reflexive. For '
|
||||
'non-reflexive\n'
|
||||
' elements, the result is different than for strict element\n'
|
||||
' comparison, and may be surprising: The non-reflexive '
|
||||
'not-a-number\n'
|
||||
' values for example result in the following comparison '
|
||||
'behavior when\n'
|
||||
' used in a list:\n'
|
||||
'\n'
|
||||
" >>> nan = float('NaN')\n"
|
||||
' >>> nan is nan\n'
|
||||
' True\n'
|
||||
' >>> nan == nan\n'
|
||||
' False <-- the defined non-reflexive '
|
||||
'behavior of NaN\n'
|
||||
' >>> [nan] == [nan]\n'
|
||||
' True <-- list enforces reflexivity and '
|
||||
'tests identity first\n'
|
||||
' corresponding elements. The built-in containers typically '
|
||||
'assume\n'
|
||||
' identical objects are equal to themselves. That lets them '
|
||||
'bypass\n'
|
||||
' equality tests for identical objects to improve performance '
|
||||
'and to\n'
|
||||
' maintain their internal invariants.\n'
|
||||
'\n'
|
||||
' Lexicographical comparison between built-in collections '
|
||||
'works as\n'
|
||||
|
@ -3126,13 +3126,15 @@ topics = {'assert': 'The "assert" statement\n'
|
|||
'returning\n'
|
||||
' it.\n'
|
||||
'\n'
|
||||
' If "__new__()" returns an instance of *cls*, then the '
|
||||
'new\n'
|
||||
' instance’s "__init__()" method will be invoked like\n'
|
||||
' "__init__(self[, ...])", where *self* is the new '
|
||||
'instance and the\n'
|
||||
' remaining arguments are the same as were passed to '
|
||||
'"__new__()".\n'
|
||||
' If "__new__()" is invoked during object construction and '
|
||||
'it returns\n'
|
||||
' an instance or subclass of *cls*, then the new '
|
||||
'instance’s\n'
|
||||
' "__init__()" method will be invoked like '
|
||||
'"__init__(self[, ...])",\n'
|
||||
' where *self* is the new instance and the remaining '
|
||||
'arguments are\n'
|
||||
' the same as were passed to the object constructor.\n'
|
||||
'\n'
|
||||
' If "__new__()" does not return an instance of *cls*, '
|
||||
'then the new\n'
|
||||
|
@ -3500,10 +3502,10 @@ topics = {'assert': 'The "assert" statement\n'
|
|||
' hashable by an "isinstance(obj, '
|
||||
'collections.abc.Hashable)" call.\n'
|
||||
'\n'
|
||||
' Note: By default, the "__hash__()" values of str, bytes '
|
||||
'and\n'
|
||||
' datetime objects are “salted” with an unpredictable '
|
||||
'random value.\n'
|
||||
' Note: By default, the "__hash__()" values of str and '
|
||||
'bytes\n'
|
||||
' objects are “salted” with an unpredictable random '
|
||||
'value.\n'
|
||||
' Although they remain constant within an individual '
|
||||
'Python\n'
|
||||
' process, they are not predictable between repeated '
|
||||
|
@ -7841,13 +7843,15 @@ topics = {'assert': 'The "assert" statement\n'
|
|||
'returning\n'
|
||||
' it.\n'
|
||||
'\n'
|
||||
' If "__new__()" returns an instance of *cls*, then the '
|
||||
'new\n'
|
||||
' instance’s "__init__()" method will be invoked like\n'
|
||||
' "__init__(self[, ...])", where *self* is the new instance '
|
||||
'and the\n'
|
||||
' remaining arguments are the same as were passed to '
|
||||
'"__new__()".\n'
|
||||
' If "__new__()" is invoked during object construction and '
|
||||
'it returns\n'
|
||||
' an instance or subclass of *cls*, then the new '
|
||||
'instance’s\n'
|
||||
' "__init__()" method will be invoked like "__init__(self[, '
|
||||
'...])",\n'
|
||||
' where *self* is the new instance and the remaining '
|
||||
'arguments are\n'
|
||||
' the same as were passed to the object constructor.\n'
|
||||
'\n'
|
||||
' If "__new__()" does not return an instance of *cls*, then '
|
||||
'the new\n'
|
||||
|
@ -8212,10 +8216,10 @@ topics = {'assert': 'The "assert" statement\n'
|
|||
' hashable by an "isinstance(obj, '
|
||||
'collections.abc.Hashable)" call.\n'
|
||||
'\n'
|
||||
' Note: By default, the "__hash__()" values of str, bytes '
|
||||
'and\n'
|
||||
' datetime objects are “salted” with an unpredictable '
|
||||
'random value.\n'
|
||||
' Note: By default, the "__hash__()" values of str and '
|
||||
'bytes\n'
|
||||
' objects are “salted” with an unpredictable random '
|
||||
'value.\n'
|
||||
' Although they remain constant within an individual '
|
||||
'Python\n'
|
||||
' process, they are not predictable between repeated '
|
||||
|
@ -8440,21 +8444,34 @@ topics = {'assert': 'The "assert" statement\n'
|
|||
'whose name is\n'
|
||||
'the key of the property in the owner class’ "__dict__".\n'
|
||||
'\n'
|
||||
'object.__get__(self, instance, owner)\n'
|
||||
'object.__get__(self, instance, owner=None)\n'
|
||||
'\n'
|
||||
' Called to get the attribute of the owner class (class '
|
||||
'attribute\n'
|
||||
' access) or of an instance of that class (instance '
|
||||
'attribute\n'
|
||||
' access). *owner* is always the owner class, while '
|
||||
'*instance* is the\n'
|
||||
' instance that the attribute was accessed through, or '
|
||||
'"None" when\n'
|
||||
' the attribute is accessed through the *owner*. This '
|
||||
'method should\n'
|
||||
' return the (computed) attribute value or raise an '
|
||||
'"AttributeError"\n'
|
||||
' exception.\n'
|
||||
' access). The optional *owner* argument is the owner '
|
||||
'class, while\n'
|
||||
' *instance* is the instance that the attribute was '
|
||||
'accessed through,\n'
|
||||
' or "None" when the attribute is accessed through the '
|
||||
'*owner*.\n'
|
||||
'\n'
|
||||
' This method should return the computed attribute value or '
|
||||
'raise an\n'
|
||||
' "AttributeError" exception.\n'
|
||||
'\n'
|
||||
' **PEP 252** specifies that "__get__()" is callable with '
|
||||
'one or two\n'
|
||||
' arguments. Python’s own built-in descriptors support '
|
||||
'this\n'
|
||||
' specification; however, it is likely that some '
|
||||
'third-party tools\n'
|
||||
' have descriptors that require both arguments. Python’s '
|
||||
'own\n'
|
||||
' "__getattribute__()" implementation always passes in both '
|
||||
'arguments\n'
|
||||
' whether they are required or not.\n'
|
||||
'\n'
|
||||
'object.__set__(self, instance, value)\n'
|
||||
'\n'
|
||||
|
@ -8462,6 +8479,12 @@ topics = {'assert': 'The "assert" statement\n'
|
|||
'the owner\n'
|
||||
' class to a new value, *value*.\n'
|
||||
'\n'
|
||||
' Note, adding "__set__()" or "__delete__()" changes the '
|
||||
'kind of\n'
|
||||
' descriptor to a “data descriptor”. See Invoking '
|
||||
'Descriptors for\n'
|
||||
' more details.\n'
|
||||
'\n'
|
||||
'object.__delete__(self, instance)\n'
|
||||
'\n'
|
||||
' Called to delete the attribute on an instance *instance* '
|
||||
|
@ -10030,13 +10053,15 @@ topics = {'assert': 'The "assert" statement\n'
|
|||
'\n'
|
||||
' Return true if there are only whitespace characters in '
|
||||
'the string\n'
|
||||
' and there is at least one character, false otherwise. '
|
||||
'Whitespace\n'
|
||||
' characters are those characters defined in the Unicode '
|
||||
'character\n'
|
||||
' database as “Other” or “Separator” and those with '
|
||||
'bidirectional\n'
|
||||
' property being one of “WS”, “B”, or “S”.\n'
|
||||
' and there is at least one character, false otherwise.\n'
|
||||
'\n'
|
||||
' A character is *whitespace* if in the Unicode character '
|
||||
'database\n'
|
||||
' (see "unicodedata"), either its general category is '
|
||||
'"Zs"\n'
|
||||
' (“Separator, space”), or its bidirectional class is one '
|
||||
'of "WS",\n'
|
||||
' "B", or "S".\n'
|
||||
'\n'
|
||||
'str.istitle()\n'
|
||||
'\n'
|
||||
|
@ -10725,13 +10750,9 @@ topics = {'assert': 'The "assert" statement\n'
|
|||
'\n'
|
||||
' Changed in version 3.6: Unrecognized escape sequences produce '
|
||||
'a\n'
|
||||
' "DeprecationWarning".\n'
|
||||
'\n'
|
||||
' Changed in version 3.8: Unrecognized escape sequences produce '
|
||||
' "DeprecationWarning". In a future Python version they will be '
|
||||
'a\n'
|
||||
' "SyntaxWarning". In some future version of Python they will '
|
||||
'be a\n'
|
||||
' "SyntaxError".\n'
|
||||
' "SyntaxWarning" and eventually a "SyntaxError".\n'
|
||||
'\n'
|
||||
'Even in a raw literal, quotes can be escaped with a backslash, '
|
||||
'but the\n'
|
||||
|
|
|
@ -0,0 +1,733 @@
|
|||
.. bpo: 34155
|
||||
.. date: 2019-05-04-13-33-37
|
||||
.. nonce: MJll68
|
||||
.. release date: 2019-08-29
|
||||
.. section: Security
|
||||
|
||||
Fix parsing of invalid email addresses with more than one ``@`` (e.g.
|
||||
a@b@c.com.) to not return the part before 2nd ``@`` as valid email address.
|
||||
Patch by maxking & jpic.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 37947
|
||||
.. date: 2019-08-26-04-09-57
|
||||
.. nonce: mzAQtB
|
||||
.. section: Core and Builtins
|
||||
|
||||
Adjust correctly the recursion level in the symtable generation for named
|
||||
expressions. Patch by Pablo Galindo.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 37830
|
||||
.. date: 2019-08-17-18-41-59
|
||||
.. nonce: fNfMbz
|
||||
.. section: Core and Builtins
|
||||
|
||||
Fixed compilation of :keyword:`break` and :keyword:`continue` in the
|
||||
:keyword:`finally` block when the corresponding :keyword:`try` block
|
||||
contains :keyword:`return` with a non-constant value.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32912
|
||||
.. date: 2019-08-06-14-03-59
|
||||
.. nonce: UDwSMJ
|
||||
.. section: Core and Builtins
|
||||
|
||||
Reverted :issue:`32912`: emitting :exc:`SyntaxWarning` instead of
|
||||
:exc:`DeprecationWarning` for invalid escape sequences in string and bytes
|
||||
literals.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 37757
|
||||
.. date: 2019-08-05-14-22-59
|
||||
.. nonce: lRv5HX
|
||||
.. section: Core and Builtins
|
||||
|
||||
:pep:`572`: As described in the PEP, assignment expressions now raise
|
||||
:exc:`SyntaxError` when their interaction with comprehension scoping results
|
||||
in an ambiguous target scope.
|
||||
|
||||
The ``TargetScopeError`` subclass originally proposed by the PEP has been
|
||||
removed in favour of just raising regular syntax errors for the disallowed
|
||||
cases.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 36311
|
||||
.. date: 2019-08-02-15-01-33
|
||||
.. nonce: uY5vt-
|
||||
.. section: Core and Builtins
|
||||
|
||||
Decoding bytes objects larger than 2GiB is faster and no longer fails when a
|
||||
multibyte characters spans a chunk boundary.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 37433
|
||||
.. date: 2019-06-27-15-01-14
|
||||
.. nonce: amNGqr
|
||||
.. section: Core and Builtins
|
||||
|
||||
Fix ``SyntaxError`` indicator printing too many spaces for multi-line
|
||||
strings - by Anthony Sottile.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 20523
|
||||
.. date: 2019-02-15-20-42-36
|
||||
.. nonce: rRLrvr
|
||||
.. section: Core and Builtins
|
||||
|
||||
``pdb.Pdb`` supports ~/.pdbrc in Windows 7. Patch by Tim Hopper and Dan
|
||||
Lidral-Porter.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 37834
|
||||
.. date: 2019-08-29-16-41-36
|
||||
.. nonce: FThnsh
|
||||
.. section: Library
|
||||
|
||||
Prevent shutil.rmtree exception when built on non-Windows system without fd
|
||||
system call support, like older versions of macOS.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 37965
|
||||
.. date: 2019-08-28-14-04-18
|
||||
.. nonce: 7xGE-C
|
||||
.. section: Library
|
||||
|
||||
Fix C compiler warning caused by distutils.ccompiler.CCompiler.has_function.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 37960
|
||||
.. date: 2019-08-27-10-52-13
|
||||
.. nonce: CTY7Lw
|
||||
.. section: Library
|
||||
|
||||
``repr()`` of buffered and text streams now silences only expected
|
||||
exceptions when get the value of "name" and "mode" attributes.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 37951
|
||||
.. date: 2019-08-27-10-03-48
|
||||
.. nonce: MfRQgL
|
||||
.. section: Library
|
||||
|
||||
Most features of the subprocess module now work again in subinterpreters.
|
||||
Only *preexec_fn* is restricted in subinterpreters.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 36205
|
||||
.. date: 2019-08-27-03-53-26
|
||||
.. nonce: AfkGRl
|
||||
.. section: Library
|
||||
|
||||
Fix the rusage implementation of time.process_time() to correctly report the
|
||||
sum of the system and user CPU time.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 37950
|
||||
.. date: 2019-08-26-10-45-51
|
||||
.. nonce: -K1IKT
|
||||
.. section: Library
|
||||
|
||||
Fix :func:`ast.dump` when call with incompletely initialized node.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 34679
|
||||
.. date: 2019-08-25-18-07-48
|
||||
.. nonce: HECzL7
|
||||
.. section: Library
|
||||
|
||||
Restores instantiation of Windows IOCP event loops from the non-main thread.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 36917
|
||||
.. date: 2019-08-25-14-56-42
|
||||
.. nonce: GBxdw2
|
||||
.. section: Library
|
||||
|
||||
Add default implementation of the :meth:`ast.NodeVisitor.visit_Constant`
|
||||
method which emits a deprecation warning and calls corresponding methody
|
||||
``visit_Num()``, ``visit_Str()``, etc.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 37798
|
||||
.. date: 2019-08-24-16-54-49
|
||||
.. nonce: 7mRQCk
|
||||
.. section: Library
|
||||
|
||||
Update test_statistics.py to verify that the statistics module works well
|
||||
for both C and Python implementations. Patch by Dong-hee Na
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 26589
|
||||
.. date: 2019-08-23-00-55-19
|
||||
.. nonce: M1xyxG
|
||||
.. section: Library
|
||||
|
||||
Added a new status code to the http module: 451
|
||||
UNAVAILABLE_FOR_LEGAL_REASONS
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 37915
|
||||
.. date: 2019-08-22-16-13-27
|
||||
.. nonce: xyoZI5
|
||||
.. section: Library
|
||||
|
||||
Fix a segmentation fault that appeared when comparing instances of
|
||||
``datetime.timezone`` and ``datetime.tzinfo`` objects. Patch by Pablo
|
||||
Galindo.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 37868
|
||||
.. date: 2019-08-17-22-33-54
|
||||
.. nonce: hp64fi
|
||||
.. section: Library
|
||||
|
||||
Fix dataclasses.is_dataclass when given an instance that never raises
|
||||
AttributeError in __getattr__. That is, an object that returns something
|
||||
for __dataclass_fields__ even if it's not a dataclass.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 37811
|
||||
.. date: 2019-08-14-21-41-07
|
||||
.. nonce: d1xYj7
|
||||
.. section: Library
|
||||
|
||||
Fix ``socket`` module's ``socket.connect(address)`` function being unable to
|
||||
establish connection in case of interrupted system call. The problem was
|
||||
observed on all OSes which ``poll(2)`` system call can take only
|
||||
non-negative integers and -1 as a timeout value.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 21131
|
||||
.. date: 2019-08-14-15-34-23
|
||||
.. nonce: 0MMQRi
|
||||
.. section: Library
|
||||
|
||||
Fix ``faulthandler.register(chain=True)`` stack. faulthandler now allocates
|
||||
a dedicated stack of ``SIGSTKSZ*2`` bytes, instead of just ``SIGSTKSZ``
|
||||
bytes. Calling the previous signal handler in faulthandler signal handler
|
||||
uses more than ``SIGSTKSZ`` bytes of stack memory on some platforms.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 37798
|
||||
.. date: 2019-08-14-13-51-24
|
||||
.. nonce: AmXrik
|
||||
.. section: Library
|
||||
|
||||
Add C fastpath for statistics.NormalDist.inv_cdf() Patch by Dong-hee Na
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 37819
|
||||
.. date: 2019-08-11-10-34-19
|
||||
.. nonce: LVJls-
|
||||
.. section: Library
|
||||
|
||||
Add Fraction.as_integer_ratio() to match the corresponding methods in bool,
|
||||
int, float, and decimal.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 37810
|
||||
.. date: 2019-08-10-12-33-27
|
||||
.. nonce: d4zbvB
|
||||
.. section: Library
|
||||
|
||||
Fix :mod:`difflib` ``?`` hint in diff output when dealing with tabs. Patch
|
||||
by Anthony Sottile.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 37772
|
||||
.. date: 2019-08-07-23-48-09
|
||||
.. nonce: hLCvdn
|
||||
.. section: Library
|
||||
|
||||
In ``zipfile.Path``, when adding implicit dirs, ensure that ancestral
|
||||
directories are added and that duplicates are excluded.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 28292
|
||||
.. date: 2019-08-04-11-47-58
|
||||
.. nonce: vkihH5
|
||||
.. section: Library
|
||||
|
||||
Mark calendar.py helper functions as being private. The follows PEP 8
|
||||
guidance to maintain the style conventions in the module and it addresses a
|
||||
known case of user confusion.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 18049
|
||||
.. date: 2019-08-02-16-44-42
|
||||
.. nonce: OA4qBL
|
||||
.. section: Library
|
||||
|
||||
Add definition of THREAD_STACK_SIZE for AIX in Python/thread_pthread.h The
|
||||
default thread stacksize caused crashes with the default recursion limit
|
||||
Patch by M Felt
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 37738
|
||||
.. date: 2019-08-01-17-11-16
|
||||
.. nonce: A3WWcT
|
||||
.. section: Library
|
||||
|
||||
Fix the implementation of curses ``addch(str, color_pair)``: pass the color
|
||||
pair to ``setcchar()``, instead of always passing 0 as the color pair.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 37723
|
||||
.. date: 2019-07-31-16-49-01
|
||||
.. nonce: zq6tw8
|
||||
.. section: Library
|
||||
|
||||
Fix performance regression on regular expression parsing with huge character
|
||||
sets. Patch by Yann Vaginay.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 32178
|
||||
.. date: 2019-07-30-22-41-05
|
||||
.. nonce: X-IFLe
|
||||
.. section: Library
|
||||
|
||||
Fix IndexError in :mod:`email` package when trying to parse invalid address
|
||||
fields starting with ``:``.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 37685
|
||||
.. date: 2019-07-28-22-25-25
|
||||
.. nonce: _3bN9f
|
||||
.. section: Library
|
||||
|
||||
Fixed comparisons of :class:`datetime.timedelta` and
|
||||
:class:`datetime.timezone`.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 37695
|
||||
.. date: 2019-07-27-20-21-03
|
||||
.. nonce: QANdvg
|
||||
.. section: Library
|
||||
|
||||
Correct :func:`curses.unget_wch` error message. Patch by Anthony Sottile.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 37354
|
||||
.. date: 2019-07-25-10-28-40
|
||||
.. nonce: RT3_3H
|
||||
.. section: Library
|
||||
|
||||
Make Activate.ps1 Powershell script static to allow for signing it.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 37664
|
||||
.. date: 2019-07-24-18-27-44
|
||||
.. nonce: o-GYZC
|
||||
.. section: Library
|
||||
|
||||
Update wheels bundled with ensurepip (pip 19.2.3 and setuptools 41.2.0)
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 37642
|
||||
.. date: 2019-07-21-20-59-31
|
||||
.. nonce: L61Bvy
|
||||
.. section: Library
|
||||
|
||||
Allowed the pure Python implementation of :class:`datetime.timezone` to
|
||||
represent sub-minute offsets close to minimum and maximum boundaries,
|
||||
specifically in the ranges (23:59, 24:00) and (-23:59, 24:00). Patch by
|
||||
Ngalim Siregar
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 16970
|
||||
.. date: 2019-07-19-01-46-56
|
||||
.. nonce: GEASf5
|
||||
.. section: Library
|
||||
|
||||
Adding a value error when an invalid value in passed to nargs Patch by
|
||||
Robert Leenders
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 37587
|
||||
.. date: 2019-07-13-16-02-48
|
||||
.. nonce: fd-1aF
|
||||
.. section: Library
|
||||
|
||||
Make json.loads faster for long strings. (Patch by Marco Paolini)
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 18378
|
||||
.. date: 2019-07-13-13-40-12
|
||||
.. nonce: NHcojp
|
||||
.. section: Library
|
||||
|
||||
Recognize "UTF-8" as a valid value for LC_CTYPE in locale._parse_localename.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 37531
|
||||
.. date: 2019-07-09-19-38-26
|
||||
.. nonce: GX7s8S
|
||||
.. section: Library
|
||||
|
||||
"python3 -m test -jN --timeout=TIMEOUT" now kills a worker process if it
|
||||
runs longer than *TIMEOUT* seconds.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 37482
|
||||
.. date: 2019-07-09-11-20-21
|
||||
.. nonce: auzvev
|
||||
.. section: Library
|
||||
|
||||
Fix serialization of display name in originator or destination address
|
||||
fields with both encoded words and special chars.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 37372
|
||||
.. date: 2019-06-22-12-30-00
|
||||
.. nonce: kIKqZ6
|
||||
.. section: Library
|
||||
|
||||
Fix error unpickling datetime.time objects from Python 2 with seconds>=24.
|
||||
Patch by Justin Blanchard.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 37085
|
||||
.. date: 2019-06-18-16-29-31
|
||||
.. nonce: GeYaD6
|
||||
.. section: Library
|
||||
|
||||
Add the optional Linux SocketCAN Broadcast Manager constants, used as flags
|
||||
to configure the BCM behaviour, in the socket module. Patch by Karl Ding.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 36871
|
||||
.. date: 2019-05-12-12-58-37
|
||||
.. nonce: 6xiEHZ
|
||||
.. section: Library
|
||||
|
||||
Ensure method signature is used instead of constructor signature of a class
|
||||
while asserting mock object against method calls. Patch by Karthikeyan
|
||||
Singaravelan.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 36582
|
||||
.. date: 2019-05-07-17-42-36
|
||||
.. nonce: L_dxR6
|
||||
.. section: Library
|
||||
|
||||
Fix ``UserString.encode()`` to correctly return ``bytes`` rather than a
|
||||
``UserString`` instance.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 34775
|
||||
.. date: 2018-09-23-03-18-52
|
||||
.. nonce: vHeuHk
|
||||
.. section: Library
|
||||
|
||||
Division handling of PurePath now returns NotImplemented instead of raising
|
||||
a TypeError when passed something other than an instance of str or PurePath.
|
||||
Patch by Roger Aiudi.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 37979
|
||||
.. date: 2019-08-29-10-40-05
|
||||
.. nonce: TAUx_E
|
||||
.. section: Documentation
|
||||
|
||||
Added a link to dateutil.parser.isoparse in the datetime.fromisoformat
|
||||
documentation. Patch by Paul Ganssle
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 37759
|
||||
.. date: 2019-08-04-19-20-58
|
||||
.. nonce: EHRF4i
|
||||
.. section: Documentation
|
||||
|
||||
Beginning edits to Whatsnew 3.8
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 37726
|
||||
.. date: 2019-07-31-11-40-06
|
||||
.. nonce: h-3o9a
|
||||
.. section: Documentation
|
||||
|
||||
Stop recommending getopt in the tutorial for command line argument parsing
|
||||
and promote argparse.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 37256
|
||||
.. date: 2019-07-16-14-48-12
|
||||
.. nonce: qJTrBb
|
||||
.. section: Documentation
|
||||
|
||||
Fix wording of arguments for :class:`Request` in :mod:`urllib.request`
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 37004
|
||||
.. date: 2019-05-22-04-30-07
|
||||
.. nonce: BRgxrt
|
||||
.. section: Documentation
|
||||
|
||||
In the documentation for difflib, a note was added explicitly warning that
|
||||
the results of SequenceMatcher's ratio method may depend on the order of the
|
||||
input strings.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 36487
|
||||
.. date: 2019-04-02-19-23-00
|
||||
.. nonce: Jg6-MG
|
||||
.. section: Documentation
|
||||
|
||||
Make C-API docs clear about what the "main" interpreter is.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 37805
|
||||
.. date: 2019-08-25-19-51-46
|
||||
.. nonce: Kl1sti
|
||||
.. section: Tests
|
||||
|
||||
Add tests for json.dump(..., skipkeys=True). Patch by Dong-hee Na.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 37707
|
||||
.. date: 2019-07-29-11-36-16
|
||||
.. nonce: Sm-dGk
|
||||
.. section: Build
|
||||
|
||||
Mark some individual tests to skip when --pgo is used. The tests marked
|
||||
increase the PGO task time significantly and likely don't help improve
|
||||
optimization of the final executable.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 37549
|
||||
.. date: 2019-08-22-09-04-44
|
||||
.. nonce: TpKI3M
|
||||
.. section: Windows
|
||||
|
||||
:func:`os.dup` no longer fails for standard streams on Windows 7.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 1311
|
||||
.. date: 2019-08-21-12-58-18
|
||||
.. nonce: BoW1wU
|
||||
.. section: Windows
|
||||
|
||||
The ``nul`` file on Windows now returns True from :func:`~os.path.exists`
|
||||
and a valid result from :func:`os.stat` with ``S_IFCHR`` set.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 9949
|
||||
.. date: 2019-08-14-13-40-15
|
||||
.. nonce: zW45Ks
|
||||
.. section: Windows
|
||||
|
||||
Enable support for following symlinks in :func:`os.realpath`.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 37834
|
||||
.. date: 2019-08-12-12-00-24
|
||||
.. nonce: VB2QVj
|
||||
.. section: Windows
|
||||
|
||||
Treat all name surrogate reparse points on Windows in :func:`os.lstat` and
|
||||
other reparse points as regular files in :func:`os.stat`.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 36266
|
||||
.. date: 2019-08-08-18-05-27
|
||||
.. nonce: x4eZU3
|
||||
.. section: Windows
|
||||
|
||||
Add the module name in the formatted error message when DLL load fail
|
||||
happens during module import in ``_PyImport_FindSharedFuncptrWindows()``.
|
||||
Patch by Srinivas Nyayapati.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 25172
|
||||
.. date: 2019-08-06-18-09-18
|
||||
.. nonce: Akreij
|
||||
.. section: Windows
|
||||
|
||||
Trying to import the :mod:`crypt` module on Windows will result in an
|
||||
:exc:`ImportError` with a message explaining that the module isn't supported
|
||||
on Windows. On other platforms, if the underlying ``_crypt`` module is not
|
||||
available, the ImportError will include a message explaining the problem.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 37778
|
||||
.. date: 2019-08-06-13-54-12
|
||||
.. nonce: AY1XhH
|
||||
.. section: Windows
|
||||
|
||||
Fixes the icons used for file associations to the Microsoft Store package.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 37734
|
||||
.. date: 2019-08-06-09-35-12
|
||||
.. nonce: EoJ9Nh
|
||||
.. section: Windows
|
||||
|
||||
Fix use of registry values to launch Python from Microsoft Store app.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 28269
|
||||
.. date: 2019-05-05-05-23-34
|
||||
.. nonce: -MOHI7
|
||||
.. section: Windows
|
||||
|
||||
Replace use of :c:func:`strcasecmp` for the system function
|
||||
:c:func:`_stricmp`. Patch by Minmin Gong.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 18049
|
||||
.. date: 2019-07-13-15-58-18
|
||||
.. nonce: MklhQQ
|
||||
.. section: macOS
|
||||
|
||||
Increase the default stack size of threads from 5MB to 16MB on macOS, to
|
||||
match the stack size of the main thread. This avoids crashes on deep
|
||||
recursion in threads.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 37824
|
||||
.. date: 2019-08-26-00-41-53
|
||||
.. nonce: YY5jAI
|
||||
.. section: IDLE
|
||||
|
||||
Properly handle user input warnings in IDLE shell. Cease turning
|
||||
SyntaxWarnings into SyntaxErrors.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 37929
|
||||
.. date: 2019-08-24-22-00-33
|
||||
.. nonce: jb7523
|
||||
.. section: IDLE
|
||||
|
||||
IDLE Settings dialog now closes properly when there is no shell window.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 37849
|
||||
.. date: 2019-08-14-09-43-15
|
||||
.. nonce: -bcYF3
|
||||
.. section: IDLE
|
||||
|
||||
Fixed completions list appearing too high or low when shown above the
|
||||
current line.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 36419
|
||||
.. date: 2019-08-04-17-10-01
|
||||
.. nonce: TJZqOc
|
||||
.. section: IDLE
|
||||
|
||||
Refactor IDLE autocomplete and improve testing.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 37748
|
||||
.. date: 2019-08-04-15-27-50
|
||||
.. nonce: 0vf6pg
|
||||
.. section: IDLE
|
||||
|
||||
Reorder the Run menu. Put the most common choice, Run Module, at the top.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 37942
|
||||
.. date: 2019-08-24-12-11-30
|
||||
.. nonce: 7H8N9a
|
||||
.. section: Tools/Demos
|
||||
|
||||
Improve ArgumentClinic converter for floats.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 37034
|
||||
.. date: 2019-05-27-16-13-08
|
||||
.. nonce: zbTgy8
|
||||
.. section: Tools/Demos
|
||||
|
||||
Argument Clinic now uses the argument name on errors with keyword-only
|
||||
argument instead of their position. Patch contributed by Rémi Lapeyre.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 36763
|
||||
.. date: 2019-08-23-18-45-11
|
||||
.. nonce: q3Kh8Z
|
||||
.. section: C API
|
||||
|
||||
Options added by ``PySys_AddXOption()`` are now handled the same way than
|
||||
``PyConfig.xoptions`` and command line ``-X`` options.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 37926
|
||||
.. date: 2019-08-23-11-35-55
|
||||
.. nonce: hnI5IQ
|
||||
.. section: C API
|
||||
|
||||
Fix a crash in ``PySys_SetArgvEx(0, NULL, 0)``.
|
|
@ -1,3 +0,0 @@
|
|||
Mark some individual tests to skip when --pgo is used. The tests marked
|
||||
increase the PGO task time significantly and likely don't help improve
|
||||
optimization of the final executable.
|
|
@ -1 +0,0 @@
|
|||
Fix a crash in ``PySys_SetArgvEx(0, NULL, 0)``.
|
|
@ -1,2 +0,0 @@
|
|||
Options added by ``PySys_AddXOption()`` are now handled the same way than
|
||||
``PyConfig.xoptions`` and command line ``-X`` options.
|
|
@ -1,2 +0,0 @@
|
|||
``pdb.Pdb`` supports ~/.pdbrc in Windows 7. Patch by Tim Hopper and Dan
|
||||
Lidral-Porter.
|
|
@ -1 +0,0 @@
|
|||
Fix ``SyntaxError`` indicator printing too many spaces for multi-line strings - by Anthony Sottile.
|
|
@ -1,2 +0,0 @@
|
|||
Decoding bytes objects larger than 2GiB is faster and no longer fails when a
|
||||
multibyte characters spans a chunk boundary.
|
|
@ -1,7 +0,0 @@
|
|||
:pep:`572`: As described in the PEP, assignment expressions now raise
|
||||
:exc:`SyntaxError` when their interaction with comprehension scoping results
|
||||
in an ambiguous target scope.
|
||||
|
||||
The ``TargetScopeError`` subclass originally proposed by the PEP has been
|
||||
removed in favour of just raising regular syntax errors for the disallowed
|
||||
cases.
|
|
@ -1,3 +0,0 @@
|
|||
Reverted :issue:`32912`: emitting :exc:`SyntaxWarning` instead of
|
||||
:exc:`DeprecationWarning` for invalid escape sequences in string and bytes
|
||||
literals.
|
|
@ -1,3 +0,0 @@
|
|||
Fixed compilation of :keyword:`break` and :keyword:`continue` in the
|
||||
:keyword:`finally` block when the corresponding :keyword:`try` block
|
||||
contains :keyword:`return` with a non-constant value.
|
|
@ -1,2 +0,0 @@
|
|||
Adjust correctly the recursion level in the symtable generation for named
|
||||
expressions. Patch by Pablo Galindo.
|
|
@ -1 +0,0 @@
|
|||
Make C-API docs clear about what the "main" interpreter is.
|
|
@ -1 +0,0 @@
|
|||
In the documentation for difflib, a note was added explicitly warning that the results of SequenceMatcher's ratio method may depend on the order of the input strings.
|
|
@ -1 +0,0 @@
|
|||
Fix wording of arguments for :class:`Request` in :mod:`urllib.request`
|
|
@ -1,2 +0,0 @@
|
|||
Stop recommending getopt in the tutorial for command line argument parsing
|
||||
and promote argparse.
|
|
@ -1 +0,0 @@
|
|||
Beginning edits to Whatsnew 3.8
|
|
@ -1,2 +0,0 @@
|
|||
Added a link to dateutil.parser.isoparse in the datetime.fromisoformat
|
||||
documentation. Patch by Paul Ganssle
|
|
@ -1 +0,0 @@
|
|||
Reorder the Run menu. Put the most common choice, Run Module, at the top.
|
|
@ -1 +0,0 @@
|
|||
Refactor IDLE autocomplete and improve testing.
|
|
@ -1,2 +0,0 @@
|
|||
Fixed completions list appearing too high or low when shown above
|
||||
the current line.
|
|
@ -1 +0,0 @@
|
|||
IDLE Settings dialog now closes properly when there is no shell window.
|
|
@ -1,2 +0,0 @@
|
|||
Properly handle user input warnings in IDLE shell. Cease turning
|
||||
SyntaxWarnings into SyntaxErrors.
|
|
@ -1,3 +0,0 @@
|
|||
Division handling of PurePath now returns NotImplemented instead of raising
|
||||
a TypeError when passed something other than an instance of str or PurePath.
|
||||
Patch by Roger Aiudi.
|
|
@ -1 +0,0 @@
|
|||
Fix ``UserString.encode()`` to correctly return ``bytes`` rather than a ``UserString`` instance.
|
|
@ -1,3 +0,0 @@
|
|||
Ensure method signature is used instead of constructor signature of a class
|
||||
while asserting mock object against method calls. Patch by Karthikeyan
|
||||
Singaravelan.
|
|
@ -1,2 +0,0 @@
|
|||
Add the optional Linux SocketCAN Broadcast Manager constants, used as flags
|
||||
to configure the BCM behaviour, in the socket module. Patch by Karl Ding.
|
|
@ -1,2 +0,0 @@
|
|||
Fix error unpickling datetime.time objects from Python 2 with seconds>=24.
|
||||
Patch by Justin Blanchard.
|
|
@ -1 +0,0 @@
|
|||
Fix serialization of display name in originator or destination address fields with both encoded words and special chars.
|
|
@ -1,2 +0,0 @@
|
|||
"python3 -m test -jN --timeout=TIMEOUT" now kills a worker process if it runs
|
||||
longer than *TIMEOUT* seconds.
|
|
@ -1 +0,0 @@
|
|||
Recognize "UTF-8" as a valid value for LC_CTYPE in locale._parse_localename.
|
|
@ -1 +0,0 @@
|
|||
Make json.loads faster for long strings. (Patch by Marco Paolini)
|
|
@ -1,2 +0,0 @@
|
|||
Adding a value error when an invalid value in passed to nargs
|
||||
Patch by Robert Leenders
|
|
@ -1,3 +0,0 @@
|
|||
Allowed the pure Python implementation of :class:`datetime.timezone` to represent
|
||||
sub-minute offsets close to minimum and maximum boundaries, specifically in the
|
||||
ranges (23:59, 24:00) and (-23:59, 24:00). Patch by Ngalim Siregar
|
|
@ -1 +0,0 @@
|
|||
Update wheels bundled with ensurepip (pip 19.2.3 and setuptools 41.2.0)
|
|
@ -1 +0,0 @@
|
|||
Make Activate.ps1 Powershell script static to allow for signing it.
|
|
@ -1 +0,0 @@
|
|||
Correct :func:`curses.unget_wch` error message. Patch by Anthony Sottile.
|
|
@ -1,2 +0,0 @@
|
|||
Fixed comparisons of :class:`datetime.timedelta` and
|
||||
:class:`datetime.timezone`.
|
|
@ -1 +0,0 @@
|
|||
Fix IndexError in :mod:`email` package when trying to parse invalid address fields starting with ``:``.
|
|
@ -1,2 +0,0 @@
|
|||
Fix performance regression on regular expression parsing with huge
|
||||
character sets. Patch by Yann Vaginay.
|
|
@ -1,2 +0,0 @@
|
|||
Fix the implementation of curses ``addch(str, color_pair)``: pass the color
|
||||
pair to ``setcchar()``, instead of always passing 0 as the color pair.
|
|
@ -1,3 +0,0 @@
|
|||
Add definition of THREAD_STACK_SIZE for AIX in Python/thread_pthread.h
|
||||
The default thread stacksize caused crashes with the default recursion limit
|
||||
Patch by M Felt
|
|
@ -1,3 +0,0 @@
|
|||
Mark calendar.py helper functions as being private. The follows PEP 8
|
||||
guidance to maintain the style conventions in the module and it addresses a
|
||||
known case of user confusion.
|
|
@ -1 +0,0 @@
|
|||
In ``zipfile.Path``, when adding implicit dirs, ensure that ancestral directories are added and that duplicates are excluded.
|
|
@ -1,2 +0,0 @@
|
|||
Fix :mod:`difflib` ``?`` hint in diff output when dealing with tabs. Patch
|
||||
by Anthony Sottile.
|
|
@ -1,2 +0,0 @@
|
|||
Add Fraction.as_integer_ratio() to match the corresponding methods in bool,
|
||||
int, float, and decimal.
|
|
@ -1 +0,0 @@
|
|||
Add C fastpath for statistics.NormalDist.inv_cdf() Patch by Dong-hee Na
|
|
@ -1,4 +0,0 @@
|
|||
Fix ``faulthandler.register(chain=True)`` stack. faulthandler now allocates a
|
||||
dedicated stack of ``SIGSTKSZ*2`` bytes, instead of just ``SIGSTKSZ`` bytes.
|
||||
Calling the previous signal handler in faulthandler signal handler uses more
|
||||
than ``SIGSTKSZ`` bytes of stack memory on some platforms.
|
|
@ -1,4 +0,0 @@
|
|||
Fix ``socket`` module's ``socket.connect(address)`` function being unable to
|
||||
establish connection in case of interrupted system call. The problem was
|
||||
observed on all OSes which ``poll(2)`` system call can take only
|
||||
non-negative integers and -1 as a timeout value.
|
|
@ -1,3 +0,0 @@
|
|||
Fix dataclasses.is_dataclass when given an instance that never raises
|
||||
AttributeError in __getattr__. That is, an object that returns something
|
||||
for __dataclass_fields__ even if it's not a dataclass.
|
|
@ -1,3 +0,0 @@
|
|||
Fix a segmentation fault that appeared when comparing instances of
|
||||
``datetime.timezone`` and ``datetime.tzinfo`` objects. Patch by Pablo
|
||||
Galindo.
|
|
@ -1,2 +0,0 @@
|
|||
Added a new status code to the http module: 451
|
||||
UNAVAILABLE_FOR_LEGAL_REASONS
|
|
@ -1,2 +0,0 @@
|
|||
Update test_statistics.py to verify that the statistics module works well
|
||||
for both C and Python implementations. Patch by Dong-hee Na
|
|
@ -1,3 +0,0 @@
|
|||
Add default implementation of the :meth:`ast.NodeVisitor.visit_Constant`
|
||||
method which emits a deprecation warning and calls corresponding methody
|
||||
``visit_Num()``, ``visit_Str()``, etc.
|
|
@ -1 +0,0 @@
|
|||
Restores instantiation of Windows IOCP event loops from the non-main thread.
|
|
@ -1 +0,0 @@
|
|||
Fix :func:`ast.dump` when call with incompletely initialized node.
|
|
@ -1 +0,0 @@
|
|||
Fix the rusage implementation of time.process_time() to correctly report the sum of the system and user CPU time.
|
|
@ -1,2 +0,0 @@
|
|||
Most features of the subprocess module now work again in subinterpreters.
|
||||
Only *preexec_fn* is restricted in subinterpreters.
|
|
@ -1,2 +0,0 @@
|
|||
``repr()`` of buffered and text streams now silences only expected
|
||||
exceptions when get the value of "name" and "mode" attributes.
|
|
@ -1 +0,0 @@
|
|||
Fix C compiler warning caused by distutils.ccompiler.CCompiler.has_function.
|
|
@ -1,2 +0,0 @@
|
|||
Prevent shutil.rmtree exception when built on non-Windows system without fd
|
||||
system call support, like older versions of macOS.
|
|
@ -1 +0,0 @@
|
|||
Fix parsing of invalid email addresses with more than one ``@`` (e.g. a@b@c.com.) to not return the part before 2nd ``@`` as valid email address. Patch by maxking & jpic.
|
|
@ -1 +0,0 @@
|
|||
Add tests for json.dump(..., skipkeys=True). Patch by Dong-hee Na.
|
|
@ -1,2 +0,0 @@
|
|||
Argument Clinic now uses the argument name on errors with keyword-only
|
||||
argument instead of their position. Patch contributed by Rémi Lapeyre.
|
|
@ -1 +0,0 @@
|
|||
Improve ArgumentClinic converter for floats.
|
|
@ -1 +0,0 @@
|
|||
Replace use of :c:func:`strcasecmp` for the system function :c:func:`_stricmp`. Patch by Minmin Gong.
|
|
@ -1 +0,0 @@
|
|||
Fix use of registry values to launch Python from Microsoft Store app.
|
|
@ -1 +0,0 @@
|
|||
Fixes the icons used for file associations to the Microsoft Store package.
|
|
@ -1 +0,0 @@
|
|||
Trying to import the :mod:`crypt` module on Windows will result in an :exc:`ImportError` with a message explaining that the module isn't supported on Windows. On other platforms, if the underlying ``_crypt`` module is not available, the ImportError will include a message explaining the problem.
|
|
@ -1 +0,0 @@
|
|||
Add the module name in the formatted error message when DLL load fail happens during module import in ``_PyImport_FindSharedFuncptrWindows()``. Patch by Srinivas Nyayapati.
|
|
@ -1,2 +0,0 @@
|
|||
Treat all name surrogate reparse points on Windows in :func:`os.lstat` and
|
||||
other reparse points as regular files in :func:`os.stat`.
|
|
@ -1 +0,0 @@
|
|||
Enable support for following symlinks in :func:`os.realpath`.
|
|
@ -1,2 +0,0 @@
|
|||
The ``nul`` file on Windows now returns True from :func:`~os.path.exists`
|
||||
and a valid result from :func:`os.stat` with ``S_IFCHR`` set.
|
|
@ -1 +0,0 @@
|
|||
:func:`os.dup` no longer fails for standard streams on Windows 7.
|
|
@ -1,3 +0,0 @@
|
|||
Increase the default stack size of threads from 5MB to 16MB on macOS, to
|
||||
match the stack size of the main thread. This avoids crashes on deep recursion
|
||||
in threads.
|
|
@ -1,4 +1,4 @@
|
|||
This is Python version 3.8.0 beta 3
|
||||
This is Python version 3.8.0 beta 4
|
||||
===================================
|
||||
|
||||
.. image:: https://travis-ci.org/python/cpython.svg?branch=master
|
||||
|
|
Loading…
Reference in New Issue