From 7b3ab5921fa25ed8b97b6296f97c5c78aacf5447 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Langa?= Date: Mon, 24 Feb 2020 22:36:25 +0100 Subject: Python 3.8.2 --- Include/patchlevel.h | 6 +- Lib/pydoc_data/topics.py | 19 +++-- Misc/NEWS.d/3.8.2.rst | 97 ++++++++++++++++++++++ .../2020-01-22-22-28-04.bpo-39427.LiO-Eo.rst | 2 - .../2020-02-18-01-40-13.bpo-39382.OLSJu9.rst | 3 - .../2020-02-18-07-42-20.bpo-39654.MoT1jI.rst | 2 - .../2020-02-18-18-37-07.bpo-39572.CCtzy1.rst | 1 - .../2020-02-19-11-13-47.bpo-17422.g7_9zz.rst | 1 - .../IDLE/2020-02-17-21-09-03.bpo-39663.wexcsH.rst | 1 - .../2020-01-23-16-08-58.bpo-39432.Cee6mi.rst | 1 - .../2020-02-03-15-12-51.bpo-39546._Kj0Pn.rst | 3 - .../2020-02-21-13-58-40.bpo-39681.zN8hf0.rst | 2 - .../2020-02-23-21-27-10.bpo-39649.qiubSp.rst | 1 - README.rst | 4 +- 14 files changed, 115 insertions(+), 28 deletions(-) create mode 100644 Misc/NEWS.d/3.8.2.rst delete mode 100644 Misc/NEWS.d/next/Core and Builtins/2020-01-22-22-28-04.bpo-39427.LiO-Eo.rst delete mode 100644 Misc/NEWS.d/next/Core and Builtins/2020-02-18-01-40-13.bpo-39382.OLSJu9.rst delete mode 100644 Misc/NEWS.d/next/Documentation/2020-02-18-07-42-20.bpo-39654.MoT1jI.rst delete mode 100644 Misc/NEWS.d/next/Documentation/2020-02-18-18-37-07.bpo-39572.CCtzy1.rst delete mode 100644 Misc/NEWS.d/next/Documentation/2020-02-19-11-13-47.bpo-17422.g7_9zz.rst delete mode 100644 Misc/NEWS.d/next/IDLE/2020-02-17-21-09-03.bpo-39663.wexcsH.rst delete mode 100644 Misc/NEWS.d/next/Library/2020-01-23-16-08-58.bpo-39432.Cee6mi.rst delete mode 100644 Misc/NEWS.d/next/Library/2020-02-03-15-12-51.bpo-39546._Kj0Pn.rst delete mode 100644 Misc/NEWS.d/next/Library/2020-02-21-13-58-40.bpo-39681.zN8hf0.rst delete mode 100644 Misc/NEWS.d/next/Library/2020-02-23-21-27-10.bpo-39649.qiubSp.rst diff --git a/Include/patchlevel.h b/Include/patchlevel.h index bbdb7a2..3671bb3 100644 --- a/Include/patchlevel.h +++ b/Include/patchlevel.h @@ -19,11 +19,11 @@ #define PY_MAJOR_VERSION 3 #define PY_MINOR_VERSION 8 #define PY_MICRO_VERSION 2 -#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_GAMMA -#define PY_RELEASE_SERIAL 2 +#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_FINAL +#define PY_RELEASE_SERIAL 0 /* Version as a string */ -#define PY_VERSION "3.8.2rc2+" +#define PY_VERSION "3.8.2" /*--end constants--*/ /* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2. diff --git a/Lib/pydoc_data/topics.py b/Lib/pydoc_data/topics.py index 3c1b780..f1fdb7f 100644 --- a/Lib/pydoc_data/topics.py +++ b/Lib/pydoc_data/topics.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Autogenerated by Sphinx on Mon Feb 17 23:43:37 2020 +# Autogenerated by Sphinx on Mon Feb 24 21:52:17 2020 topics = {'assert': 'The "assert" statement\n' '**********************\n' '\n' @@ -5286,9 +5286,12 @@ topics = {'assert': 'The "assert" statement\n' 'Changed in version 3.6: Added the "\'_\'" option (see also ' '**PEP 515**).\n' '\n' - '*width* is a decimal integer defining the minimum field ' - 'width. If not\n' - 'specified, then the field width will be determined by the ' + '*width* is a decimal integer defining the minimum total ' + 'field width,\n' + 'including any prefixes, separators, and other formatting ' + 'characters.\n' + 'If not specified, then the field width will be determined ' + 'by the\n' 'content.\n' '\n' 'When no explicit alignment is given, preceding the *width* ' @@ -9001,11 +9004,15 @@ topics = {'assert': 'The "assert" statement\n' 'come from\n' 'the class definition). The "__prepare__" method should be ' 'implemented\n' - 'as a "classmethod()".\n' + 'as a "classmethod()". The namespace returned by ' + '"__prepare__" is\n' + 'passed in to "__new__", but when the final class object is ' + 'created the\n' + 'namespace is copied into a new "dict".\n' '\n' 'If the metaclass has no "__prepare__" attribute, then the ' 'class\n' - 'namespace is initialised as an empty ordered mapping.\n' + 'namespace is initialised as an empty "dict()".\n' '\n' 'See also:\n' '\n' diff --git a/Misc/NEWS.d/3.8.2.rst b/Misc/NEWS.d/3.8.2.rst new file mode 100644 index 0000000..bde6812 --- /dev/null +++ b/Misc/NEWS.d/3.8.2.rst @@ -0,0 +1,97 @@ +.. bpo: 39382 +.. date: 2020-02-18-01-40-13 +.. nonce: OLSJu9 +.. release date: 2020-02-24 +.. section: Core and Builtins + +Fix a use-after-free in the single inheritance path of ``issubclass()``, +when the ``__bases__`` of an object has a single reference, and so does its +first item. Patch by Yonatan Goldschmidt. + +.. + +.. bpo: 39427 +.. date: 2020-01-22-22-28-04 +.. nonce: LiO-Eo +.. section: Core and Builtins + +Document all possibilities for the ``-X`` options in the command line help +section. Patch by Pablo Galindo. + +.. + +.. bpo: 39649 +.. date: 2020-02-23-21-27-10 +.. nonce: qiubSp +.. section: Library + +Remove obsolete check for `__args__` in bdb.Bdb.format_stack_entry. + +.. + +.. bpo: 39681 +.. date: 2020-02-21-13-58-40 +.. nonce: zN8hf0 +.. section: Library + +Fix a regression where the C pickle module wouldn't allow unpickling from a +file-like object that doesn't expose a readinto() method. + +.. + +.. bpo: 39546 +.. date: 2020-02-03-15-12-51 +.. nonce: _Kj0Pn +.. section: Library + +Fix a regression in :class:`~argparse.ArgumentParser` where +``allow_abbrev=False`` was ignored for long options that used a prefix +character other than "-". + +.. + +.. bpo: 39432 +.. date: 2020-01-23-16-08-58 +.. nonce: Cee6mi +.. section: Library + +Implement PEP-489 algorithm for non-ascii "PyInit\_..." symbol names in +distutils to make it export the correct init symbol also on Windows. + +.. + +.. bpo: 17422 +.. date: 2020-02-19-11-13-47 +.. nonce: g7_9zz +.. section: Documentation + +The language reference now specifies restrictions on class namespaces. +Adapted from a patch by Ethan Furman. + +.. + +.. bpo: 39572 +.. date: 2020-02-18-18-37-07 +.. nonce: CCtzy1 +.. section: Documentation + +Updated documentation of ``total`` flag of TypeDict. + +.. + +.. bpo: 39654 +.. date: 2020-02-18-07-42-20 +.. nonce: MoT1jI +.. section: Documentation + +In pyclbr doc, update 'class' to 'module' where appropriate and add +readmodule comment. Patch by Hakan Çelik. + +.. + +.. bpo: 39663 +.. date: 2020-02-17-21-09-03 +.. nonce: wexcsH +.. section: IDLE + +Add tests for pyparse find_good_parse_start(). diff --git a/Misc/NEWS.d/next/Core and Builtins/2020-01-22-22-28-04.bpo-39427.LiO-Eo.rst b/Misc/NEWS.d/next/Core and Builtins/2020-01-22-22-28-04.bpo-39427.LiO-Eo.rst deleted file mode 100644 index a3915a4..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2020-01-22-22-28-04.bpo-39427.LiO-Eo.rst +++ /dev/null @@ -1,2 +0,0 @@ -Document all possibilities for the ``-X`` options in the command line help -section. Patch by Pablo Galindo. diff --git a/Misc/NEWS.d/next/Core and Builtins/2020-02-18-01-40-13.bpo-39382.OLSJu9.rst b/Misc/NEWS.d/next/Core and Builtins/2020-02-18-01-40-13.bpo-39382.OLSJu9.rst deleted file mode 100644 index 605f4c8..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2020-02-18-01-40-13.bpo-39382.OLSJu9.rst +++ /dev/null @@ -1,3 +0,0 @@ -Fix a use-after-free in the single inheritance path of ``issubclass()``, when -the ``__bases__`` of an object has a single reference, and so does its first item. -Patch by Yonatan Goldschmidt. diff --git a/Misc/NEWS.d/next/Documentation/2020-02-18-07-42-20.bpo-39654.MoT1jI.rst b/Misc/NEWS.d/next/Documentation/2020-02-18-07-42-20.bpo-39654.MoT1jI.rst deleted file mode 100644 index cff201d..0000000 --- a/Misc/NEWS.d/next/Documentation/2020-02-18-07-42-20.bpo-39654.MoT1jI.rst +++ /dev/null @@ -1,2 +0,0 @@ -In pyclbr doc, update 'class' to 'module' where appropriate and add readmodule comment. -Patch by Hakan Çelik. diff --git a/Misc/NEWS.d/next/Documentation/2020-02-18-18-37-07.bpo-39572.CCtzy1.rst b/Misc/NEWS.d/next/Documentation/2020-02-18-18-37-07.bpo-39572.CCtzy1.rst deleted file mode 100644 index d47bb45..0000000 --- a/Misc/NEWS.d/next/Documentation/2020-02-18-18-37-07.bpo-39572.CCtzy1.rst +++ /dev/null @@ -1 +0,0 @@ -Updated documentation of ``total`` flag of TypeDict. diff --git a/Misc/NEWS.d/next/Documentation/2020-02-19-11-13-47.bpo-17422.g7_9zz.rst b/Misc/NEWS.d/next/Documentation/2020-02-19-11-13-47.bpo-17422.g7_9zz.rst deleted file mode 100644 index f071d28..0000000 --- a/Misc/NEWS.d/next/Documentation/2020-02-19-11-13-47.bpo-17422.g7_9zz.rst +++ /dev/null @@ -1 +0,0 @@ -The language reference now specifies restrictions on class namespaces. Adapted from a patch by Ethan Furman. diff --git a/Misc/NEWS.d/next/IDLE/2020-02-17-21-09-03.bpo-39663.wexcsH.rst b/Misc/NEWS.d/next/IDLE/2020-02-17-21-09-03.bpo-39663.wexcsH.rst deleted file mode 100644 index 19e1632..0000000 --- a/Misc/NEWS.d/next/IDLE/2020-02-17-21-09-03.bpo-39663.wexcsH.rst +++ /dev/null @@ -1 +0,0 @@ -Add tests for pyparse find_good_parse_start(). diff --git a/Misc/NEWS.d/next/Library/2020-01-23-16-08-58.bpo-39432.Cee6mi.rst b/Misc/NEWS.d/next/Library/2020-01-23-16-08-58.bpo-39432.Cee6mi.rst deleted file mode 100644 index 21c4ba8..0000000 --- a/Misc/NEWS.d/next/Library/2020-01-23-16-08-58.bpo-39432.Cee6mi.rst +++ /dev/null @@ -1 +0,0 @@ -Implement PEP-489 algorithm for non-ascii "PyInit\_..." symbol names in distutils to make it export the correct init symbol also on Windows. diff --git a/Misc/NEWS.d/next/Library/2020-02-03-15-12-51.bpo-39546._Kj0Pn.rst b/Misc/NEWS.d/next/Library/2020-02-03-15-12-51.bpo-39546._Kj0Pn.rst deleted file mode 100644 index 8f035e7..0000000 --- a/Misc/NEWS.d/next/Library/2020-02-03-15-12-51.bpo-39546._Kj0Pn.rst +++ /dev/null @@ -1,3 +0,0 @@ -Fix a regression in :class:`~argparse.ArgumentParser` where -``allow_abbrev=False`` was ignored for long options that used a prefix -character other than "-". diff --git a/Misc/NEWS.d/next/Library/2020-02-21-13-58-40.bpo-39681.zN8hf0.rst b/Misc/NEWS.d/next/Library/2020-02-21-13-58-40.bpo-39681.zN8hf0.rst deleted file mode 100644 index c10e2fd..0000000 --- a/Misc/NEWS.d/next/Library/2020-02-21-13-58-40.bpo-39681.zN8hf0.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix a regression where the C pickle module wouldn't allow unpickling from a -file-like object that doesn't expose a readinto() method. diff --git a/Misc/NEWS.d/next/Library/2020-02-23-21-27-10.bpo-39649.qiubSp.rst b/Misc/NEWS.d/next/Library/2020-02-23-21-27-10.bpo-39649.qiubSp.rst deleted file mode 100644 index 5a88f79..0000000 --- a/Misc/NEWS.d/next/Library/2020-02-23-21-27-10.bpo-39649.qiubSp.rst +++ /dev/null @@ -1 +0,0 @@ -Remove obsolete check for `__args__` in bdb.Bdb.format_stack_entry. diff --git a/README.rst b/README.rst index 5858120..cf74d1d 100644 --- a/README.rst +++ b/README.rst @@ -1,5 +1,5 @@ -This is Python version 3.8.2rc2 -=============================== +This is Python version 3.8.2 +============================ .. image:: https://travis-ci.org/python/cpython.svg?branch=3.8 :alt: CPython build status on Travis CI -- cgit v0.12