Skip to content
Snippets Groups Projects
Unverified Commit 6503f05d authored by Łukasz Langa's avatar Łukasz Langa
Browse files

Python 3.8.7

parent a3537716
Branches
Tags v3.8.7
No related merge requests found
Showing
with 266 additions and 116 deletions
...@@ -19,11 +19,11 @@ ...@@ -19,11 +19,11 @@
#define PY_MAJOR_VERSION 3 #define PY_MAJOR_VERSION 3
#define PY_MINOR_VERSION 8 #define PY_MINOR_VERSION 8
#define PY_MICRO_VERSION 7 #define PY_MICRO_VERSION 7
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_GAMMA #define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_FINAL
#define PY_RELEASE_SERIAL 1 #define PY_RELEASE_SERIAL 0
/* Version as a string */ /* Version as a string */
#define PY_VERSION "3.8.7rc1+" #define PY_VERSION "3.8.7"
/*--end constants--*/ /*--end constants--*/
/* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2. /* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2.
......
# -*- coding: utf-8 -*- # -*- 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' topics = {'assert': 'The "assert" statement\n'
'**********************\n' '**********************\n'
'\n' '\n'
...@@ -2376,8 +2376,9 @@ ...@@ -2376,8 +2376,9 @@
'compatible\n' 'compatible\n'
'with an exception if it is the class or a base class of the ' 'with an exception if it is the class or a base class of the '
'exception\n' 'exception\n'
'object or a tuple containing an item compatible with the ' 'object, or a tuple containing an item that is the class or a '
'exception.\n' 'base\n'
'class of the exception object.\n'
'\n' '\n'
'If no except clause matches the exception, the search for an ' 'If no except clause matches the exception, the search for an '
'exception\n' 'exception\n'
...@@ -5512,44 +5513,51 @@ ...@@ -5512,44 +5513,51 @@
' | | formats the result in either fixed-point ' ' | | formats the result in either fixed-point '
'format or in |\n' 'format or in |\n'
' | | scientific notation, depending on its ' ' | | scientific notation, depending on its '
'magnitude. The |\n' 'magnitude. A |\n'
' | | precise rules are as follows: suppose that ' ' | | precision of "0" is treated as equivalent '
'the result |\n' '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\'" ' ' | | 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' 'and precision |\n'
' | | "p-1-exp". Otherwise, the number is ' ' | | "p-1". In both cases insignificant '
'formatted with |\n' 'trailing zeros are |\n'
' | | presentation type "\'e\'" and precision ' ' | | removed from the significand, and the '
'"p-1". In both cases |\n' 'decimal point is |\n'
' | | insignificant trailing zeros are removed ' ' | | also removed if there are no remaining '
'from the |\n' 'digits following |\n'
' | | significand, and the decimal point is also ' ' | | it, unless the "\'#\'" option is used. '
'removed if |\n' 'With no precision |\n'
' | | there are no remaining digits following ' ' | | given, uses a precision of "6" significant '
'it, unless the |\n' 'digits for |\n'
' | | "\'#\'" option is used. Positive and ' ' | | "float". For "Decimal", the coefficient of '
'negative infinity, |\n' 'the result is |\n'
' | | positive and negative zero, and nans, are ' ' | | formed from the coefficient digits of the '
'formatted as |\n' 'value; |\n'
' | | "inf", "-inf", "0", "-0" and "nan" ' ' | | scientific notation is used for values '
'respectively, |\n' 'smaller than "1e-6" |\n'
' | | regardless of the precision. A precision ' ' | | in absolute value and values where the '
'of "0" is |\n' 'place value of the |\n'
' | | treated as equivalent to a precision of ' ' | | least significant digit is larger than 1, '
'"1". With no |\n' 'and fixed-point |\n'
' | | precision given, uses a precision of "6" ' ' | | notation is used otherwise. Positive and '
'significant |\n' 'negative |\n'
' | | digits for "float", and shows all ' ' | | infinity, positive and negative zero, and '
'coefficient digits for |\n' 'nans, are |\n'
' | | ' ' | | formatted as "inf", "-inf", "0", "-0" and '
'"Decimal". ' '"nan" |\n'
'|\n' ' | | respectively, regardless of the '
'precision. |\n'
' ' ' '
'+-----------+------------------------------------------------------------+\n' '+-----------+------------------------------------------------------------+\n'
' | "\'G\'" | General format. Same as "\'g\'" except ' ' | "\'G\'" | General format. Same as "\'g\'" except '
...@@ -5574,19 +5582,24 @@ ...@@ -5574,19 +5582,24 @@
'percent sign. |\n' 'percent sign. |\n'
' ' ' '
'+-----------+------------------------------------------------------------+\n' '+-----------+------------------------------------------------------------+\n'
' | None | Similar to "\'g\'", except that ' ' | None | For "float" this is the same as "\'g\'", '
'fixed-point notation, when |\n' 'except that when |\n'
' | | used, has at least one digit past the ' ' | | fixed-point notation is used to format the '
'decimal point. The |\n' 'result, it |\n'
' | | default precision is as high as needed to ' ' | | always includes at least one digit past '
'represent the |\n' 'the decimal point. |\n'
' | | particular value. The overall effect is to ' ' | | The precision used is as large as needed '
'match the |\n' 'to represent the |\n'
' | | output of "str()" as altered by the other ' ' | | given value faithfully. For "Decimal", '
'format |\n' 'this is the same |\n'
' | | ' ' | | as either "\'g\'" or "\'G\'" depending on '
'modifiers. ' 'the value of |\n'
'|\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'
'\n' '\n'
...@@ -11159,7 +11172,8 @@ ...@@ -11159,7 +11172,8 @@
'object is “compatible” with the exception. An object is compatible\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 ' 'with an exception if it is the class or a base class of the '
'exception\n' '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' '\n'
'If no except clause matches the exception, the search for an ' 'If no except clause matches the exception, the search for an '
'exception\n' 'exception\n'
...@@ -11340,7 +11354,7 @@ ...@@ -11340,7 +11354,7 @@
'representation\n' 'representation\n'
' in computers.\n' ' in computers.\n'
'\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' ' "__repr__()" and "__str__()", have the following properties:\n'
'\n' '\n'
' * They are valid numeric literals which, when passed to their ' ' * They are valid numeric literals which, when passed to their '
......
.. 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.
Fix implicit function declarations in configure which could have resulted in
incorrect configuration checks. Patch contributed by Joshua Root.
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".
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.
Fix encoding name when running a ``.pyc`` file on Windows:
:c:func:`PyRun_SimpleFileExFlags()` now uses the correct encoding to decode
the filename.
Add documentation for the :class:`multiprocessing.pool.ThreadPool` class.
Fix ``Enum.__dir__``: dir(Enum.member) now includes attributes as well as methods.
Lowered :class:`tkinter.ttk.LabeledScale` dummy widget to prevent hiding part of the content label.
Ensure asyncio.wait_for waits for task completion
Enum: fix regression involving inheriting a multiply-inherited enum
fix `format()` behavior for `IntFlag`
Fixed tests using IsolatedAsyncioTestCase from hanging on BaseExceptions.
\ No newline at end of file
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.
subprocess module update for DragonFlyBSD support.
\ No newline at end of file
Fixed lib2to3.pgen2 to be able to parse PEP-570 positional only argument
syntax.
`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.
: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.
Fix ``freeze.py`` tool to use the prope config and library directories.
Patch by Victor Stinner.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment