]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
3 years agoGH-95289: Always call uncancel() when parent cancellation is requested (GH-95602)
Miss Islington (bot) [Thu, 4 Aug 2022 14:50:54 +0000 (07:50 -0700)] 
GH-95289: Always call uncancel() when parent cancellation is requested (GH-95602)

Co-authored-by: Guido van Rossum <guido@python.org>
(cherry picked from commit 2fef27589e44c91042c2598b5cad6c6ad0516d93)

Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
3 years agogh-94936: C getters: co_varnames, co_cellvars, co_freevars (GH-95008)
Miss Islington (bot) [Thu, 4 Aug 2022 14:16:52 +0000 (07:16 -0700)] 
gh-94936: C getters: co_varnames, co_cellvars, co_freevars (GH-95008)

(cherry picked from commit 42b102bbf9a9ae6fae8f6710202fb7afeeac277c)

Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
3 years agogh-91838: Resolve HTTP links which redirect to HTTPS (GH-95642)
Miss Islington (bot) [Thu, 4 Aug 2022 13:15:11 +0000 (06:15 -0700)] 
gh-91838: Resolve HTTP links which redirect to HTTPS (GH-95642)

It updates links which redirect to HTTPS with different authority or
path.
(cherry picked from commit d0d0154443cafb2f0a2cdfb6a1267d80cce8388e)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
3 years agoRevert "[3.11] GH-92678: Expose managed dict clear and visit functions (GH-95246...
Mark Shannon [Thu, 4 Aug 2022 12:03:07 +0000 (13:03 +0100)] 
Revert "[3.11] GH-92678: Expose managed dict clear and visit functions (GH-95246). (#95256)" (#95647)

This reverts commit 7f731943393d57cf26ed5f2353e6e53084cd55fd.

3 years agoGH-92678: Fix tp_dictoffset inheritance. (GH-95596) (GH-95604)
Mark Shannon [Thu, 4 Aug 2022 11:21:38 +0000 (12:21 +0100)] 
GH-92678: Fix tp_dictoffset inheritance. (GH-95596) (GH-95604)

* Add test for inheriting explicit __dict__ and weakref.

* Restore 3.10 behavior for multiple inheritance of C extension classes that store their dictionary at the end of the struct.

3 years ago[3.11] gh-91838: Use HTTPS links in docs for resources which redirect to HTTPS (GH...
Serhiy Storchaka [Thu, 4 Aug 2022 08:45:03 +0000 (11:45 +0300)] 
[3.11] gh-91838: Use HTTPS links in docs for resources which redirect to HTTPS (GH-95527) (GH-95643)

If an HTTP link is redirected to a same looking HTTPS link, the latter can
be used directly without changes in readability and behavior.
It protects from a men-in-the-middle attack.

This change does not affect Python examples..
(cherry picked from commit f79547a429d5c90af83a0da821e082cba20d4712)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
3 years agogh-95638: Update idlelib README file and menu lists (GH-95639)
Miss Islington (bot) [Thu, 4 Aug 2022 08:01:55 +0000 (01:01 -0700)] 
gh-95638: Update idlelib README file and menu lists (GH-95639)

(cherry picked from commit 621b33ce258f3eaf154322c1edf0ead1e4892e36)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
3 years agogh-95191: IDLE Prompts entry for What's New 3.10 (GH-95633)
Miss Islington (bot) [Thu, 4 Aug 2022 02:25:36 +0000 (19:25 -0700)] 
gh-95191: IDLE Prompts entry for What's New 3.10 (GH-95633)

(cherry picked from commit bcc74d509a3bd7e4fdc658179ae6d77614d1fd36)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
3 years agogh-95191: IDLE Prompts entry for Whatnew 3.11 (GH-95632)
Miss Islington (bot) [Thu, 4 Aug 2022 01:04:07 +0000 (18:04 -0700)] 
gh-95191: IDLE Prompts entry for Whatnew 3.11 (GH-95632)

(cherry picked from commit c569526faccb328a55691664b5931171d1a1494a)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
3 years agogh-94675: Add a regression test for rjsmin re slowdown (GH-94685)
Miss Islington (bot) [Wed, 3 Aug 2022 23:45:19 +0000 (16:45 -0700)] 
gh-94675: Add a regression test for rjsmin re slowdown (GH-94685)

Adds a regression test for an re slowdown observed by rjsmin.
Uses multiprocessing to kill the test after SHORT_TIMEOUT.

Co-authored-by: Oleg Iarygin <dralife@yandex.ru>
Co-authored-by: Christian Heimes <christian@python.org>
(cherry picked from commit fe23c0061d9c72527ad57a8c965d8161b00f500e)

Co-authored-by: Miro Hrončok <miro@hroncok.cz>
3 years ago[3.11] [Enum] add whatsnew entries (GH-95455) (GH-95620)
Miss Islington (bot) [Wed, 3 Aug 2022 23:42:12 +0000 (16:42 -0700)] 
[3.11] [Enum] add whatsnew entries (GH-95455) (GH-95620)

(cherry picked from commit 6bde34000d70dfefafa71e54c8cb5672f423073c)

Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
3 years agogh-94399: Restore PATH search behaviour of py.exe launcher for '/usr/bin/env' shebang...
Miss Islington (bot) [Wed, 3 Aug 2022 22:00:46 +0000 (15:00 -0700)] 
gh-94399: Restore PATH search behaviour of py.exe launcher for '/usr/bin/env' shebang lines (GH-95582)

(cherry picked from commit 67840edb2851c6d4ca65d8389327d8a6dc06255a)

Co-authored-by: Steve Dower <steve.dower@python.org>
3 years agogh-90817: Use .. deprecated-removed:: when removal version known (GH-94960)
Miss Islington (bot) [Wed, 3 Aug 2022 21:56:16 +0000 (14:56 -0700)] 
gh-90817: Use .. deprecated-removed:: when removal version known (GH-94960)

(cherry picked from commit dc2757accd8413abfc24d7acf06d8bf233d01534)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
3 years agogh-95597: Fix typo in Lib directory files (GH-95599)
Miss Islington (bot) [Wed, 3 Aug 2022 21:43:01 +0000 (14:43 -0700)] 
gh-95597: Fix typo in Lib directory files (GH-95599)

(cherry picked from commit b53aed76d26419fc7449c358c6035c9afe055e16)

Co-authored-by: Jo, Yunjin <black33jo@gmail.com>
3 years agogh-95423: Update winreg.DeleteKeyEx documentation and remove dynamic function load...
Steve Dower [Wed, 3 Aug 2022 21:25:47 +0000 (22:25 +0100)] 
gh-95423: Update winreg.DeleteKeyEx documentation and remove dynamic function load (GH-95521)

Co-authored-by: Derek Kim <ddkim1024@gmail.com>
3 years agogh-91207: Fix CSS bug in Windows CHM help file and add deprecation message (GH-95607)
Miss Islington (bot) [Wed, 3 Aug 2022 20:43:14 +0000 (13:43 -0700)] 
gh-91207: Fix CSS bug in Windows CHM help file and add deprecation message (GH-95607)

(cherry picked from commit ac3bf6155f8addc62f9a9c48f07eef8c3a6f71b2)

Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
3 years agogh-95273: Align sqlite3 const doc refs with the devguide recommendations (GH-95525)
Miss Islington (bot) [Wed, 3 Aug 2022 20:28:38 +0000 (13:28 -0700)] 
gh-95273: Align sqlite3 const doc refs with the devguide recommendations (GH-95525)

(cherry picked from commit 4d02572f8c39b16c83c0883917db4e31efc1048e)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
3 years agogh-95609: update bundled pip to 22.2.2 (gh-95610)
Miss Islington (bot) [Wed, 3 Aug 2022 19:52:38 +0000 (12:52 -0700)] 
gh-95609: update bundled pip to 22.2.2 (gh-95610)

(cherry picked from commit 3d9d45b22cb1e90bca2901eade4b3125aeadb8c9)

Co-authored-by: Stéphane Bidoul <stephane.bidoul@gmail.com>
3 years agogh-95451: Update docs for wasm32-emscripten and -wasi platforms (GH-95452)
Miss Islington (bot) [Tue, 2 Aug 2022 19:13:07 +0000 (12:13 -0700)] 
gh-95451: Update docs for wasm32-emscripten and -wasi platforms (GH-95452)

Co-authored-by: Éric <merwok@netwok.org>
Co-authored-by: Michael Droettboom <mdboom@gmail.com>
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
(cherry picked from commit e3b6ff19aaa318a813130ba9ad2ab0a332f27feb)

Co-authored-by: Christian Heimes <christian@python.org>
3 years agogh-95233: Correct grp.getgrgid parameter name in documentation (gid -> id) (gh-95232)
Miss Islington (bot) [Tue, 2 Aug 2022 15:02:14 +0000 (08:02 -0700)] 
gh-95233: Correct grp.getgrgid parameter name in documentation (gid -> id) (gh-95232)

(cherry picked from commit df7c8b95372169fb9d23140d35f91970ba32189d)

Co-authored-by: Adam Dangoor <adamdangoor@gmail.com>
3 years ago[3.11] gh-95516: Add param types and clarify param descriptions of LogRecord (GH...
Miss Islington (bot) [Tue, 2 Aug 2022 09:54:49 +0000 (02:54 -0700)] 
[3.11] gh-95516: Add param types and clarify param descriptions of LogRecord (GH-95517) (GH-95566)

Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
3 years agogh-95191: IDLE: Include prompts when saving Shell GH-95554 (#95557)
Miss Islington (bot) [Tue, 2 Aug 2022 06:14:19 +0000 (23:14 -0700)] 
gh-95191: IDLE: Include prompts when saving Shell GH-95554 (#95557)

(cherry picked from commit b85411fc5e9e223a6bd44f89f674ee3b2e29b99e)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
3 years agogh-83270: Update IDLE's credits (GH-95528)
Miss Islington (bot) [Tue, 2 Aug 2022 04:54:28 +0000 (21:54 -0700)] 
gh-83270: Update IDLE's credits (GH-95528)

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

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
3 years agogh-92219: Clarify that some options to the installer may break the install (GH-95548)
Miss Islington (bot) [Tue, 2 Aug 2022 00:06:22 +0000 (17:06 -0700)] 
gh-92219: Clarify that some options to the installer may break the install (GH-95548)

(cherry picked from commit d2c1a9c76c001b18c14e50779b0ee41ea4ccf0b3)

Co-authored-by: Steve Dower <steve.dower@python.org>
3 years agogh-91447: Fix findtext to only give an empty string on None (GH-91486)
Miss Islington (bot) [Mon, 1 Aug 2022 21:22:33 +0000 (14:22 -0700)] 
gh-91447: Fix findtext to only give an empty string on None (GH-91486)

The API documentation for [findtext](https://docs.python.org/3/library/xml.etree.elementtree.htmlGH-xml.etree.ElementTree.Element.findtext) states that this function gives back an empty string on "no text content." With the previous implementation, this would give back a empty string even on text content values such as 0 or False. This patch attempts to resolve that by only giving back an empty string if the text attribute is set to `None`. Resolves GH-91447.

Automerge-Triggered-By: GH:gvanrossum
(cherry picked from commit a95e60db748ec6f2c19b5710c11f62e1e4d669f4)

Co-authored-by: Eugene Triguba <eugenetriguba@gmail.com>
3 years agoGH-95150: Use position and exception tables for code hashing and equality (GH-95509)
Miss Islington (bot) [Mon, 1 Aug 2022 18:33:49 +0000 (11:33 -0700)] 
GH-95150: Use position and exception tables for code hashing and equality (GH-95509)

(cherry picked from commit c7e5bbaee88a71dc6e633e3cd451ed1798436382)

Co-authored-by: Brandt Bucher <brandtbucher@gmail.com>
3 years agogh-95173: Add a regression test for sorting tuples containing None (GH-95464)
Miss Islington (bot) [Mon, 1 Aug 2022 16:29:57 +0000 (09:29 -0700)] 
gh-95173: Add a regression test for sorting tuples containing None (GH-95464)

(cherry picked from commit c0cd79021951b3ab10804d42b3963b9fb1a66be7)

Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
3 years agogh-95445: Ensure Windows msi uninstalls document folder successfully (GH-95465)
Miss Islington (bot) [Mon, 1 Aug 2022 16:07:24 +0000 (09:07 -0700)] 
gh-95445: Ensure Windows msi uninstalls document folder successfully (GH-95465)

(cherry picked from commit 7d8973870bb079bf71d094cd966d6b6336f1e25f)

Co-authored-by: neonene <53406459+neonene@users.noreply.github.com>
3 years ago[3.11] gh-95174: Add pthread stubs for WASI (GH-95234) (#95503)
Christian Heimes [Mon, 1 Aug 2022 14:37:45 +0000 (16:37 +0200)] 
[3.11] gh-95174: Add pthread stubs for WASI (GH-95234) (#95503)

Co-authored-by: Brett Cannon <brett@python.org>.
(cherry picked from commit 0fe645d6fd22a6f57e777a29e65cf9a4ff9785ae)

Co-authored-by: Christian Heimes <christian@python.org>
3 years ago[3.11] gh-95415: Make availability directive consistent (GH-95416) (GH-95438)
Christian Heimes [Mon, 1 Aug 2022 12:26:19 +0000 (14:26 +0200)] 
[3.11] gh-95415: Make availability directive consistent (GH-95416) (GH-95438)

Co-authored-by: Christian Heimes <christian@python.org>
3 years agogh-95273: Clarify when sqlite_* attributes are added to sqlite3 exceptions (GH-95523)
Miss Islington (bot) [Mon, 1 Aug 2022 09:22:09 +0000 (02:22 -0700)] 
gh-95273: Clarify when sqlite_* attributes are added to sqlite3 exceptions (GH-95523)

(cherry picked from commit 1e6b63542e4856436c5c12148a6608ef9d148b71)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
3 years agogh-95511: IDLE - fix Shell context menu copy-with-prompts bug (GH-95512)
Miss Islington (bot) [Mon, 1 Aug 2022 05:32:33 +0000 (22:32 -0700)] 
gh-95511: IDLE - fix Shell context menu copy-with-prompts bug (GH-95512)

If one selects whole lines, as the sidebar makes easy, do not
add an extra line.  Only move the end of a selection to the
beginning of the next line when not already at the beginning
of a line.  (Also improve the surrounding code.)
(cherry picked from commit fc31a13dc1799b8d972c1f4ea49f27090aed7f48)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
3 years agobpo-42037: Corrected request dependencies in CookieJar functions (GH-23112)
Miss Islington (bot) [Mon, 1 Aug 2022 02:49:47 +0000 (19:49 -0700)] 
bpo-42037: Corrected request dependencies in CookieJar functions (GH-23112)

(cherry picked from commit d29e279de38e7bc3b7deda573ba23d65831d9351)

Co-authored-by: markus-sus <73822103+markus-sus@users.noreply.github.com>
3 years agoIDLE: Fix docs URL in the About window (GH-28417)
Miss Islington (bot) [Sun, 31 Jul 2022 21:11:35 +0000 (14:11 -0700)] 
IDLE: Fix docs URL in the About window (GH-28417)

(cherry picked from commit 0f17a754d925345d67beff18897d86780436c506)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
3 years ago[3.11] gh-95174: WASI: skip missing sockets functions (GH-95179) (GH-95308)
Christian Heimes [Sun, 31 Jul 2022 16:19:32 +0000 (18:19 +0200)] 
[3.11] gh-95174: WASI: skip missing sockets functions (GH-95179) (GH-95308)

Co-authored-by: Christian Heimes <christian@python.org>
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
3 years agobpo-45445: Revert "bpo-45445: Fail if an invalid X-option is provided in the command...
Miss Islington (bot) [Sun, 31 Jul 2022 15:58:02 +0000 (08:58 -0700)] 
bpo-45445: Revert "bpo-45445: Fail if an invalid X-option is provided in the command line (GH-28823)" (GH-94745)

(cherry picked from commit aa37ffda29ac48fb2df5a7029ba2e626ecc45850)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
3 years ago[3.11] gh-95174: Handle missing dup() and constants in WASI (GH-95229) (GH-95272)
Christian Heimes [Sun, 31 Jul 2022 15:39:41 +0000 (17:39 +0200)] 
[3.11] gh-95174: Handle missing dup() and constants in WASI (GH-95229) (GH-95272)

Co-authored-by: Christian Heimes <christian@python.org>
3 years ago[3.11] gh-94635: Add Reference, How-to, and Explanation headings to sqlite3 docs...
Erlend Egeberg Aasland [Sun, 31 Jul 2022 06:48:13 +0000 (08:48 +0200)] 
[3.11] gh-94635: Add Reference, How-to, and Explanation headings to sqlite3 docs (GH-94636) (#95482)

Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>.
(cherry picked from commit 6c439b978bf55b29f21c595e9375202d63c8208d)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
* Fix refs

3 years agogh-95471: IDLE - Tweak Edit menu (GH-95481)
Miss Islington (bot) [Sun, 31 Jul 2022 01:34:04 +0000 (18:34 -0700)] 
gh-95471: IDLE - Tweak Edit menu (GH-95481)

Move `Select All` above  `Cut` as it is used with `Cut` and `Copy` but not `Paste`.  Add a separator between `Replace` and `Go to Line` to separate items that belong to the 'Edit-find' (above) and 'Edit-show' (below) IDLE github project topics.
(cherry picked from commit 53357b3ee53d767c2da5cd77f9c47117903e9a44)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
3 years agogh-90654: IDLE - Insert blank line in NEWS.txt (GH-95478)
Miss Islington (bot) [Sat, 30 Jul 2022 20:24:13 +0000 (13:24 -0700)] 
gh-90654: IDLE - Insert blank line in NEWS.txt (GH-95478)

Needed for backports.
(cherry picked from commit 9ec6abf6dc6ab622efda83a28d83d25ba129bbe2)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
3 years agogh-94938: Fix test (GH-95396)
Miss Islington (bot) [Sat, 30 Jul 2022 06:39:54 +0000 (23:39 -0700)] 
gh-94938: Fix test (GH-95396)

(cherry picked from commit 0956b6d9c44f66cc152c6afe22a3793e5b157cfd)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
3 years agogh-95411: IDLE - Enable using the module browser with .pyw files (GH-95397)
Miss Islington (bot) [Sat, 30 Jul 2022 05:09:32 +0000 (22:09 -0700)] 
gh-95411: IDLE - Enable using the module browser with .pyw files (GH-95397)

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

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
3 years agogh-95273: Relocate sqlite3 enable load extension note (GH-95430)
Miss Islington (bot) [Fri, 29 Jul 2022 19:38:12 +0000 (12:38 -0700)] 
gh-95273: Relocate sqlite3 enable load extension note (GH-95430)

(cherry picked from commit d92b19e1b500247f9a62b12b9da889b99fe333f6)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
3 years agogh-95432: Fixup sqlite3 tutorial example (GH-95431)
Miss Islington (bot) [Fri, 29 Jul 2022 12:41:46 +0000 (05:41 -0700)] 
gh-95432: Fixup sqlite3 tutorial example (GH-95431)

- the insert statement should have five placeholders, not four
- missing ... in the multiline row list
(cherry picked from commit 2fbee85931296bbeddae6358583e400ce5321f89)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
3 years agoGH-95097: fix `asyncio.run` for tasks without `uncancel` method (GH-95211) (GH-95387)
Miss Islington (bot) [Fri, 29 Jul 2022 12:38:02 +0000 (05:38 -0700)] 
GH-95097: fix `asyncio.run` for tasks without `uncancel` method (GH-95211) (GH-95387)

(cherry picked from commit 54f48844d18bc6fb98849f15a2fc08f92ad240ea)

Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Co-authored-by: Thomas Grainger <tagrain@gmail.com>
3 years agogh-95273: Improve sqlite3 class descriptions (GH-95379)
Miss Islington (bot) [Fri, 29 Jul 2022 10:02:16 +0000 (03:02 -0700)] 
gh-95273: Improve sqlite3 class descriptions (GH-95379)

Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
(cherry picked from commit e003b64f40fa28954ec967024fa811adff6cffe7)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
3 years agoGH-90081: Run python tracers at full speed (GH-95328) (#95363)
Miss Islington (bot) [Fri, 29 Jul 2022 08:43:52 +0000 (01:43 -0700)] 
GH-90081: Run python tracers at full speed (GH-95328) (#95363)

(cherry picked from commit b8b2990fb3218cffedfe7bc92e9e7ae2275b3c98)

Co-authored-by: Mark Shannon <mark@hotpy.org>
Co-authored-by: Mark Shannon <mark@hotpy.org>
3 years agogh-95273: Move sqlite3 executemany examples from reference to tutorial (GH-95351)
Miss Islington (bot) [Fri, 29 Jul 2022 07:51:20 +0000 (00:51 -0700)] 
gh-95273: Move sqlite3 executemany examples from reference to tutorial (GH-95351)

(cherry picked from commit f0bf7956e60b452208f279146f928d71eb0aa11b)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
3 years agogh-95273: Condense sqlite3 executescript example (GH-95383)
Miss Islington (bot) [Fri, 29 Jul 2022 07:48:47 +0000 (00:48 -0700)] 
gh-95273: Condense sqlite3 executescript example (GH-95383)

(cherry picked from commit e9c8de669d40d993489981be2973d1ea5bd10d0c)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
3 years agoImprove documentation for adding datetime and timedelta (gh-95403) (gh-95408)
Miss Islington (bot) [Fri, 29 Jul 2022 00:14:05 +0000 (17:14 -0700)] 
Improve documentation for adding datetime and timedelta (gh-95403) (gh-95408)

(cherry picked from commit 6e44bf9558dbcaffd78b7c4fc7f6b474388b4a9a)

Co-authored-by: BenjaminHelyer <91896754+BenjaminHelyer@users.noreply.github.com>
Co-authored-by: BenjaminHelyer <91896754+BenjaminHelyer@users.noreply.github.com>
3 years agogh-89610: Add .pyi as a recognised extension for IDLE on macOS (GH-95393)
Miss Islington (bot) [Thu, 28 Jul 2022 23:28:50 +0000 (16:28 -0700)] 
gh-89610: Add .pyi as a recognised extension for IDLE on macOS (GH-95393)

This allows opening stub files by double clicking on them in the Finder.

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

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
3 years agogh-86128: Add warning to ThreadPoolExecutor docs about atexit behaviour (GH-94008)
Miss Islington (bot) [Thu, 28 Jul 2022 22:46:45 +0000 (15:46 -0700)] 
gh-86128: Add warning to ThreadPoolExecutor docs about atexit behaviour (GH-94008)

(cherry picked from commit 7df2f4d78714707cfb30d83ca99ce84ef9934892)

Co-authored-by: [object Object] <lucas.wiman@gmail.com>
3 years agogh-95359: Fix py.exe launcher handling of per-user py.ini and command names (GH-95399)
Miss Islington (bot) [Thu, 28 Jul 2022 20:52:13 +0000 (13:52 -0700)] 
gh-95359: Fix py.exe launcher handling of per-user py.ini and command names (GH-95399)

(cherry picked from commit 38bb2068fe1f51a74b36c46e820abc5f6422cded)

Co-authored-by: Steve Dower <steve.dower@python.org>
3 years ago[3.11] Update link to faster cpython benchmarks (GH-95391) (GH-95392)
Miss Islington (bot) [Thu, 28 Jul 2022 16:31:31 +0000 (09:31 -0700)] 
[3.11] Update link to faster cpython benchmarks (GH-95391) (GH-95392)

(cherry picked from commit a1daf6e5ccd78e43ba1eb6fa8d0347e939ce8243)

Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
Automerge-Triggered-By: GH:Fidget-Spinner
3 years agogh-95369: add missing decref in error case of exception group's split (GH-95370)
Miss Islington (bot) [Thu, 28 Jul 2022 11:28:46 +0000 (04:28 -0700)] 
gh-95369: add missing decref in error case of exception group's split (GH-95370)

(cherry picked from commit bceb197947bbaebb11e01195bdce4f240fdf9332)

Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
3 years agogh-95166: cancel map waited on future on timeout (GH-95169) (GH-95364)
Miss Islington (bot) [Thu, 28 Jul 2022 10:56:21 +0000 (03:56 -0700)] 
gh-95166: cancel map waited on future on timeout (GH-95169) (GH-95364)

Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
(cherry picked from commit e16d4ed59072839b49bda4b447f260201aae7e39)

Co-authored-by: Thomas Grainger <tagrain@gmail.com>
3 years agoDocs: Fix refs & tweak wording in sqlite3 'Using shortcut methods' (#95357)
Miss Islington (bot) [Thu, 28 Jul 2022 10:32:56 +0000 (03:32 -0700)] 
Docs: Fix refs & tweak wording in sqlite3 'Using shortcut methods' (#95357)

Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
(cherry picked from commit ea269b9a380a52828d4e401fa695737bcd699398)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
3 years agogh-95355: Check tokens[0] after allocating memory (GH-95356)
Miss Islington (bot) [Thu, 28 Jul 2022 10:29:50 +0000 (03:29 -0700)] 
gh-95355: Check tokens[0] after allocating memory (GH-95356)

GH-95355

Automerge-Triggered-By: GH:pablogsal
(cherry picked from commit b946f529efb4a623ac4ad968d8091edb81ebdcdb)

Co-authored-by: Honglin Zhu <zhuhonglin.zhl@alibaba-inc.com>
3 years ago[3.11] GH-93899: fix checks for eventfd flags (GH-95170). (#95342)
Kumar Aditya [Thu, 28 Jul 2022 10:24:36 +0000 (15:54 +0530)] 
[3.11] GH-93899: fix checks for eventfd flags  (GH-95170). (#95342)

(cherry picked from commit 4dd099bafff14639ef5d2185965016d8f253353f)

Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
3 years ago[3.11] gh-94938: Fix errror detection of unexpected keyword arguments (GH-94999)...
Serhiy Storchaka [Thu, 28 Jul 2022 06:51:45 +0000 (09:51 +0300)] 
[3.11] gh-94938: Fix errror detection of unexpected keyword arguments (GH-94999) (GH-95353)

When keyword argument name is an instance of a str subclass with
overloaded methods __eq__ and __hash__, the former code could not find
the name of an extraneous keyword argument to report an error, and
_PyArg_UnpackKeywords() returned success without setting the
corresponding cell in the linearized arguments array. But since the number
of expected initialized cells is determined as the total number of passed
arguments, this lead to reading NULL as a keyword parameter value, that
caused SystemError or crash or other undesired behavior.
(cherry picked from commit ebad53a4dc1bb591820724a22cef9b8459185b5f)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
3 years agogh-95339: update bundled pip to 22.2.1 (gh-95340)
Miss Islington (bot) [Wed, 27 Jul 2022 19:11:15 +0000 (12:11 -0700)] 
gh-95339: update bundled pip to 22.2.1 (gh-95340)

(cherry picked from commit 226d02bb109d08601fbccd645e9d67aee2e5bcdc)

Co-authored-by: Stéphane Bidoul <stephane.bidoul@gmail.com>
3 years ago[3.11] gh-95324: Emit a warning if an object doesn't call PyObject_GC_UnTrack during...
Miss Islington (bot) [Wed, 27 Jul 2022 15:55:44 +0000 (08:55 -0700)] 
[3.11] gh-95324: Emit a warning if an object doesn't call PyObject_GC_UnTrack during deallocation in debug mode (GH-95325) (#95336)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
3 years agogh-95174: Move WASIX logic into wasi-env (GH-95320)
Miss Islington (bot) [Wed, 27 Jul 2022 14:11:00 +0000 (07:11 -0700)] 
gh-95174: Move WASIX logic into wasi-env (GH-95320)

wasi-env now sets WASIX flags. This allows us to control all build
parameter for wasm32-wasi buildbot from CPython repository.

Also export and improve SYSROOT parameter.
(cherry picked from commit 2833f3798dc3647e850b303a4d0fa00609a0ae9b)

Co-authored-by: Christian Heimes <christian@python.org>
3 years agogh-95273: Normalise sqlite3 reference wording (GH-95274)
Miss Islington (bot) [Wed, 27 Jul 2022 13:33:01 +0000 (06:33 -0700)] 
gh-95273: Normalise sqlite3 reference wording (GH-95274)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
(cherry picked from commit 2361908a9d5553102f2b2294af44852a76d2ab03)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
3 years agogh-94630: Fixup sqlite3 argument spec docs for connection execute* methods (GH-95319)
Miss Islington (bot) [Wed, 27 Jul 2022 12:56:07 +0000 (05:56 -0700)] 
gh-94630: Fixup sqlite3 argument spec docs for connection execute* methods (GH-95319)

(cherry picked from commit 2b37395612ece0a8c37439801087ba9e2c56702f)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
3 years agoGH-95045: gc untrack _lsprof.Profiler before deallocating it (GH-95315)
Miss Islington (bot) [Wed, 27 Jul 2022 12:37:43 +0000 (05:37 -0700)] 
GH-95045: gc untrack _lsprof.Profiler before deallocating it (GH-95315)

Automerge-Triggered-By: GH:pablogsal
(cherry picked from commit deacf391d7a1b3ab49bffa16088b3500fdb4c435)

Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
3 years ago[3.11] gh-94801: Fix regression in configure's CPPFLAGS handling (GH-95288) (GH-95297)
Christian Heimes [Wed, 27 Jul 2022 10:51:36 +0000 (12:51 +0200)] 
[3.11] gh-94801: Fix regression in configure's CPPFLAGS handling (GH-95288) (GH-95297)

(cherry picked from commit 9af7f87d763ed6e1c5f56ae40d8242ab22866b33)

Co-authored-by: Christian Heimes <christian@python.org>
3 years agogh-95041: Fail syslog.syslog in case inner call to syslog.openlog fails (GH-95264)
Miss Islington (bot) [Wed, 27 Jul 2022 10:32:02 +0000 (03:32 -0700)] 
gh-95041: Fail syslog.syslog in case inner call to syslog.openlog fails (GH-95264)

(cherry picked from commit b1f648efc56ff17e18ec2b7402d59a771b305004)

Co-authored-by: Noam Cohen <noam@noam.me>
3 years ago[3.11] gh-95085: Promote Emscripten and WASI to PEP 11 tier 3 (GH-95086) (GH-95307)
Miss Islington (bot) [Wed, 27 Jul 2022 09:16:38 +0000 (02:16 -0700)] 
[3.11] gh-95085: Promote Emscripten and WASI to PEP 11 tier 3 (GH-95086) (GH-95307)

Co-authored-by: Christian Heimes <christian@python.org>
3 years ago[3.11] gh-95280: Fix test_get_ciphers on systems without RSA key exchange (GH-95282...
Miss Islington (bot) [Wed, 27 Jul 2022 09:15:29 +0000 (02:15 -0700)] 
[3.11] gh-95280: Fix test_get_ciphers on systems without RSA key exchange (GH-95282) (GH-95310)

Co-authored-by: Christian Heimes <christian@python.org>
3 years agoFix minor docstring issues in `dataclasses.py`. (gh-93024) (GH-95286)
Miss Islington (bot) [Wed, 27 Jul 2022 08:08:21 +0000 (01:08 -0700)] 
Fix minor docstring issues in `dataclasses.py`. (gh-93024) (GH-95286)

Previously, when using `functools.wrap` around them (and inherit their docstrings), sphinx renders the docstrings badly and raises warnings about wrong indent.
(cherry picked from commit b8c528694edb7a31020116956cc4daf07a5cd97f)

Co-authored-by: Roman Novak <44512421+romanngg@users.noreply.github.com>
3 years agogh-95291: Use import helper to improve sqlite3 audit tests (GH-95292) (GH-95293)
Miss Islington (bot) [Wed, 27 Jul 2022 08:07:32 +0000 (01:07 -0700)] 
gh-95291: Use import helper to improve sqlite3 audit tests (GH-95292) (GH-95293)

Now the tests are correctly reported as skipped if sqlite3 is not available.
(cherry picked from commit 152eb90311fdf294510b5d077332580ba18c0ee4)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
3 years agogh-95285: py.exe launcher fails with short argv0 (GH-95295) (GH-95298)
Miss Islington (bot) [Wed, 27 Jul 2022 08:06:59 +0000 (01:06 -0700)] 
gh-95285: py.exe launcher fails with short argv0 (GH-95295) (GH-95298)

(cherry picked from commit 7ac5bb3e6a1cf780aea8164fdba09db993a21d6f)

Co-authored-by: Steve Dower <steve.dower@python.org>
3 years agogh-94635: Add sqlite3 'Introduction' and 'Tutorial' doc headings (GH-95269) (GH-95304)
Miss Islington (bot) [Wed, 27 Jul 2022 08:05:50 +0000 (01:05 -0700)] 
gh-94635: Add sqlite3 'Introduction' and 'Tutorial' doc headings (GH-95269) (GH-95304)

(cherry picked from commit 2e35a13e46663acf665da06267c54e66c7ecf18d)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
3 years agogh-95041: Fix several minor issues in syslog.openlog() (GH-95058) (GH-95261)
Miss Islington (bot) [Tue, 26 Jul 2022 10:21:48 +0000 (03:21 -0700)] 
gh-95041: Fix several minor issues in syslog.openlog() (GH-95058) (GH-95261)

* syslog_get_argv() swallows exceptions, but not in all cases.
* if ident is non UTF-8 encodable, syslog.openlog() fails after setting the
  global reference to ident. Now the C string saved internally in the previous
  call to openlog() points to the freed memory.
* PySys_Audit() can crash if ident is NULL.
* There may be a race condition with syslog.syslog(), because the global
  reference to ident is decrefed before setting the new value.
* Possible use of freed memory if syslog.openlog() is called while
  the GIL is released in syslog.syslog().
(cherry picked from commit 68c555a50a2b74731b0db0f4dcbf51b2c11d4853)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
3 years agogh-93351: Add news entry and what's new entry for changes in gh-93351 (GH-95175)...
Miss Islington (bot) [Tue, 26 Jul 2022 10:20:51 +0000 (03:20 -0700)] 
gh-93351: Add news entry and what's new entry for changes in gh-93351 (GH-95175) (GH-95177)

(cherry picked from commit 9762572d0aa3569ba82eeceb708ddea9f12918fd)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
3 years agogh-91810: Fix regression with writing an XML declaration with encoding='unicode'...
Miss Islington (bot) [Tue, 26 Jul 2022 10:20:33 +0000 (03:20 -0700)] 
gh-91810: Fix regression with writing an XML declaration with encoding='unicode' (GH-93426) (GH-93793)

Suppress writing an XML declaration in open files in ElementTree.write()
with encoding='unicode' and xml_declaration=None.

If file patch is passed to ElementTree.write() with encoding='unicode',
always open a new file in UTF-8.
(cherry picked from commit d7db9dc3cc5b44d0b4ce000571fecf58089a01ec)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
3 years ago[3.11] gh-95185: Check recursion depth in the AST constructor (GH-95186) (GH-95208)
Miss Islington (bot) [Tue, 26 Jul 2022 10:19:22 +0000 (03:19 -0700)] 
[3.11] gh-95185: Check recursion depth in the AST constructor (GH-95186) (GH-95208)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
(cherry picked from commit 00474472944944b346d8409cfded84bb299f601a)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
3 years agogh-95235: Add explicit parameter list to some sqlite3 methods (GH-95240) (GH-95263)
Miss Islington (bot) [Tue, 26 Jul 2022 10:17:59 +0000 (03:17 -0700)] 
gh-95235: Add explicit parameter list to some sqlite3 methods (GH-95240) (GH-95263)

Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
(cherry picked from commit 5012bedc7ca7d78b5a42bf60eef55bac263f4060)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
3 years agogh-95205: Improve WASM README.md (GH-95267) (GH-95270)
Miss Islington (bot) [Tue, 26 Jul 2022 10:17:05 +0000 (03:17 -0700)] 
gh-95205: Improve WASM README.md (GH-95267) (GH-95270)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
(cherry picked from commit e8f3e8f0ab8aa5d667229ce9694e6e1477e524fd)

Co-authored-by: Christian Heimes <christian@python.org>
3 years agogh-95051: ensure that timeouts scheduled with `asyncio.Timeout` that have already...
Miss Islington (bot) [Tue, 26 Jul 2022 10:16:12 +0000 (03:16 -0700)] 
gh-95051: ensure that timeouts scheduled with `asyncio.Timeout` that have already expired are deliverered promptly (GH-95109) (GH-95216)

Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
(cherry picked from commit 0c6f898005099be189ee65bcfda659f5fc13b802)

Co-authored-by: Thomas Grainger <tagrain@gmail.com>
3 years agoPost 3.11.0b5
Pablo Galindo [Tue, 26 Jul 2022 10:12:43 +0000 (11:12 +0100)] 
Post 3.11.0b5

3 years agoPython 3.11.0b5 v3.11.0b5
Pablo Galindo [Mon, 25 Jul 2022 22:18:57 +0000 (23:18 +0100)] 
Python 3.11.0b5

3 years ago[3.11] GH-92678: Expose managed dict clear and visit functions (GH-95246). (#95256)
Pablo Galindo Salgado [Mon, 25 Jul 2022 22:05:27 +0000 (23:05 +0100)] 
[3.11] GH-92678: Expose managed dict clear and visit functions (GH-95246). (#95256)

Co-authored-by: Mark Shannon <mark@hotpy.org>
3 years agogh-95235: Document undocumented parameters in sqlite3 functions and methods (GH-95236)
Miss Islington (bot) [Mon, 25 Jul 2022 16:55:01 +0000 (09:55 -0700)] 
gh-95235: Document undocumented parameters in sqlite3 functions and methods (GH-95236)

Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
(cherry picked from commit ac6a94c669cba8c8384a61b4304c87cc83728335)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
3 years agogh-93610: Improve docs for importlib.resources (GH-93611) (GH-95247)
Miss Islington (bot) [Mon, 25 Jul 2022 16:26:46 +0000 (09:26 -0700)] 
gh-93610: Improve docs for importlib.resources (GH-93611) (GH-95247)

(cherry picked from commit ccd7c7a0bde2587ee0e1e685f4651b50d90bd464)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
3 years ago[3.11] GH-94739: Backport GH-94958 to 3.11 (#94965)
Mark Shannon [Mon, 25 Jul 2022 11:11:06 +0000 (12:11 +0100)] 
[3.11] GH-94739: Backport GH-94958 to 3.11 (#94965)

3 years agogh-95205: Improve wasm README (GH-95206)
Miss Islington (bot) [Mon, 25 Jul 2022 09:52:47 +0000 (02:52 -0700)] 
gh-95205: Improve wasm README (GH-95206)

Co-authored-by: Christian Heimes <christian@python.org>
(cherry picked from commit 310f94871a923f6cf3dc9259e732ce2376578b26)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
3 years agogh-95087: Fix IndexError in parsing invalid date in the email module (GH-95201)
Miss Islington (bot) [Mon, 25 Jul 2022 06:40:17 +0000 (23:40 -0700)] 
gh-95087: Fix IndexError in parsing invalid date in the email module (GH-95201)

Co-authored-by: wouter bolsterlee <wouter@bolsterl.ee>
(cherry picked from commit ea5ed0ba51c10cfdde7651a475438551964dfdfc)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
3 years agogh-95212: make multiprocessing test case parallel-safe (GH-95213)
Miss Islington (bot) [Mon, 25 Jul 2022 05:11:30 +0000 (22:11 -0700)] 
gh-95212: make multiprocessing test case parallel-safe (GH-95213)

(cherry picked from commit 5956de16cd00e7e1cf5cbf3d7b4a930eaa928321)

Co-authored-by: Christian Heimes <christian@python.org>
3 years agogh-95173: Revert commit 51ed2c56a1852cd6b09c85ba81312dc9782772ce (GH-95176)
Miss Islington (bot) [Sun, 24 Jul 2022 22:01:47 +0000 (15:01 -0700)] 
gh-95173: Revert commit 51ed2c56a1852cd6b09c85ba81312dc9782772ce (GH-95176)

(cherry picked from commit 9007dec606b790c05e158e588b696f3c210c2795)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
3 years agogh-95199: upgrade bundled setuptools to 63.2.0 (gh-95200)
Miss Islington (bot) [Sun, 24 Jul 2022 11:28:24 +0000 (04:28 -0700)] 
gh-95199: upgrade bundled setuptools to 63.2.0 (gh-95200)

(cherry picked from commit 3c94d3395edbcd299cbdacd09660ed88e654eeef)

Co-authored-by: Stéphane Bidoul <stephane.bidoul@gmail.com>
3 years agogh-95194: upgrade bundled pip to 22.2 (gh-95195)
Miss Islington (bot) [Sun, 24 Jul 2022 10:22:12 +0000 (03:22 -0700)] 
gh-95194: upgrade bundled pip to 22.2 (gh-95195)

upgrade bundled pip to 22.2
(cherry picked from commit 068ffafa5465e9388a940692d1720266a1b37257)

Co-authored-by: Stéphane Bidoul <stephane.bidoul@gmail.com>
3 years agogh-95174: Handle missing waitpid and gethostbyname in WASI (GH-95181)
Miss Islington (bot) [Sun, 24 Jul 2022 06:30:39 +0000 (23:30 -0700)] 
gh-95174: Handle missing waitpid and gethostbyname in WASI (GH-95181)

(cherry picked from commit 8184f0fce3b734413e3d3a282f1425d3cb8507fd)

Co-authored-by: Christian Heimes <christian@python.org>
3 years agogh-93157: Fix fileinput didn't support `errors` in `inplace` mode (GH-95128)
Miss Islington (bot) [Sun, 24 Jul 2022 03:05:10 +0000 (20:05 -0700)] 
gh-93157: Fix fileinput didn't support `errors` in `inplace` mode (GH-95128)

(cherry picked from commit 5c7f3bcdafedd60a385e8ca5403bc6b0b7a862b3)

Co-authored-by: Inada Naoki <songofacandy@gmail.com>
3 years ago[3.11] gh-93351: Add news entry and what's new entry for changes in gh-93351 (GH...
Pablo Galindo Salgado [Sat, 23 Jul 2022 18:44:44 +0000 (19:44 +0100)] 
[3.11] gh-93351: Add news entry and what's new entry for changes in gh-93351 (GH-95175) (#95178)

(cherry picked from commit 9762572d0aa3569ba82eeceb708ddea9f12918fd)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
3 years agogh-90473: Check for HAVE_KILL in main.c:exit_sigint (GH-95165)
Miss Islington (bot) [Sat, 23 Jul 2022 11:09:10 +0000 (04:09 -0700)] 
gh-90473: Check for HAVE_KILL in main.c:exit_sigint (GH-95165)

(cherry picked from commit d291a82df33cd8c917a374fef2a2373beda78b77)

Co-authored-by: Christian Heimes <christian@python.org>
3 years agogh-90473: Fix more tests on platforms without umask (GH-95164)
Miss Islington (bot) [Sat, 23 Jul 2022 10:51:29 +0000 (03:51 -0700)] 
gh-90473: Fix more tests on platforms without umask (GH-95164)

(cherry picked from commit 68393248947adaa61962cd44e9d49c44017ba94f)

Co-authored-by: Christian Heimes <christian@python.org>
3 years agogh-89758: Track all socket module dependencies (GH-95157)
Miss Islington (bot) [Sat, 23 Jul 2022 10:03:05 +0000 (03:03 -0700)] 
gh-89758: Track all socket module dependencies (GH-95157)

(cherry picked from commit 41a5b84eaf7c52d1d4aa0a8d3d135a09f5f7190e)

Co-authored-by: Christian Heimes <christian@python.org>
3 years agoDoc: Add omitted secondary prompt in inputoutput tutorial (GH-30317)
Miss Islington (bot) [Sat, 23 Jul 2022 09:33:17 +0000 (02:33 -0700)] 
Doc: Add omitted secondary prompt in inputoutput tutorial (GH-30317)

For the continuation lines, "..." should present as secondary prompt
(cherry picked from commit de28ee8f755760fda13b481a34b1f326984d293a)

Co-authored-by: Chenwei Xiao <chanvinxiao@163.com>