]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
4 years agoPython 3.8.8rc1 v3.8.8rc1
Łukasz Langa [Tue, 16 Feb 2021 18:12:03 +0000 (19:12 +0100)] 
Python 3.8.8rc1

4 years agobpo-42819, readline: Disable bracketed paste (GH-24108)
Miss Islington (bot) [Mon, 15 Feb 2021 23:47:52 +0000 (15:47 -0800)] 
bpo-42819, readline: Disable bracketed paste (GH-24108)

(cherry picked from commit 755f3c1521b422bc2177013d289f5439975fdc4f)

Co-authored-by: Dustin Rodrigues <dust.rod@gmail.com>
4 years agoAdd a warning block around the get_referrers() documentation (GH-24511)
Miss Islington (bot) [Mon, 15 Feb 2021 23:12:34 +0000 (15:12 -0800)] 
Add a warning block around the get_referrers() documentation (GH-24511)

(cherry picked from commit 813db24f7c2c536d587d1832c3c52b44fa9e242e)

Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
4 years agobpo-43108: Fix a reference leak in the curses module (GH-24420) (GH-24429)
Miss Islington (bot) [Mon, 15 Feb 2021 18:43:52 +0000 (10:43 -0800)] 
bpo-43108: Fix a reference leak in the curses module (GH-24420) (GH-24429)

(cherry picked from commit bb739ec922c6992a2be38f9fd3c544c2cc322dde)

Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
4 years ago[3.8] bpo-42967: only use '&' as a query string separator (GH-24297) (#24529)
Senthil Kumaran [Mon, 15 Feb 2021 18:15:02 +0000 (10:15 -0800)] 
[3.8] bpo-42967: only use '&' as a query string separator (GH-24297)  (#24529)

* bpo-42967: only use '&' as a query string separator (#24297)

bpo-42967: [security] Address a web cache-poisoning issue reported in
urllib.parse.parse_qsl().

urllib.parse will only us "&" as query string separator by default
instead of both ";" and "&" as allowed in earlier versions. An optional
argument seperator with default value "&" is added to specify the
separator.

Co-authored-by: Éric Araujo <merwok@netwok.org>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
Co-authored-by: Éric Araujo <merwok@netwok.org>
(cherry picked from commit fcbe0cb04d35189401c0c880ebfb4311e952d776)

* [3.8] bpo-42967: only use '&' as a query string separator (GH-24297)

bpo-42967: [security] Address a web cache-poisoning issue reported in urllib.parse.parse_qsl().

urllib.parse will only us "&" as query string separator by default instead of both ";" and "&" as allowed in earlier versions. An optional argument seperator with default value "&" is added to specify the separator.

Co-authored-by: Éric Araujo <merwok@netwok.org>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
Co-authored-by: Éric Araujo <merwok@netwok.org>.
(cherry picked from commit fcbe0cb04d35189401c0c880ebfb4311e952d776)

Co-authored-by: Adam Goldschmidt <adamgold7@gmail.com>
* Update correct version information.

* fix docs and make logic clearer

Co-authored-by: Adam Goldschmidt <adamgold7@gmail.com>
Co-authored-by: Fidget-Spinner <28750310+Fidget-Spinner@users.noreply.github.com>
4 years agobpo-43204: Fix LibTomCrypt URL in md5module.c and sha*module.c comments (GH-24507...
Miss Islington (bot) [Sun, 14 Feb 2021 14:53:10 +0000 (06:53 -0800)] 
bpo-43204: Fix LibTomCrypt URL in md5module.c and sha*module.c comments (GH-24507) (GH-24516)

Automerge-Triggered-By: GH:tiran
(cherry picked from commit 5ec7d535581bc99918e032891167a96abd224ed6)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
4 years agobpo-43200: Fix link to shutil.copy() in the shutil doc (GH-24505)
Miss Islington (bot) [Sat, 13 Feb 2021 05:06:50 +0000 (21:06 -0800)] 
bpo-43200: Fix link to shutil.copy() in the shutil doc (GH-24505)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
(cherry picked from commit 762fe7deed34a1d5294bf82071d318c8427b4893)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
4 years ago[3.8] bpo-41824: Fix indentation issue in ForwardRef docs (#24495)
Ken Jin [Tue, 9 Feb 2021 17:57:20 +0000 (01:57 +0800)] 
[3.8] bpo-41824: Fix indentation issue in ForwardRef docs (#24495)

4 years ago[3.8] bpo-41824: Add versionadded for typing.ForwardRef docs (#24224) (#24494)
Ken Jin [Tue, 9 Feb 2021 16:55:45 +0000 (00:55 +0800)] 
[3.8] bpo-41824: Add versionadded for typing.ForwardRef docs (#24224) (#24494)

4 years agobpo-16781: In 'exec' doc, add 'nonlocal' to 'yield' and 'return' (GH-2446)
Miss Islington (bot) [Sun, 7 Feb 2021 05:38:54 +0000 (21:38 -0800)] 
bpo-16781: In 'exec' doc, add 'nonlocal' to 'yield' and 'return' (GH-2446)

These 3 statements cannot be used at module scope -- nor in exec with one namespace.
(cherry picked from commit 0ec57e25c918b859b9f8d464e34e0ac859c2f8b3)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
4 years agoSimple typo fix (GH-24448)
Miss Islington (bot) [Fri, 5 Feb 2021 18:44:45 +0000 (10:44 -0800)] 
Simple typo fix (GH-24448)

(cherry picked from commit 5f18c223391eef8c7d01241b51a7b2429609dd84)

Co-authored-by: Andrew Tennikoff <atenni@users.noreply.github.com>
4 years agobuild(deps): bump actions/upload-artifact from v2.2.1 to v2.2.2 (GH-24411)
Miss Islington (bot) [Thu, 4 Feb 2021 19:15:26 +0000 (11:15 -0800)] 
build(deps): bump actions/upload-artifact from v2.2.1 to v2.2.2 (GH-24411)

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from v2.2.1 to v2.2.2.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2.2.1...e448a9b857ee2131e752b06002bf0e093c65e571)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit aa4caf9887944ab280a87712460e2dd49b55fe5e)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agobpo-42773: fix tests not being run on pushes (GH-24004)
Miss Islington (bot) [Wed, 3 Feb 2021 23:34:21 +0000 (15:34 -0800)] 
bpo-42773: fix tests not being run on pushes (GH-24004)

There was a typo, we were checking if the "GITHUB_BASE_REF" string
literal was empty instead of the $GITHUB_BASE_REF value. When
$GITHUB_BASE_REF is empty, the action that triggered the run was not a
pull request, so we always run the full test suite.

Signed-off-by: Filipe Laíns <lains@riseup.net>
(cherry picked from commit 4ac923f2756f835f512339ee181348cc535ab07f)

Co-authored-by: Filipe Laíns <lains@riseup.net>
4 years agoFix typo (GH-23019)
Miss Islington (bot) [Wed, 3 Feb 2021 21:46:23 +0000 (13:46 -0800)] 
Fix typo (GH-23019)

Fixed possible typo in comment
(cherry picked from commit bfe544d2f2c2e7a7c03a764bed3276a1e27a0f5c)

Co-authored-by: Harry <harry.lees@gmail.com>
4 years agoAdd link to Microsoft docs for limitations in Windows Store package (GH-24422)
Miss Islington (bot) [Wed, 3 Feb 2021 01:23:27 +0000 (17:23 -0800)] 
Add link to Microsoft docs for limitations in Windows Store package (GH-24422)

(cherry picked from commit 1ba08a121a25fcf7c947d8d37e72e46dae59168c)

Co-authored-by: Steve Dower <steve.dower@python.org>
4 years agobpo-41748: Handles unquoted attributes with commas (GH-24072)
Miss Islington (bot) [Mon, 1 Feb 2021 20:52:52 +0000 (12:52 -0800)] 
bpo-41748: Handles unquoted attributes with commas (GH-24072)

* bpo-41748: Adds tests for unquoted attributes with comma

* bpo-41748: Handles unquoted attributes with comma

* bpo-41748: Addresses review comments

* bpo-41748: Addresses review comments

* Adds more test cases
* Simplifies the regex for handling spaces

* bpo-41748: Moves attributes tests under the right class

* bpo-41748: Addresses review about duplicate attributes

* bpo-41748: Adds NEWS.d entry for this patch
(cherry picked from commit 9eb11a139fac5514d8456626806a68b3e3b7eafb)

Co-authored-by: Karl Dubost <karl+github@la-grange.net>
4 years agobpo-43016: Fix test_curses on platform without cursesw (GH-24405) (GH-24408)
Miss Islington (bot) [Mon, 1 Feb 2021 07:37:12 +0000 (23:37 -0800)] 
bpo-43016: Fix test_curses on platform without cursesw (GH-24405) (GH-24408)

(cherry picked from commit a1e9a1e120a11c563e166c15721169184c802f8b)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
4 years ago[3.9] bpo-41604: Don't decrement the reference count of the previous user_ptr when...
Miss Islington (bot) [Sun, 31 Jan 2021 20:51:23 +0000 (12:51 -0800)] 
[3.9] bpo-41604: Don't decrement the reference count of the previous user_ptr when set_panel_usertpr fails (GH-21933). (GH-24403)

(cherry picked from commit 3243e8a4b4b4cf321f9b28335d565742a34b1976)

Co-authored-by: Anonymous Maarten <madebr@users.noreply.github.com>
(cherry picked from commit 3c8d6934436e20163be802f5239c5b4e4925eeec)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
4 years ago[3.8] bpo-43016: Rewrite tests for curses (GH-24312). (GH-24399) (GH-24401)
Serhiy Storchaka [Sun, 31 Jan 2021 17:44:12 +0000 (19:44 +0200)] 
[3.8] bpo-43016: Rewrite tests for curses (GH-24312). (GH-24399) (GH-24401)

(cherry picked from commit d64fd4bb5bb4fd2e3277f39d3ad99b5a8d193e1b).
(cherry picked from commit e9d4960d15c5282904cf26e469ce7cee39f634f7)

4 years agobpo-43030: Fixed a compiler warning in Py_UNICODE_ISSPACE with signed wchar_t (GH...
Miss Islington (bot) [Sun, 31 Jan 2021 14:46:17 +0000 (06:46 -0800)] 
bpo-43030: Fixed a compiler warning in Py_UNICODE_ISSPACE with signed wchar_t (GH-24350) (GH-24397)

(cherry picked from commit 42b1806af90b86ec393ca7da14e99ce95ec6c53b)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
4 years agobpo-43059: Remove reference to legacy external sqlite3 repository (GH-24364)
Miss Islington (bot) [Sun, 31 Jan 2021 05:21:54 +0000 (21:21 -0800)] 
bpo-43059: Remove reference to legacy external sqlite3 repository (GH-24364)

(cherry picked from commit e60344364245a23a7a1b25d5ebce6833652a656c)

Co-authored-by: L <3177243+LukeLR@users.noreply.github.com>
4 years agoFixing typos in turtle.rst (GH-24376)
Miss Islington (bot) [Fri, 29 Jan 2021 21:49:57 +0000 (13:49 -0800)] 
Fixing typos in turtle.rst (GH-24376)

Automerge-Triggered-By: GH:JulienPalard
(cherry picked from commit 6baaae589d596ed3bb668448f2a22c5f62fc5fdf)

Co-authored-by: Jules Lasne <jules.lasne@gmail.com>
4 years agoFixed typo in turtle.rst (GH-24371)
Miss Islington (bot) [Fri, 29 Jan 2021 21:39:03 +0000 (13:39 -0800)] 
Fixed typo in turtle.rst (GH-24371)

Found it while translating it to french 🤷

Automerge-Triggered-By: GH:JulienPalard
(cherry picked from commit 6372a4ceba126aa0a9f00eee0f8023308f13e77b)

Co-authored-by: Jules Lasne <jules.lasne@gmail.com>
4 years agobpo-43008: Add 'Patch by Ken Hilton' (GH-24370)
Miss Islington (bot) [Fri, 29 Jan 2021 18:22:18 +0000 (10:22 -0800)] 
bpo-43008: Add 'Patch by Ken Hilton' (GH-24370)

(cherry picked from commit 11d75ec807f05eff1148c049e38b808d11c23b8a)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
4 years agobpo-23544: Disable IDLE Stack Viewer when running user code (GH-17163) (#24366)
Miss Islington (bot) [Fri, 29 Jan 2021 01:47:41 +0000 (17:47 -0800)] 
bpo-23544: Disable IDLE Stack Viewer when running user code (GH-17163) (#24366)

Starting stack viewer when user code is running, including when Debugger is active, hangs or crashes IDLE.

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
(cherry picked from commit 23a567c11ca36eedde0e119443c85cc16075deaf)

4 years agobpo-29076: Add fish support to macOS installer (GH-23302) (GH-23938)
Miss Islington (bot) [Thu, 28 Jan 2021 14:54:57 +0000 (06:54 -0800)] 
bpo-29076: Add fish support to macOS installer (GH-23302) (GH-23938)

(cherry picked from commit 7f162e867c674f57c308a87fffcdcca3540c8933)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
4 years agobpo-43008: Make IDLE respect sys.excepthook (GH-24302)
Miss Islington (bot) [Wed, 27 Jan 2021 00:24:30 +0000 (16:24 -0800)] 
bpo-43008: Make IDLE respect sys.excepthook (GH-24302)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
(cherry picked from commit 7a34380ad788886f5ad50d4175ceb2d5715b8cff)

Co-authored-by: Ken <kenny2minecraft@gmail.com>
4 years ago[3.8] bpo-41841: Prepare IDLE NEWS for 3.8.8 (GH-24344)
Terry Jan Reedy [Tue, 26 Jan 2021 18:59:42 +0000 (13:59 -0500)] 
[3.8] bpo-41841: Prepare IDLE NEWS for 3.8.8 (GH-24344)

4 years ago [3.8] bpo-42383: pdb: do not fail to restart the target if the current directory...
Andrey Bienkowski [Tue, 26 Jan 2021 15:58:33 +0000 (15:58 +0000)] 
 [3.8] bpo-42383: pdb: do not fail to restart the target if the current directory changed (GH-23412) (#24323)

4 years ago[3.8] bpo-42384: pdb: correctly populate sys.path[0] (GH-23338) (#24320)
Andrey Bienkowski [Mon, 25 Jan 2021 21:10:40 +0000 (21:10 +0000)] 
[3.8] bpo-42384: pdb: correctly populate sys.path[0] (GH-23338) (#24320)

4 years agobpo-43013: Fix old tkinter module names in idlelib (GH-24326)
Miss Islington (bot) [Mon, 25 Jan 2021 11:51:49 +0000 (03:51 -0800)] 
bpo-43013: Fix old tkinter module names in idlelib (GH-24326)

Lowercase 'tkColorChooser', 'tkFileDialog', 'tkSimpleDialog', and
'tkMessageBox' and remove 'tk'.  Just lowercase 'tkFont' as 'font'
is already used.  Adjust import.
(cherry picked from commit 879986d8a932c4524cb6ff822afc9537de16e28d)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
4 years ago[3.9] bpo-33289: Return RGB triplet of ints instead of floats from tkinter.colorchoos...
Miss Islington (bot) [Mon, 25 Jan 2021 10:02:52 +0000 (02:02 -0800)] 
[3.9] bpo-33289: Return RGB triplet of ints instead of floats from tkinter.colorchooser (GH-6578). (GH-24318)

(cherry picked from commit 6713e869c4989c04318158b406c30a147ea52904)

Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
(cherry picked from commit 3d5434d5cbc945c58be663e3dbd5ef4875677b7a)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
4 years agobpo-43013: Update idlelib code to 3.x (GH-24315) (#24317)
Miss Islington (bot) [Sun, 24 Jan 2021 22:16:03 +0000 (14:16 -0800)] 
bpo-43013: Update idlelib code to 3.x  (GH-24315) (#24317)

Remove 9 remaining '(object)' occurrences in class headers in idlelib
and 25 '()' occurrences in idlelib.idle_test class headers.
(cherry picked from commit 8dfe15625e6ea4357a13fec7989a0e6ba2bf1359)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
4 years agocloses bpo-43011: Fix DeprecationWarnings in test_ctypes (GH-24305)
Miss Islington (bot) [Sat, 23 Jan 2021 16:55:20 +0000 (08:55 -0800)] 
closes bpo-43011: Fix DeprecationWarnings in test_ctypes (GH-24305)

(cherry picked from commit f7fa64f0e87edc61d990ed51b4da722906a10928)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
4 years agobpo-40304: Correct type(name, bases, dict) doc (GH-19553)
Miss Islington (bot) [Fri, 22 Jan 2021 05:57:40 +0000 (21:57 -0800)] 
bpo-40304: Correct type(name, bases, dict) doc (GH-19553)

Co-authored-by: Éric Araujo <merwok@netwok.org>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Co-authored-by: Tal Einat <532281+taleinat@users.noreply.github.com>
(cherry picked from commit 644d52818a6391535e5838fd57d58ffcb1163056)

Co-authored-by: Борис Верховский <boris.verk@gmail.com>
4 years agobpo-42780: Fix set_inheritable() for O_PATH file descriptors on Linux (GH-24172)...
cptpcrd [Thu, 21 Jan 2021 10:46:53 +0000 (05:46 -0500)] 
bpo-42780: Fix set_inheritable() for O_PATH file descriptors on Linux (GH-24172) (GH-24277)

(cherry picked from commit 7dc71c425cf6aa6a4070a418dce5d95ca435c79f)

4 years agoFix typos in unittest documentation (GH-24194)
Miss Islington (bot) [Wed, 20 Jan 2021 13:18:08 +0000 (05:18 -0800)] 
Fix typos in unittest documentation (GH-24194)

* addCleanupClass  -> addClassCleanup
* doCleanupsClass -> doClassCleanups
(cherry picked from commit e0e398ef1855f3db708c682f70adc412f0877d59)

Co-authored-by: Conchylicultor <etiennefg.pot@gmail.com>
4 years agobpo-36769: Document that fnmatch.filter supports any kind of iterable (GH-13039)
Miss Islington (bot) [Wed, 20 Jan 2021 10:43:22 +0000 (02:43 -0800)] 
bpo-36769: Document that fnmatch.filter supports any kind of iterable (GH-13039)

(cherry picked from commit e8d22642105d57007ab1242848a8cbadc7f179df)

Co-authored-by: Andre Delfino <adelfino@gmail.com>
4 years agobpo-42005: profile and cProfile catch BrokenPipeError (GH-22643)
Miss Islington (bot) [Wed, 20 Jan 2021 09:18:07 +0000 (01:18 -0800)] 
bpo-42005: profile and cProfile catch BrokenPipeError (GH-22643)

(cherry picked from commit 3554fa4abecfb77ac5fcaa5ce8310eeca5683960)

Co-authored-by: Zhiming Wang <i@zhimingwang.org>
4 years agocloses bpo-42938: Replace snprintf with Python unicode formatting in ctypes param...
Miss Islington (bot) [Mon, 18 Jan 2021 21:28:52 +0000 (13:28 -0800)] 
closes bpo-42938: Replace snprintf with Python unicode formatting in ctypes param reprs. (GH-24248)

(cherry picked from commit 916610ef90a0d0761f08747f7b0905541f0977c7)

Co-authored-by: Benjamin Peterson <benjamin@python.org>
Co-authored-by: Benjamin Peterson <benjamin@python.org>
4 years ago[3.8] bpo-42531: Teach importlib.resources.path to handle packages without __file__...
William Schwartz [Sat, 16 Jan 2021 17:22:21 +0000 (11:22 -0600)] 
[3.8] bpo-42531: Teach importlib.resources.path to handle packages without __file__ (GH-23611)

Fixes [bpo-42531]() for Python 3.8.

The issue also applies to 3.7. If this PR looks like it'll be accepted, I can cherry-pick it to the 3.7 branch and submit a follow-up PR.

Automerge-Triggered-By: GH:jaraco
4 years ago[3.8] bpo-40052: Fix alignment issue in PyVectorcall_Function() (GH-23999) (GH-24120)
Petr Viktorin [Tue, 12 Jan 2021 14:45:05 +0000 (15:45 +0100)] 
[3.8] bpo-40052: Fix alignment issue in PyVectorcall_Function() (GH-23999) (GH-24120)

Co-Authored-By: Andreas Schneider <asn@cryptomilk.org>
Co-Authored-By: Antoine Pitrou <antoine@python.org>.
Co-authored-by: Petr Viktorin <encukou@gmail.com>
(cherry picked from commit 056c08211b402b4dbc1530a9de9d00ad5309909f)
https://bugs.python.org/issue40052

4 years agobpo-33065: Fix problem debugging user classes with __repr__ method (GH-24183)
Miss Islington (bot) [Sun, 10 Jan 2021 07:30:59 +0000 (23:30 -0800)] 
bpo-33065: Fix problem debugging user classes with __repr__ method (GH-24183)

If __repr__ uses instance attributes, as normal, and one steps
through the __init__ method, debugger may try to get repr before
the instance attributes exist.  reprlib.repr handles the error.
(cherry picked from commit 81f87bbf9f65702062021a78abd9b8f82c98a414)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
4 years agobpo-42811: Update importlib.utils.resolve_name() docs to use __spec__.parent (GH...
Miss Islington (bot) [Thu, 7 Jan 2021 18:07:48 +0000 (10:07 -0800)] 
bpo-42811: Update importlib.utils.resolve_name() docs to use __spec__.parent (GH-24100) (GH-24144)

Automerge-Triggered-By: GH:brettcannon
(cherry picked from commit ff8458b918050168acda1ad6d079f52b8effa821)

Co-authored-by: Yair Frid <fridyair@gmail.com>
4 years agobpo-42584: Update Windows installer to use SQLite 3.34.0 (GH-23675)
Steve Dower [Wed, 6 Jan 2021 00:31:10 +0000 (00:31 +0000)] 
bpo-42584: Update Windows installer to use SQLite 3.34.0 (GH-23675)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
4 years agobpo-42755: Fix sqlite3.Connection.backup docs (GH-23965)
Miss Islington (bot) [Wed, 6 Jan 2021 00:23:37 +0000 (16:23 -0800)] 
bpo-42755: Fix sqlite3.Connection.backup docs (GH-23965)

The `pages` argument default value now reflects the implementation.
(cherry picked from commit abba83b4b91f78dc556dc0b7700ecb46cba22c01)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
4 years agobpo-38413: Remove outdated section about multithreading in sqlite3 (GH-23159)
Miss Islington (bot) [Wed, 6 Jan 2021 00:21:57 +0000 (16:21 -0800)] 
bpo-38413: Remove outdated section about multithreading in sqlite3 (GH-23159)

(cherry picked from commit f9949f82e17c88609adb53eff3a7d5cd63a645bd)

Co-authored-by: Vladimir <greatvovan@gmail.com>
4 years agobpo-41837: Updated Windows installer to include OpenSSL 1.1.1i (GH-24125)
Steve Dower [Wed, 6 Jan 2021 00:07:51 +0000 (00:07 +0000)] 
bpo-41837: Updated Windows installer to include OpenSSL 1.1.1i (GH-24125)

4 years ago[3.8] bpo-42584: Update macOS installer to use SQLite 3.34.0 (GH-23674). (GH-24129)
Erlend Egeberg Aasland [Tue, 5 Jan 2021 22:46:31 +0000 (23:46 +0100)] 
[3.8] bpo-42584: Update macOS installer to use SQLite 3.34.0 (GH-23674). (GH-24129)

(cherry picked from commit c94ee13ad596d26d1859078bc09806aa59bb0000)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
Automerge-Triggered-By: GH:ned-deily
4 years ago[3.8] [3.9] bpo-42681: Fix test_curses failures related to color pairs (GH-24089...
Serhiy Storchaka [Tue, 5 Jan 2021 14:04:25 +0000 (16:04 +0200)] 
[3.8] [3.9] bpo-42681: Fix test_curses failures related to color pairs (GH-24089) (GH-24113) (GH-24116)

On ncurses 6.1 pair numbers are limited by SHORT_MAX-1.

Improve error reporting and tests for color functions.
(cherry picked from commit 59f9b4e4509be67494f3d45489fa55523175ff69)
(cherry picked from commit 9b3a53a8264d4c469a3f3d8c037e74c010be3e5c)

4 years ago[3.8] bpo-32631: IDLE: Enable zzdummy example extension module (GH-14491)
Terry Jan Reedy [Tue, 5 Jan 2021 09:18:02 +0000 (04:18 -0500)] 
[3.8] bpo-32631: IDLE: Enable zzdummy example extension module (GH-14491)

Make menu items work with formatter, add docstrings, add 100% tests.

Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
(cherry picked from commit e40e2a2cc94c554e7e245a8ca5a7432d31a95766)

4 years agoFix broken NEWS markup (GH-24110)
Miss Islington (bot) [Tue, 5 Jan 2021 08:18:43 +0000 (00:18 -0800)] 
Fix broken NEWS markup (GH-24110)

(cherry picked from commit cde988e893793f58bf87e7a8c014926fd2e32904)

Co-authored-by: Brandt Bucher <brandtbucher@gmail.com>
4 years agobpo-42508: Keep IDLE running on macOS (GH-23577) (#23670)
Miss Islington (bot) [Tue, 5 Jan 2021 08:09:30 +0000 (00:09 -0800)] 
bpo-42508: Keep IDLE running on macOS (GH-23577) (#23670)

Remove obsolete workaround that prevented running files with
shortcuts when using new universal2 installers built on macOS 11.
Ignore buggy 2nd run_module_event call.
(cherry picked from commit 57e511361047895231f5ee7abfdfbbc60e11d2db)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
4 years agobpo-40810: Fix CheckTraceCallbackContent for SQLite pre 3.7.15 (GH-20530)
Miss Islington (bot) [Mon, 4 Jan 2021 23:36:37 +0000 (15:36 -0800)] 
bpo-40810: Fix CheckTraceCallbackContent for SQLite pre 3.7.15 (GH-20530)

Ref. [SQLite 3.7.15 changelog](https://sqlite.org/changes.htmlGH-version_3_7_15):
_"Avoid invoking the sqlite3_trace() callback multiple times when a statement is automatically reprepared due to SQLITE_SCHEMA errors."_
(cherry picked from commit f7f0ed59bcc41ed20674d4b2aa443d3b79e725f4)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
4 years agoDo not remove x bit from published directories (GH-24101)
Miss Islington (bot) [Mon, 4 Jan 2021 21:14:51 +0000 (13:14 -0800)] 
Do not remove x bit from published directories (GH-24101)

(cherry picked from commit af4cd16479f2d55bee3db899e7679d7cde1d2ab7)

Co-authored-by: Steve Dower <steve.dower@python.org>
4 years agoRevert "[3.8] [doc] Fix erroneous backslashes in signatures and names (GH-23658)...
Julien Palard [Mon, 4 Jan 2021 16:19:16 +0000 (17:19 +0100)] 
Revert "[3.8] [doc] Fix erroneous backslashes in signatures and names (GH-23658)" (GH-24093)

This partially reverts commit
02349e2dc9d93202c658ae383b2de2e36b2366f8, which was removing
backslashes in documentations compiled with Sphinx < 3, used for
Python 3.8 and 3.9 docs.

4 years agobpo-41837: Update macOS installer build to use OpenSSL 1.1.1i. (GH-24080) (#24084)
Miss Islington (bot) [Mon, 4 Jan 2021 10:27:15 +0000 (02:27 -0800)] 
bpo-41837: Update macOS installer build to use OpenSSL 1.1.1i. (GH-24080) (#24084)

(cherry picked from commit 14097a2785414c728d41d8d730a469a8c46ecdb9)

Co-authored-by: Ned Deily <nad@python.org>
4 years agoUpdate Sphinx version for macOS installer build. (GH-24082) (GH-24088)
Miss Islington (bot) [Mon, 4 Jan 2021 10:21:01 +0000 (02:21 -0800)] 
Update Sphinx version for macOS installer build. (GH-24082) (GH-24088)

(cherry picked from commit 0f3b96b368dd7ebb5dcd3759a30322dbd027f292)

Co-authored-by: Ned Deily <nad@python.org>
4 years ago[3.8] [3.9] bpo-42681: Fix range checks for color and pair numbers in curses (GH...
Serhiy Storchaka [Mon, 4 Jan 2021 08:58:09 +0000 (10:58 +0200)] 
[3.8] [3.9] bpo-42681: Fix range checks for color and pair numbers in curses (GH-23874). (GH-24077) (GH-24079)

(cherry picked from commit 1470edd6131c29b8a09ce012cdfee3afa269d553)
(cherry picked from commit b0ee2b492dbf550fbd2a63b82de0a4dc9d67f32e)

4 years ago[3.8] [3.9] bpo-42789: Don't skip curses tests on non-tty. (GH-24009) (GH-24076)...
Serhiy Storchaka [Sun, 3 Jan 2021 22:54:13 +0000 (00:54 +0200)] 
[3.8] [3.9] bpo-42789: Don't skip curses tests on non-tty. (GH-24009) (GH-24076) (GH-24078)

If __stdout__ is not attached to terminal, try to use __stderr__
if it is attached to terminal, or open the terminal device, or
use regular file as terminal, but some functions will be untested
in the latter case.
(cherry picked from commit 607501abb488fb37e33cf9d35260ab7baefa192f)
(cherry picked from commit 0303008ebceb6ac6035cd9722d1393267304171d)

4 years agobpo-42809: Improve pickle tests for recursive data. (GH-24060)
Miss Islington (bot) [Sat, 2 Jan 2021 17:50:28 +0000 (09:50 -0800)] 
bpo-42809: Improve pickle tests for recursive data. (GH-24060)

(cherry picked from commit a25011be8c6f62cb3333903befe6295d57f0bd30)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
4 years ago[3.8] bpo-26407: Do not mask errors in csv. (GH-20536) (GH-24021)
Serhiy Storchaka [Fri, 1 Jan 2021 17:42:23 +0000 (19:42 +0200)] 
[3.8] bpo-26407: Do not mask errors in csv. (GH-20536) (GH-24021)

Unexpected errors in calling the __iter__ method are no longer
masked by TypeError in csv.reader(), csv.writer.writerow() and
csv.writer.writerows().
(cherry picked from commit c88239f864a27f673c0f0a9e62d2488563f9d081)

4 years ago[3.8] bpo-39068: Fix race condition in base64 (GH-17627) (GH-24022)
Serhiy Storchaka [Fri, 1 Jan 2021 17:41:49 +0000 (19:41 +0200)] 
[3.8] bpo-39068: Fix race condition in base64 (GH-17627) (GH-24022)

There was a race condition in base64 in lazy initialization of multiple globals.
(cherry picked from commit 9655434cca5dfbea97bf6d355aec028e840b289c)

Co-authored-by: Brandon Stansbury <brandonrstansbury@gmail.com>
4 years ago[3.8] bpo-36589: Fix the error handling in curses.update_lines_cols(). (GH-12766...
Serhiy Storchaka [Fri, 1 Jan 2021 17:40:38 +0000 (19:40 +0200)] 
[3.8] bpo-36589: Fix the error handling in curses.update_lines_cols(). (GH-12766) (GH-24023)

Return None instead of 1.
(cherry picked from commit 2bc343417a4de83fa6998ff91303877734ecd366)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
4 years ago[3.8] bpo-42425: Fix possible leak in initialization of errmap for OSError (GH-23446...
Serhiy Storchaka [Fri, 1 Jan 2021 17:40:11 +0000 (19:40 +0200)] 
[3.8] bpo-42425: Fix possible leak in initialization of errmap for OSError (GH-23446). (GH-24025)

(cherry picked from commit ed1007c0d74e658d1e6c9b51b12ce7501eb8cbf9)

4 years ago[3.8] bpo-42759: Fix equality comparison of Variable and Font in Tkinter (GH-23968...
Serhiy Storchaka [Fri, 1 Jan 2021 17:39:36 +0000 (19:39 +0200)] 
[3.8] bpo-42759: Fix equality comparison of Variable and Font in Tkinter (GH-23968) (GH-24026)

Objects which belong to different Tcl interpreters are now always
different, even if they have the same name.
(cherry picked from commit 1df56bc0597a051c13d53514e120e9b6764185f8)

4 years agoBring Python into the new year. (GH-24036)
Miss Islington (bot) [Fri, 1 Jan 2021 17:28:23 +0000 (09:28 -0800)] 
Bring Python into the new year. (GH-24036)

(cherry picked from commit de6f20a6de48d63066b2cf5b317f50629f01d74a)

Co-authored-by: Dong-hee Na <donghee.na@python.org>
4 years agobpo-42794: Update test_nntplib to use offical group name for testing (GH-24037)
Miss Islington (bot) [Fri, 1 Jan 2021 14:40:18 +0000 (06:40 -0800)] 
bpo-42794: Update test_nntplib to use offical group name for testing (GH-24037)

(cherry picked from commit ec3165320e81ac87edcb85c86c452528ddbaec1c)

Co-authored-by: Dong-hee Na <donghee.na@python.org>
4 years agoFixes a typo in importlib.metadata. (GH-23921) (#24030)
Miss Islington (bot) [Thu, 31 Dec 2020 20:27:04 +0000 (12:27 -0800)] 
Fixes a typo in importlib.metadata. (GH-23921) (#24030)

Signed-off-by: Tao He <sighingnow@gmail.com>
(cherry picked from commit 3631d6deab064de0bb286ef2943885dca3c3075e)

Co-authored-by: Tao He <sighingnow@gmail.com>
Co-authored-by: Tao He <sighingnow@gmail.com>
4 years ago[3.8] bpo-41224: Add versionadded for Symbol.is_annotated (GH-23861). (GH-24016)
Andre Delfino [Thu, 31 Dec 2020 13:10:46 +0000 (10:10 -0300)] 
[3.8] bpo-41224: Add versionadded for Symbol.is_annotated (GH-23861). (GH-24016)

(cherry picked from commit 2edfc86f69d8a74f4821974678f664ff94a9dc22)

4 years agoAllow / character in username,password fields in _PROXY envvars. (GH-23973) (#23992)
Miss Islington (bot) [Tue, 29 Dec 2020 13:15:14 +0000 (05:15 -0800)] 
Allow / character in username,password fields in _PROXY envvars. (GH-23973) (#23992)

(cherry picked from commit 030a713183084594659aefd77b76fe30178e23c8)

Co-authored-by: Senthil Kumaran <senthil@uthcode.com>
4 years agobpo-42700: Swap descriptions in pyexpat.errors (GH-23876)
Miss Islington (bot) [Tue, 29 Dec 2020 12:42:05 +0000 (04:42 -0800)] 
bpo-42700: Swap descriptions in pyexpat.errors (GH-23876)

The descriptions of the `codes` and `messages` dictionaries in
`xml.parsers.expat.errors` were swapped, and this commit swaps them
back. For example, `codes` maps string descriptions of errors to numeric
error codes, not the other way around.
(cherry picked from commit 84402eb11086f97d31164aaa23e7238da3464f41)

Co-authored-by: Michael Wayne Goodman <goodman.m.w@gmail.com>
4 years ago[doc] Fix missing commas in signatures (GH-23693)
Miss Islington (bot) [Tue, 29 Dec 2020 12:28:47 +0000 (04:28 -0800)] 
[doc] Fix missing commas in signatures (GH-23693)

* Fix star in signatures

* Fix comma in signatures
(cherry picked from commit 60eccd095624f39195cc5ae0b49a59022bbbb028)

Co-authored-by: Andre Delfino <adelfino@gmail.com>
4 years agobpo-42749: Use dynamic version to test for unsupported bignum in Tk (GH-23966)
Miss Islington (bot) [Tue, 29 Dec 2020 11:16:43 +0000 (03:16 -0800)] 
bpo-42749: Use dynamic version to test for unsupported bignum in Tk (GH-23966)

Tk can internally support bignum even if Tkinter is built without
support of bignum.
(cherry picked from commit 156b7f7052102ee1633a18e9a136ad8c38f66db0)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
4 years agobpo-42770: Fix a typo in the email.headerregistry docs (GH-23982)
Miss Islington (bot) [Tue, 29 Dec 2020 04:21:43 +0000 (20:21 -0800)] 
bpo-42770: Fix a typo in the email.headerregistry docs (GH-23982)

Automerge-Triggered-By: GH:zware
(cherry picked from commit c56988b88fecf6dc70f039704fda6051a0754db1)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
4 years agobpo-42749: Fix testing bignum if Tkinter is compiled with Tk 8.4 and dynamic linked...
Miss Islington (bot) [Sun, 27 Dec 2020 08:56:40 +0000 (00:56 -0800)] 
bpo-42749: Fix testing bignum if Tkinter is compiled with Tk 8.4 and dynamic linked with Tk >= 8.5 (GH-23955) (GH-23962)

(cherry picked from commit b02ad2458bc127a7afdeef414fa68c9a7f1f32af)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
4 years ago[3.8] Rename Tkinter tests for widget options (GH-23944) (GH-23946)
Serhiy Storchaka [Sat, 26 Dec 2020 10:38:13 +0000 (12:38 +0200)] 
[3.8] Rename Tkinter tests for widget options (GH-23944) (GH-23946)

Every test for widget option starts now with "test_configure_"
to distinguish it from tests for widget commands.
(cherry picked from commit c1ae21c965cb4d0566df2095e4bcb274d0bd9353)

4 years ago[3.8] bpo-42318: Fix support of non-BMP characters in Tkinter on macOS (GH-23281...
Miss Islington (bot) [Fri, 25 Dec 2020 22:35:46 +0000 (14:35 -0800)] 
[3.8] bpo-42318: Fix support of non-BMP characters in Tkinter on macOS (GH-23281). (GH-23784) (GH-23787)

(cherry picked from commit a26215db11cfcf7b5f55cab9e91396761a0e0bcf)
(cherry picked from commit 28bf6ab61f77c69b732a211c398ac882bf3f65f4)

4 years agobpo-42734: Fix crasher bogus_code_obj.py (GH-23939)
Miss Islington (bot) [Fri, 25 Dec 2020 15:20:35 +0000 (07:20 -0800)] 
bpo-42734: Fix crasher bogus_code_obj.py (GH-23939)

It did not work because the signature of code object constructor
was changed. Also, it used old format of bytecode (pre-wordcode).
(cherry picked from commit 954a7427ba9c2d02faed32c02090caeca873aeca)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
4 years agobpo-42388: Fix subprocess.check_output input=None when text=True (GH-23467)
Miss Islington (bot) [Fri, 25 Dec 2020 05:18:13 +0000 (21:18 -0800)] 
bpo-42388: Fix subprocess.check_output input=None when text=True (GH-23467)

When the modern text= spelling of the universal_newlines= parameter was added
for Python 3.7, check_output's special case around input=None was overlooked.
So it behaved differently with universal_newlines=True vs text=True.  This
reconciles the behavior to be consistent and adds a test to guarantee it.

Also clarifies the existing check_output documentation.

Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru>
(cherry picked from commit 64abf373444944a240274a9b6d66d1cb01ecfcdd)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
4 years agocloses bpo-42726: gdb libpython: InstanceProxy support for py3 (GH-23912)
Miss Islington (bot) [Thu, 24 Dec 2020 17:34:28 +0000 (09:34 -0800)] 
closes bpo-42726: gdb libpython: InstanceProxy support for py3 (GH-23912)

On Fedora 31 gdb is using python 3.7.9, calling `proxyval` on an instance with a dictionary fails because of the `dict.iteritems` usage. This PR changes the code to be compatible with py2 and py3.

This changed seemed small enough to not need an issue and news blurb, if one is required please let me know.

Automerge-Triggered-By: GH:benjaminp
(cherry picked from commit b57ada98da0d5b0cf1ebc2c9c5502d04aa962042)

Co-authored-by: Augusto Hack <hack.augusto@gmail.com>
4 years agoBPO-42703: Fix incorrect documentation links for asyncio.Event (GH-23881)
Miss Islington (bot) [Wed, 23 Dec 2020 11:14:27 +0000 (03:14 -0800)] 
BPO-42703: Fix incorrect documentation links for asyncio.Event (GH-23881)

(cherry picked from commit d90ff376813843310a6f9ccc96551fa1521e8fef)

Co-authored-by: Matt Fowler <matt.fow@gmail.com>
4 years agobpo-42620: Improve socket.getsockname doc string (GH-23742)
Miss Islington (bot) [Wed, 23 Dec 2020 07:44:00 +0000 (23:44 -0800)] 
bpo-42620: Improve socket.getsockname doc string (GH-23742)

Signed-off-by: Christian Heimes <christian@python.org>
(cherry picked from commit cf3565ca9a7ed0f7decd000e41fa3de400986e4d)

Co-authored-by: Christian Heimes <christian@python.org>
4 years ago[3.8] [doc] Fix erroneous backslashes in signatures and names (GH-23658) (GH-23828)
Andre Delfino [Tue, 22 Dec 2020 02:56:55 +0000 (23:56 -0300)] 
[3.8] [doc] Fix erroneous backslashes in signatures and names (GH-23658) (GH-23828)

The issue being resolved is shown in the 3.10 docs (if you select docs for older versions you won't see a visual glitch).

The newer sphinx version that produces the 3.10 docs doesn't treat the backslash to escape things in some situations it previously did..
(cherry picked from commit dcc997cd28ab33ebac44182ee55533c1b37689f7)

Co-authored-by: Andre Delfino <adelfino@gmail.com>
4 years ago[3.8] [doc] Fix a few margins due to bad markup (GH-23619). (GH-23860)
Andre Delfino [Tue, 22 Dec 2020 02:55:19 +0000 (23:55 -0300)] 
[3.8] [doc] Fix a few margins due to bad markup (GH-23619). (GH-23860)

(cherry picked from commit 96a09df64483b70c4215c7025a19b9d2f1636c55)

Co-authored-by: Andre Delfino <adelfino@gmail.com>
4 years agoPost 3.8.7
Łukasz Langa [Mon, 21 Dec 2020 17:46:59 +0000 (18:46 +0100)] 
Post 3.8.7

4 years agoMerge tag 'v3.8.7' into 3.8
Łukasz Langa [Mon, 21 Dec 2020 17:46:42 +0000 (18:46 +0100)] 
Merge tag 'v3.8.7' into 3.8

Python 3.8.7

4 years agoUpdate macOS installer ReadMe for 3.8.7 and Big Sur (GH-23882)
Ned Deily [Mon, 21 Dec 2020 17:12:25 +0000 (12:12 -0500)] 
Update macOS installer ReadMe for 3.8.7 and Big Sur (GH-23882)

4 years agoPython 3.8.7 v3.8.7
Łukasz Langa [Mon, 21 Dec 2020 16:25:24 +0000 (17:25 +0100)] 
Python 3.8.7

4 years agoFix typo in docstring (GH-23515)
Miss Islington (bot) [Mon, 21 Dec 2020 14:28:47 +0000 (06:28 -0800)] 
Fix typo in docstring (GH-23515)

(cherry picked from commit 711381dfb09fbd434cc3b404656f7fd306161a64)

Co-authored-by: Fernando Toledo <42938011+fernandohtr@users.noreply.github.com>
4 years agobpo-42669: Document that `except` rejects nested tuples (GH-23822) (GH-23871)
Miss Islington (bot) [Sun, 20 Dec 2020 21:18:40 +0000 (13:18 -0800)] 
bpo-42669: Document that `except` rejects nested tuples (GH-23822) (GH-23871)

In Python 2, it was possible to use `except` with a nested tuple, and occasionally natural.  For example, `zope.formlib.interfaces.InputErrors` is a tuple of several exception classes, and one might reasonably think to do something like this:

    try:
        self.getInputValue()
        return True
    except (InputErrors, SomethingElse):
        return False

As of Python 3.0, this raises `TypeError: catching classes that do not inherit from BaseException is not allowed` instead: one must instead either break it up into multiple `except` clauses or flatten the tuple.  However, the reference documentation was never updated to match this new restriction.  Make it clear that the definition is no longer recursive.

Automerge-Triggered-By: GH:ericvsmith
(cherry picked from commit c95f8bc2700b42f4568886505a819816c9b0ba28)

Co-authored-by: Colin Watson <cjwatson@debian.org>
Co-authored-by: Colin Watson <cjwatson@debian.org>
4 years agobpo-42604: always set EXT_SUFFIX=${SOABI}${SHLIB_SUFFIX} when using configure (GH...
Miss Islington (bot) [Sun, 20 Dec 2020 03:17:42 +0000 (19:17 -0800)] 
bpo-42604: always set EXT_SUFFIX=${SOABI}${SHLIB_SUFFIX} when using configure (GH-23708)

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"). Previously only Linux, Mac and VxWorks were using a value
for "EXT_SUFFIX" that included "SOABI".

Co-authored-by: Pablo Galindo <pablogsal@gmail.com>
(cherry picked from commit a44ce6c9f725d336aea51a946b42769f29fed613)

Co-authored-by: Matti Picus <matti.picus@gmail.com>
4 years agobpo-41724: Explain when the conversion is not possible with detect_types enabled...
Miss Islington (bot) [Sun, 20 Dec 2020 00:02:58 +0000 (16:02 -0800)] 
bpo-41724: Explain when the conversion is not possible with detect_types enabled (GH-23855) (GH-23863)

* Explain when the conversion is not possible with detect_types enabled
(cherry picked from commit 09a36cdfb7c22f44df45b44e5561776206bcedfb)

Co-authored-by: sblondon <sblondon@users.noreply.github.com>
4 years ago[3.8] bpo-42630: Improve error reporting in Tkinter for absent default root (GH-23781...
Serhiy Storchaka [Sat, 19 Dec 2020 14:38:37 +0000 (16:38 +0200)] 
[3.8] bpo-42630: Improve error reporting in Tkinter for absent default root (GH-23781) (GH-23854)

* Tkinter functions and constructors which need a default root window
  raise now RuntimeError with descriptive message instead of obscure
  AttributeError or NameError if it is not created yet or cannot
  be created automatically.

* Add tests for all functions which use default root window.

* Fix import in the pynche script.

(cherry picked from commit 3d569fd6dccf9f582bafaca04d3535094cae393e)

4 years ago[3.8] bpo-17140: Document multiprocessing's ThreadPool (GH-23812) (GH-23835)
Miss Islington (bot) [Fri, 18 Dec 2020 18:37:57 +0000 (10:37 -0800)] 
[3.8] bpo-17140: Document multiprocessing's ThreadPool (GH-23812) (GH-23835)

Up until now, the `multiprocessing.pool.ThreadPool` class has gone
undocumented, despite being a public class in multiprocessing that is
included in `multiprocessing.pool.__all__`.
(cherry picked from commit 84ebcf271a2cc8bfd1762acb279502b8b6ef236e)

Co-authored-by: Matt Wozniski <mwozniski@bloomberg.net>
4 years agobpo-41891: ensure asyncio.wait_for waits for task completion (GH-22461)
Miss Islington (bot) [Fri, 18 Dec 2020 17:45:24 +0000 (09:45 -0800)] 
bpo-41891: ensure asyncio.wait_for waits for task completion (GH-22461)

(cherry picked from commit 17ef4319a34f5a2f95e7823dfb5f5b8cff11882d)

Co-authored-by: Richard Kojedzinszky <rkojedzinszky@users.noreply.github.com>
4 years agobpo-39096: Format specification documentation fixes for numeric types (GH-23575)
Miss Islington (bot) [Fri, 18 Dec 2020 09:34:24 +0000 (01:34 -0800)] 
bpo-39096: Format specification documentation fixes for numeric types (GH-23575)

(cherry picked from commit 886b2e5c7a2caf87070728dba8f18c3d65e51071)

Co-authored-by: Mark Dickinson <mdickinson@enthought.com>
4 years agobpo-26564: fix obsolete comment in traceback.c (GH-23819)
Miss Islington (bot) [Thu, 17 Dec 2020 13:19:49 +0000 (05:19 -0800)] 
bpo-26564: fix obsolete comment in traceback.c (GH-23819)

(cherry picked from commit 40125ab3252453bf205ed906e46bf9741c27bf9d)

Co-authored-by: Irit Katriel <iritkatriel@yahoo.com>
4 years agobpo-42613: Fix freeze.py config directory (GH-23792)
Miss Islington (bot) [Thu, 17 Dec 2020 11:40:26 +0000 (03:40 -0800)] 
bpo-42613: Fix freeze.py config directory (GH-23792)

Fix freeze.py tool to use the prope config and library directories.
(cherry picked from commit 1c653f17cb84d81df3a74ab0b42140d2bb68c5c4)

Co-authored-by: Victor Stinner <vstinner@python.org>
4 years agobpo-42375: subprocess DragonFlyBSD build update. (GH-23320) (GH-23389)
Miss Islington (bot) [Thu, 17 Dec 2020 11:16:00 +0000 (03:16 -0800)] 
bpo-42375: subprocess DragonFlyBSD build update. (GH-23320) (GH-23389)

Same as FreeBSD, file descriptors in /dev/fd id from 0 to 63.
(cherry picked from commit 13b865f0e17c88b081c23f7f05cf91166d220a50)

Co-authored-by: David CARLIER <devnexen@gmail.com>
Co-authored-by: David CARLIER <devnexen@gmail.com>