Python 3.8.7
This commit is contained in:
parent
a3537716a5
commit
6503f05dd5
|
@ -19,11 +19,11 @@
|
|||
#define PY_MAJOR_VERSION 3
|
||||
#define PY_MINOR_VERSION 8
|
||||
#define PY_MICRO_VERSION 7
|
||||
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_GAMMA
|
||||
#define PY_RELEASE_SERIAL 1
|
||||
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_FINAL
|
||||
#define PY_RELEASE_SERIAL 0
|
||||
|
||||
/* Version as a string */
|
||||
#define PY_VERSION "3.8.7rc1+"
|
||||
#define PY_VERSION "3.8.7"
|
||||
/*--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 Dec 7 15:10:25 2020
|
||||
# Autogenerated by Sphinx on Mon Dec 21 17:22:46 2020
|
||||
topics = {'assert': 'The "assert" statement\n'
|
||||
'**********************\n'
|
||||
'\n'
|
||||
|
@ -2376,8 +2376,9 @@ topics = {'assert': 'The "assert" statement\n'
|
|||
'compatible\n'
|
||||
'with an exception if it is the class or a base class of the '
|
||||
'exception\n'
|
||||
'object or a tuple containing an item compatible with the '
|
||||
'exception.\n'
|
||||
'object, or a tuple containing an item that is the class or a '
|
||||
'base\n'
|
||||
'class of the exception object.\n'
|
||||
'\n'
|
||||
'If no except clause matches the exception, the search for an '
|
||||
'exception\n'
|
||||
|
@ -5512,44 +5513,51 @@ topics = {'assert': 'The "assert" statement\n'
|
|||
' | | formats the result in either fixed-point '
|
||||
'format or in |\n'
|
||||
' | | scientific notation, depending on its '
|
||||
'magnitude. The |\n'
|
||||
' | | precise rules are as follows: suppose that '
|
||||
'the result |\n'
|
||||
'magnitude. A |\n'
|
||||
' | | precision of "0" is treated as equivalent '
|
||||
'to a precision |\n'
|
||||
' | | of "1". The precise rules are as follows: '
|
||||
'suppose that |\n'
|
||||
' | | the result formatted with presentation '
|
||||
'type "\'e\'" and |\n'
|
||||
' | | precision "p-1" would have exponent '
|
||||
'"exp". Then, if "m <= |\n'
|
||||
' | | exp < p", where "m" is -4 for floats and '
|
||||
'-6 for |\n'
|
||||
' | | "Decimals", the number is formatted with '
|
||||
'presentation type |\n'
|
||||
' | | "\'f\'" and precision "p-1-exp". '
|
||||
'Otherwise, the number is |\n'
|
||||
' | | formatted with presentation type "\'e\'" '
|
||||
'and precision "p-1" |\n'
|
||||
' | | would have exponent "exp". Then, if "m <= '
|
||||
'exp < p", where |\n'
|
||||
' | | "m" is -4 for floats and -6 for '
|
||||
'"Decimals", the number is |\n'
|
||||
' | | formatted with presentation type "\'f\'" '
|
||||
'and precision |\n'
|
||||
' | | "p-1-exp". Otherwise, the number is '
|
||||
'formatted with |\n'
|
||||
' | | presentation type "\'e\'" and precision '
|
||||
'"p-1". In both cases |\n'
|
||||
' | | insignificant trailing zeros are removed '
|
||||
'from the |\n'
|
||||
' | | significand, and the decimal point is also '
|
||||
'removed if |\n'
|
||||
' | | there are no remaining digits following '
|
||||
'it, unless the |\n'
|
||||
' | | "\'#\'" option is used. Positive and '
|
||||
'negative infinity, |\n'
|
||||
' | | positive and negative zero, and nans, are '
|
||||
'formatted as |\n'
|
||||
' | | "inf", "-inf", "0", "-0" and "nan" '
|
||||
'respectively, |\n'
|
||||
' | | regardless of the precision. A precision '
|
||||
'of "0" is |\n'
|
||||
' | | treated as equivalent to a precision of '
|
||||
'"1". With no |\n'
|
||||
' | | precision given, uses a precision of "6" '
|
||||
'significant |\n'
|
||||
' | | digits for "float", and shows all '
|
||||
'coefficient digits for |\n'
|
||||
' | | '
|
||||
'"Decimal". '
|
||||
'|\n'
|
||||
' | | "p-1". In both cases insignificant '
|
||||
'trailing zeros are |\n'
|
||||
' | | removed from the significand, and the '
|
||||
'decimal point is |\n'
|
||||
' | | also removed if there are no remaining '
|
||||
'digits following |\n'
|
||||
' | | it, unless the "\'#\'" option is used. '
|
||||
'With no precision |\n'
|
||||
' | | given, uses a precision of "6" significant '
|
||||
'digits for |\n'
|
||||
' | | "float". For "Decimal", the coefficient of '
|
||||
'the result is |\n'
|
||||
' | | formed from the coefficient digits of the '
|
||||
'value; |\n'
|
||||
' | | scientific notation is used for values '
|
||||
'smaller than "1e-6" |\n'
|
||||
' | | in absolute value and values where the '
|
||||
'place value of the |\n'
|
||||
' | | least significant digit is larger than 1, '
|
||||
'and fixed-point |\n'
|
||||
' | | notation is used otherwise. Positive and '
|
||||
'negative |\n'
|
||||
' | | infinity, positive and negative zero, and '
|
||||
'nans, are |\n'
|
||||
' | | formatted as "inf", "-inf", "0", "-0" and '
|
||||
'"nan" |\n'
|
||||
' | | respectively, regardless of the '
|
||||
'precision. |\n'
|
||||
' '
|
||||
'+-----------+------------------------------------------------------------+\n'
|
||||
' | "\'G\'" | General format. Same as "\'g\'" except '
|
||||
|
@ -5574,19 +5582,24 @@ topics = {'assert': 'The "assert" statement\n'
|
|||
'percent sign. |\n'
|
||||
' '
|
||||
'+-----------+------------------------------------------------------------+\n'
|
||||
' | None | Similar to "\'g\'", except that '
|
||||
'fixed-point notation, when |\n'
|
||||
' | | used, has at least one digit past the '
|
||||
'decimal point. The |\n'
|
||||
' | | default precision is as high as needed to '
|
||||
'represent the |\n'
|
||||
' | | particular value. The overall effect is to '
|
||||
'match the |\n'
|
||||
' | | output of "str()" as altered by the other '
|
||||
'format |\n'
|
||||
' | | '
|
||||
'modifiers. '
|
||||
'|\n'
|
||||
' | None | For "float" this is the same as "\'g\'", '
|
||||
'except that when |\n'
|
||||
' | | fixed-point notation is used to format the '
|
||||
'result, it |\n'
|
||||
' | | always includes at least one digit past '
|
||||
'the decimal point. |\n'
|
||||
' | | The precision used is as large as needed '
|
||||
'to represent the |\n'
|
||||
' | | given value faithfully. For "Decimal", '
|
||||
'this is the same |\n'
|
||||
' | | as either "\'g\'" or "\'G\'" depending on '
|
||||
'the value of |\n'
|
||||
' | | "context.capitals" for the current decimal '
|
||||
'context. The |\n'
|
||||
' | | overall effect is to match the output of '
|
||||
'"str()" as |\n'
|
||||
' | | altered by the other format '
|
||||
'modifiers. |\n'
|
||||
' '
|
||||
'+-----------+------------------------------------------------------------+\n'
|
||||
'\n'
|
||||
|
@ -11159,7 +11172,8 @@ topics = {'assert': 'The "assert" statement\n'
|
|||
'object is “compatible” with the exception. An object is compatible\n'
|
||||
'with an exception if it is the class or a base class of the '
|
||||
'exception\n'
|
||||
'object or a tuple containing an item compatible with the exception.\n'
|
||||
'object, or a tuple containing an item that is the class or a base\n'
|
||||
'class of the exception object.\n'
|
||||
'\n'
|
||||
'If no except clause matches the exception, the search for an '
|
||||
'exception\n'
|
||||
|
@ -11340,7 +11354,7 @@ topics = {'assert': 'The "assert" statement\n'
|
|||
'representation\n'
|
||||
' in computers.\n'
|
||||
'\n'
|
||||
' The string representations of the Numeric classes, computed by\n'
|
||||
' The string representations of the numeric classes, computed by\n'
|
||||
' "__repr__()" and "__str__()", have the following properties:\n'
|
||||
'\n'
|
||||
' * They are valid numeric literals which, when passed to their '
|
||||
|
|
|
@ -0,0 +1,195 @@
|
|||
.. bpo: 32381
|
||||
.. date: 2020-12-04-17-17-44
|
||||
.. nonce: NY5t2S
|
||||
.. release date: 2020-12-21
|
||||
.. section: Core and Builtins
|
||||
|
||||
Fix encoding name when running a ``.pyc`` file on Windows:
|
||||
:c:func:`PyRun_SimpleFileExFlags()` now uses the correct encoding to decode
|
||||
the filename.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 42536
|
||||
.. date: 2020-12-02-20-23-31
|
||||
.. nonce: Kx3ZOu
|
||||
.. section: Core and Builtins
|
||||
|
||||
Several built-in and standard library types now ensure that their internal
|
||||
result tuples are always tracked by the :term:`garbage collector <garbage
|
||||
collection>`:
|
||||
|
||||
- :meth:`collections.OrderedDict.items() <collections.OrderedDict>`
|
||||
|
||||
- :meth:`dict.items`
|
||||
|
||||
- :func:`enumerate`
|
||||
|
||||
- :func:`functools.reduce`
|
||||
|
||||
- :func:`itertools.combinations`
|
||||
|
||||
- :func:`itertools.combinations_with_replacement`
|
||||
|
||||
- :func:`itertools.permutations`
|
||||
|
||||
- :func:`itertools.product`
|
||||
|
||||
- :func:`itertools.zip_longest`
|
||||
|
||||
- :func:`zip`
|
||||
|
||||
Previously, they could have become untracked by a prior garbage collection.
|
||||
Patch by Brandt Bucher.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 42630
|
||||
.. date: 2020-12-15-17-51-27
|
||||
.. nonce: jf4jBl
|
||||
.. section: Library
|
||||
|
||||
:mod:`tkinter` functions and constructors which need a default root window
|
||||
raise now :exc:`RuntimeError` with descriptive message instead of obscure
|
||||
:exc:`AttributeError` or :exc:`NameError` if it is not created yet or cannot
|
||||
be created automatically.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 42644
|
||||
.. date: 2020-12-15-10-00-04
|
||||
.. nonce: XgLCNx
|
||||
.. section: Library
|
||||
|
||||
`logging.disable` will now validate the types and value of its parameter. It
|
||||
also now accepts strings representing the levels (as does `loging.setLevel`)
|
||||
instead of only the numerical values.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 36541
|
||||
.. date: 2020-12-14-08-23-57
|
||||
.. nonce: qdEtZv
|
||||
.. section: Library
|
||||
|
||||
Fixed lib2to3.pgen2 to be able to parse PEP-570 positional only argument
|
||||
syntax.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 42375
|
||||
.. date: 2020-11-19-04-13-53
|
||||
.. nonce: U8bp4s
|
||||
.. section: Library
|
||||
|
||||
subprocess module update for DragonFlyBSD support.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 39825
|
||||
.. date: 2020-10-20-08-28-26
|
||||
.. nonce: n6KnG0
|
||||
.. section: Library
|
||||
|
||||
Windows: Change ``sysconfig.get_config_var('EXT_SUFFIX')`` to the expected
|
||||
full ``platform_tag.extension`` format. Previously it was hard-coded to
|
||||
``.pyd``, now it is compatible with ``distutils.sysconfig`` and will result
|
||||
in something like ``.cp38-win_amd64.pyd``. This brings windows into
|
||||
conformance with the other platforms.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 39101
|
||||
.. date: 2020-10-11-21-43-03
|
||||
.. nonce: -I49Pm
|
||||
.. section: Library
|
||||
|
||||
Fixed tests using IsolatedAsyncioTestCase from hanging on BaseExceptions.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 41907
|
||||
.. date: 2020-10-02-10-19-49
|
||||
.. nonce: wiIEsz
|
||||
.. section: Library
|
||||
|
||||
fix `format()` behavior for `IntFlag`
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 41889
|
||||
.. date: 2020-10-01-16-17-11
|
||||
.. nonce: qLkNh8
|
||||
.. section: Library
|
||||
|
||||
Enum: fix regression involving inheriting a multiply-inherited enum
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 41891
|
||||
.. date: 2020-09-30-13-35-29
|
||||
.. nonce: pNAeYI
|
||||
.. section: Library
|
||||
|
||||
Ensure asyncio.wait_for waits for task completion
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 40219
|
||||
.. date: 2020-07-13-19-43-11
|
||||
.. nonce: MUoJEP
|
||||
.. section: Library
|
||||
|
||||
Lowered :class:`tkinter.ttk.LabeledScale` dummy widget to prevent hiding
|
||||
part of the content label.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 40084
|
||||
.. date: 2020-03-29-21-32-00
|
||||
.. nonce: MCYwcv
|
||||
.. section: Library
|
||||
|
||||
Fix ``Enum.__dir__``: dir(Enum.member) now includes attributes as well as
|
||||
methods.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 17140
|
||||
.. date: 2020-12-16-21-06-16
|
||||
.. nonce: 1leSEg
|
||||
.. section: Documentation
|
||||
|
||||
Add documentation for the :class:`multiprocessing.pool.ThreadPool` class.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 42604
|
||||
.. date: 2020-12-20-02-35-28
|
||||
.. nonce: gRd89w
|
||||
.. section: Build
|
||||
|
||||
Now all platforms use a value for the "EXT_SUFFIX" build variable derived
|
||||
from SOABI (for instance in freeBSD, "EXT_SUFFIX" is now ".cpython-310d.so"
|
||||
instead of ".so"). Previosuly only Linux, Mac and VxWorks were using a value
|
||||
for "EXT_SUFFIX" that included "SOABI".
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 42598
|
||||
.. date: 2020-12-13-14-43-10
|
||||
.. nonce: 7ipr5H
|
||||
.. section: Build
|
||||
|
||||
Fix implicit function declarations in configure which could have resulted in
|
||||
incorrect configuration checks. Patch contributed by Joshua Root.
|
||||
|
||||
..
|
||||
|
||||
.. bpo: 42613
|
||||
.. date: 2020-12-16-09-10-32
|
||||
.. nonce: J-jnm5
|
||||
.. section: Tools/Demos
|
||||
|
||||
Fix ``freeze.py`` tool to use the prope config and library directories.
|
||||
Patch by Victor Stinner.
|
|
@ -1,2 +0,0 @@
|
|||
Fix implicit function declarations in configure which could have resulted in
|
||||
incorrect configuration checks. Patch contributed by Joshua Root.
|
|
@ -1,4 +0,0 @@
|
|||
Now all platforms use a value for the "EXT_SUFFIX" build variable derived
|
||||
from SOABI (for instance in freeBSD, "EXT_SUFFIX" is now ".cpython-310d.so"
|
||||
instead of ".so"). Previosuly only Linux, Mac and VxWorks were using a value
|
||||
for "EXT_SUFFIX" that included "SOABI".
|
|
@ -1,26 +0,0 @@
|
|||
Several built-in and standard library types now ensure that their internal
|
||||
result tuples are always tracked by the :term:`garbage collector
|
||||
<garbage collection>`:
|
||||
|
||||
- :meth:`collections.OrderedDict.items() <collections.OrderedDict>`
|
||||
|
||||
- :meth:`dict.items`
|
||||
|
||||
- :func:`enumerate`
|
||||
|
||||
- :func:`functools.reduce`
|
||||
|
||||
- :func:`itertools.combinations`
|
||||
|
||||
- :func:`itertools.combinations_with_replacement`
|
||||
|
||||
- :func:`itertools.permutations`
|
||||
|
||||
- :func:`itertools.product`
|
||||
|
||||
- :func:`itertools.zip_longest`
|
||||
|
||||
- :func:`zip`
|
||||
|
||||
Previously, they could have become untracked by a prior garbage collection.
|
||||
Patch by Brandt Bucher.
|
|
@ -1,3 +0,0 @@
|
|||
Fix encoding name when running a ``.pyc`` file on Windows:
|
||||
:c:func:`PyRun_SimpleFileExFlags()` now uses the correct encoding to decode
|
||||
the filename.
|
|
@ -1 +0,0 @@
|
|||
Add documentation for the :class:`multiprocessing.pool.ThreadPool` class.
|
|
@ -1 +0,0 @@
|
|||
Fix ``Enum.__dir__``: dir(Enum.member) now includes attributes as well as methods.
|
|
@ -1 +0,0 @@
|
|||
Lowered :class:`tkinter.ttk.LabeledScale` dummy widget to prevent hiding part of the content label.
|
|
@ -1 +0,0 @@
|
|||
Ensure asyncio.wait_for waits for task completion
|
|
@ -1 +0,0 @@
|
|||
Enum: fix regression involving inheriting a multiply-inherited enum
|
|
@ -1 +0,0 @@
|
|||
fix `format()` behavior for `IntFlag`
|
|
@ -1 +0,0 @@
|
|||
Fixed tests using IsolatedAsyncioTestCase from hanging on BaseExceptions.
|
|
@ -1,5 +0,0 @@
|
|||
Windows: Change ``sysconfig.get_config_var('EXT_SUFFIX')`` to the expected
|
||||
full ``platform_tag.extension`` format. Previously it was hard-coded to
|
||||
``.pyd``, now it is compatible with ``distutils.sysconfig`` and will result
|
||||
in something like ``.cp38-win_amd64.pyd``. This brings windows into
|
||||
conformance with the other platforms.
|
|
@ -1 +0,0 @@
|
|||
subprocess module update for DragonFlyBSD support.
|
|
@ -1,2 +0,0 @@
|
|||
Fixed lib2to3.pgen2 to be able to parse PEP-570 positional only argument
|
||||
syntax.
|
|
@ -1,3 +0,0 @@
|
|||
`logging.disable` will now validate the types and value of its parameter. It
|
||||
also now accepts strings representing the levels (as does `loging.setLevel`)
|
||||
instead of only the numerical values.
|
|
@ -1,4 +0,0 @@
|
|||
:mod:`tkinter` functions and constructors which need a default root window
|
||||
raise now :exc:`RuntimeError` with descriptive message instead of obscure
|
||||
:exc:`AttributeError` or :exc:`NameError` if it is not created yet or cannot
|
||||
be created automatically.
|
|
@ -1,2 +0,0 @@
|
|||
Fix ``freeze.py`` tool to use the prope config and library directories.
|
||||
Patch by Victor Stinner.
|
|
@ -1,5 +1,5 @@
|
|||
This is Python version 3.8.7rc1
|
||||
===============================
|
||||
This is Python version 3.8.7
|
||||
============================
|
||||
|
||||
.. image:: https://travis-ci.org/python/cpython.svg?branch=3.8
|
||||
:alt: CPython build status on Travis CI
|
||||
|
|
Loading…
Reference in New Issue