]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
3 years agogh-94321: Document sqlite3.PrepareProtocol (GH-94620)
Miss Islington (bot) [Thu, 7 Jul 2022 23:09:05 +0000 (16:09 -0700)] 
gh-94321: Document sqlite3.PrepareProtocol (GH-94620)

(cherry picked from commit fb6dccae348b954d9f625031b54711a9a33da525)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
3 years agoGH-94644: fix test_curses ref leak (GH-94647)
Miss Islington (bot) [Thu, 7 Jul 2022 12:03:00 +0000 (05:03 -0700)] 
GH-94644: fix test_curses ref leak (GH-94647)

(cherry picked from commit 277f55cb04409ccdf651d43df5eb9dcb3ee3128c)

Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
3 years agogh-93910: Fix enum performance regression (GH-94614)
Miss Islington (bot) [Thu, 7 Jul 2022 12:01:09 +0000 (05:01 -0700)] 
gh-93910: Fix enum performance regression (GH-94614)

This removes the performance regression in 3.11, **at the expense of not fixing
the "bug" that allows accessing values from values** (e.g. `Color.RED.BLUE`).

Using the benchmark @markshannon [presented](https://github.com/python/cpython/issues/93910GH-issuecomment-1165503032), the results are:

| Version | Enum | Fast enum | Normal class |
| --- | --- | --- | --- |
| 3.10 | 2.04 | 0.59 | 0.56 |
| 3.11 | 2.78 | 0.31 | 0.15 |
| This PR | 1.30 | 0.32 | 0.16 |

I share this mostly as information about the source of the regression, as this may be useful. It may be that the lower-risk approach for the beta is just to revert to a previously-known working state.
(cherry picked from commit ed136b96737fdbeff864079d12904cb962c6cce5)

Co-authored-by: Michael Droettboom <mdboom@gmail.com>
3 years agogh-94215: Add reproducer for segfault in frame_setlineno() (GH-94563)
Miss Islington (bot) [Thu, 7 Jul 2022 11:17:47 +0000 (04:17 -0700)] 
gh-94215: Add reproducer for segfault in frame_setlineno() (GH-94563)

(cherry picked from commit de5884295ece094931413267973036ae8a0bca05)

Co-authored-by: Christian Heimes <christian@python.org>
3 years ago[3.11] gh-94430: Allow params named `module` or `self` with custom C names in AC...
Erlend Egeberg Aasland [Thu, 7 Jul 2022 10:12:47 +0000 (12:12 +0200)] 
[3.11] gh-94430: Allow params named `module` or `self` with custom C names in AC (GH-94431) (#94649)

(cherry picked from commit 8bbd70b4d130f060f87e3f53810dc747a49fa369)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
3 years ago[3.11] gh-92228: disable the compiler's 'small exit block inlining' optimization...
Christian Heimes [Thu, 7 Jul 2022 10:10:32 +0000 (12:10 +0200)] 
[3.11] gh-92228: disable the compiler's 'small exit block inlining' optimization for blocks that have a line number (GH-94592) (GH-94643)

Inlining of code that corresponds to source code lines, can make it hard to distinguish later between code which is only reachable from except handlers, and that which is reachable in normal control flow. This caused problems with the debugger's jump feature.

This PR turns off the inlining optimisation for code which has line numbers. We still inline things like the implicit "return None"..
(cherry picked from commit bde06e1b8381f140b296a397ddd1deb1c784ff8e)

Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
3 years ago[3.11] gh-94628: Add explicit parameter list to sqlite3.connect docs (GH-94629) ...
Erlend Egeberg Aasland [Thu, 7 Jul 2022 08:46:14 +0000 (10:46 +0200)] 
[3.11] gh-94628: Add explicit parameter list to sqlite3.connect docs (GH-94629) (#94645)

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

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
3 years agogh-94630: Update sqlite3 docs with positional-only and keyword-only symbols (GH-94631)
Miss Islington (bot) [Wed, 6 Jul 2022 23:22:10 +0000 (16:22 -0700)] 
gh-94630: Update sqlite3 docs with positional-only and keyword-only symbols (GH-94631)

(cherry picked from commit 94988603f3c934f95220f09aefffd50c0a5d3367)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
3 years agogh-94017: Improve clarity of sqlite3 transaction handling docs (GH-94320)
Miss Islington (bot) [Wed, 6 Jul 2022 21:08:13 +0000 (14:08 -0700)] 
gh-94017: Improve clarity of sqlite3 transaction handling docs (GH-94320)

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

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
3 years agoGH-93896: AAlways set event loop in asyncio.run and IsolatedAsyncioTestCase (GH-94593)
Miss Islington (bot) [Wed, 6 Jul 2022 15:48:37 +0000 (08:48 -0700)] 
GH-93896: AAlways set event loop in asyncio.run and IsolatedAsyncioTestCase (GH-94593)

(cherry picked from commit 14fea6b4d25658bc00adbb97dd40ea3d3e6843ad)

Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
3 years ago[3.11] gh-94438: in frameobject's mark_stacks switch, the PUSH_EXC_INFO and POP_EXCEP...
Irit Katriel [Wed, 6 Jul 2022 07:21:59 +0000 (08:21 +0100)] 
[3.11] gh-94438: in frameobject's mark_stacks switch, the PUSH_EXC_INFO and POP_EXCEPT cases are no longer reachable (GH-94582) (GH-94595)

(cherry picked from commit 50b9a7762f06335277d9962edc8d39498601a4e4)

Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
3 years ago[3.11] gh-94510: Raise on re-entrant calls to sys.setprofile and sys.settrace (GH...
Łukasz Langa [Tue, 5 Jul 2022 19:02:43 +0000 (21:02 +0200)] 
[3.11] gh-94510: Raise on re-entrant calls to sys.setprofile and sys.settrace (GH-94511) (GH-94578)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit 40d81fd63b46cf998880ce3bf3e5cb42bc3199c1)

3 years agogh-91330: Tests and docs for dataclass descriptor-typed fields (GH-94424) (GH-94576)
Miss Islington (bot) [Tue, 5 Jul 2022 18:44:31 +0000 (11:44 -0700)] 
gh-91330: Tests and docs for dataclass descriptor-typed fields (GH-94424) (GH-94576)

Co-authored-by: Erik De Bonte <erikd@microsoft.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit 5f319308a820f49fec66fc3ade50bbaa9fe2105d)

3 years agogh-94360: Fix a tokenizer crash when reading encoded files with syntax errors from...
Miss Islington (bot) [Tue, 5 Jul 2022 17:09:51 +0000 (10:09 -0700)] 
gh-94360: Fix a tokenizer crash when reading encoded files with syntax errors from stdin (GH-94386)

* gh-94360: Fix a tokenizer crash when reading encoded files with syntax errors from stdin

Signed-off-by: Pablo Galindo <pablogsal@gmail.com>
* nitty nit

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit 36fcde61ba48c4e918830691ecf4092e4e3b9b99)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
3 years agogh-90355: Add isolated flag if currently isolated (GH-92857) (GH-94568)
Miss Islington (bot) [Tue, 5 Jul 2022 15:54:03 +0000 (08:54 -0700)] 
gh-90355: Add isolated flag if currently isolated (GH-92857) (GH-94568)

Co-authored-by: Carter Dodd <carter.dodd@gmail.com>
Co-authored-by: Éric <merwok@netwok.org>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit c8556bcf6c0b05ac46bd74880626a2853e7c99a1)

3 years ago[3.11] gh-92897: Ensure `venv --copies` respects source build property of the creatin...
Vinay Sajip [Tue, 5 Jul 2022 15:40:17 +0000 (16:40 +0100)] 
[3.11] gh-92897: Ensure `venv --copies` respects source build property of the creating interpreter (GH-92899) (GH-94567)

(cherry picked from commit 067597522a9002f3b8aff7f46033f10acb2381e4)

Co-authored-by: Jeremy Kloth <jeremy.kloth@gmail.com>
3 years agoDocs: Convert PEP 630 (Isolating Extension Modules) to a HOWTO (GH-94489) (GH-94566)
Miss Islington (bot) [Tue, 5 Jul 2022 15:20:03 +0000 (08:20 -0700)] 
Docs: Convert PEP 630 (Isolating Extension Modules) to a HOWTO (GH-94489) (GH-94566)

Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
(cherry picked from commit e6ec6f5b50e8793172e83a9afbb05fe01f236b37)

3 years ago[3.11] bpo-46755: Don't log stack info twice in QueueHandler (GH-31355) (GH-94564)
Miss Islington (bot) [Tue, 5 Jul 2022 14:49:05 +0000 (07:49 -0700)] 
[3.11] bpo-46755: Don't log stack info twice in QueueHandler (GH-31355) (GH-94564)

Co-authored-by: Erik Montnemery <erik@montnemery.com>
3 years ago[3.11] gh-94485: Set line number of module's RESUME instruction to 0 as specified...
Łukasz Langa [Tue, 5 Jul 2022 14:01:24 +0000 (16:01 +0200)] 
[3.11] gh-94485: Set line number of module's RESUME instruction to 0 as specified by PEP 626 (GH-94552) (GH-94562)

Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
Co-authored-by: Mark Shannon <mark@hotpy.org>
(cherry picked from commit 324d01944d16868b07df9e8eef6987766a31a36d)

3 years agogh-84753: Clarify change made to `inspect` functions (GH-94554) (GH-94560)
Miss Islington (bot) [Tue, 5 Jul 2022 12:35:09 +0000 (05:35 -0700)] 
gh-84753: Clarify change made to `inspect` functions (GH-94554) (GH-94560)

(cherry picked from commit a2a3f2c541290fc8f0720d1abdc12d564b856c28)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
3 years agogh-94538: Fix Argument Clinic output to custom file (GH-94539) (GH-94555)
Miss Islington (bot) [Tue, 5 Jul 2022 12:33:59 +0000 (05:33 -0700)] 
gh-94538: Fix Argument Clinic output to custom file (GH-94539) (GH-94555)

(cherry picked from commit 2b8ed4d3d4741811da31fc774a202d535755c0a9)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
3 years agoDocs: remove redundant "adverb-adjective" hyphens from compound modifiers (GH-94551...
Miss Islington (bot) [Tue, 5 Jul 2022 12:30:19 +0000 (05:30 -0700)] 
Docs: remove redundant "adverb-adjective" hyphens from compound modifiers (GH-94551) (GH-94557)

Discussion: https://discuss.python.org/t/slight-grammar-fix-throughout-adverbs-dont-need-hyphen/17021
(cherry picked from commit 3440d197a55800ecceea3e115e44b4262411359c)

Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
3 years agogh-93626: Set the release for `__future__.annotations` to `None` (GH-93628) (GH-94553)
Miss Islington (bot) [Tue, 5 Jul 2022 09:16:32 +0000 (02:16 -0700)] 
gh-93626: Set the release for `__future__.annotations` to `None` (GH-93628) (GH-94553)

Co-authored-by: Guido van Rossum <gvanrossum@gmail.com>
(cherry picked from commit 4791a8a8357e67431cb686d9559aa419074b8e33)

Co-authored-by: KotlinIsland <65446343+KotlinIsland@users.noreply.github.com>
3 years ago[3.11] GH-94262: Don't create frame objects for frames that aren't yet complete....
Miss Islington (bot) [Mon, 4 Jul 2022 18:43:12 +0000 (11:43 -0700)] 
[3.11] GH-94262: Don't create frame objects for frames that aren't yet complete. (GH-94371) (#94482)

Co-authored-by: Mark Shannon <mark@hotpy.org>
3 years ago[3.11] Update logging documentation: change cross-reference and add webapp r… (GH...
Vinay Sajip [Mon, 4 Jul 2022 08:09:40 +0000 (09:09 +0100)] 
[3.11] Update logging documentation: change cross-reference and add webapp r… (GH-94541)

3 years agoIDLE doc: Tweek RESTART and Windows console start (GH-94530)
Miss Islington (bot) [Sun, 3 Jul 2022 17:20:48 +0000 (10:20 -0700)] 
IDLE doc: Tweek RESTART and Windows console start (GH-94530)

(cherry picked from commit 39c29f753e6d6f390dce5a36613c1e03f43d28ea)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
3 years agogh-81054: Document that SimpleHTTPRequestHandler follows symbolic links (GH-94416...
Miss Islington (bot) [Fri, 1 Jul 2022 16:41:24 +0000 (09:41 -0700)] 
gh-81054: Document that SimpleHTTPRequestHandler follows symbolic links (GH-94416) (GH-94492)

(cherry picked from commit 80aaeabb8bd1e6b49598a7e23e0f8d99b3fcecaf)

Co-authored-by: Sam Ezeh <sam.z.ezeh@gmail.com>
3 years agogh-75372: Specify major version in README for installation (GH-92759) (GH-94487)
Miss Islington (bot) [Fri, 1 Jul 2022 16:22:02 +0000 (09:22 -0700)] 
gh-75372: Specify major version in README for installation (GH-92759) (GH-94487)

(cherry picked from commit 3abda7a38a2a6803d4dbf70c6ae097ad5b59c58d)

Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
3 years agoUpdate code sample when importing modules in queue doc (GH-94244) (GH-94490)
Miss Islington (bot) [Fri, 1 Jul 2022 16:14:39 +0000 (09:14 -0700)] 
Update code sample when importing modules in queue doc (GH-94244) (GH-94490)

In the queue documentation, the code snippet shows the import to be not PEP 8 compliant.

Since people typically copy-paste from such code samples, I think it's important to show best-practices here.
(cherry picked from commit ad55147c1d5dbfc23d2ec4554f5e82c18984158c)

Co-authored-by: Mariatta Wijaya <Mariatta@users.noreply.github.com>
3 years ago[3.11] gh-93975: Provide nicer error reporting from subprocesses in test_venv.EnsureP...
Jason R. Coombs [Fri, 1 Jul 2022 15:32:56 +0000 (11:32 -0400)] 
[3.11] gh-93975: Provide nicer error reporting from subprocesses in test_venv.EnsurePipTest.test_with_pip (GH-93959) (GH-94003)

This change does three things:

1. Extract a function for trapping output in subprocesses.
2. Emit both stdout and stderr when encountering an error.
3. Apply the change to `ensurepip._uninstall` check.
(cherry picked from commit 6066f450b91f1cbebf33a245c14e660052ccd90a)

Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
3 years ago[3.11] GH-94438: Backport GH-94444 (#94486)
Mark Shannon [Fri, 1 Jul 2022 14:44:30 +0000 (15:44 +0100)] 
[3.11] GH-94438: Backport GH-94444 (#94486)

* Account for NULLs on evaluation stack when jumping lines.

3 years agogh-84461: Tool/wasm/python.html: Add subresource integrity hashes (GH-93953)
Miss Islington (bot) [Fri, 1 Jul 2022 10:17:38 +0000 (03:17 -0700)] 
gh-84461: Tool/wasm/python.html: Add subresource integrity hashes (GH-93953)

(cherry picked from commit 1df9449db24f16c9c96bdd7dc283a5062bca68e6)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
3 years agogh-84461: Improve WebAssembly in-browser demo (GH-91879)
Miss Islington (bot) [Fri, 1 Jul 2022 10:16:25 +0000 (03:16 -0700)] 
gh-84461: Improve WebAssembly in-browser demo (GH-91879)

* Buffer standard input line-by-line

* Add non-root .editorconfig for JS & HTML indent

* Add support for clearing REPL with CTRL+L

* Support unicode in stdout and stderr

* Remove \r\n normalization

* Note that local .editorconfig file extends root

* Only normalize lone \r characters (convert to \n)

* Skip non-printable characters in buffered input

* Fix Safari bug (regex lookbehind not supported)

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

Co-authored-by: Trey Hunner <trey@treyhunner.com>
3 years ago[3.11] GH-93354: Use exponential backoff to avoid excessive specialization attempts...
Mark Shannon [Thu, 30 Jun 2022 21:03:37 +0000 (22:03 +0100)] 
[3.11] GH-93354: Use exponential backoff to avoid excessive specialization attempts (GH-93355) (GH-93379)

Co-authored-by: Mark Shannon <mark@hotpy.org>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
3 years agomultiprocessing.spawn doc: Capitalize the p in "Python" (gh-94462)
Miss Islington (bot) [Thu, 30 Jun 2022 18:23:14 +0000 (11:23 -0700)] 
multiprocessing.spawn doc: Capitalize the p in "Python" (gh-94462)

(cherry picked from commit 62bb7a3b50150495e215d7bd32f633eef81b3bc2)

Co-authored-by: Mariatta Wijaya <Mariatta@users.noreply.github.com>
3 years agogh-84753: Make inspect.iscoroutinefunction() work with AsyncMock (GH-94050) (GH-94460)
Miss Islington (bot) [Thu, 30 Jun 2022 18:04:42 +0000 (11:04 -0700)] 
gh-84753: Make inspect.iscoroutinefunction() work with AsyncMock (GH-94050) (GH-94460)

The inspect version was not working with unittest.mock.AsyncMock.

The fix introduces special-casing of AsyncMock in
`inspect.iscoroutinefunction` equivalent to the one
performed in `asyncio.iscoroutinefunction`.

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit 4261b6bffc0b8bb5c6d4d80578a81b7520f4aefc)

Co-authored-by: Mehdi ABAAKOUK <sileht@sileht.net>
3 years agoGH-94398: TaskGroup: Fail create_task() during shutdown (GH-94400) (GH-94463)
Miss Islington (bot) [Thu, 30 Jun 2022 18:02:42 +0000 (11:02 -0700)] 
GH-94398: TaskGroup: Fail create_task() during shutdown (GH-94400) (GH-94463)

Once the task group is shutting down, it should not be possible to create a new task.
Here "shutting down" means `self._aborting` is set, indicating that at least one task
has failed and we have cancelled all others.

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit 594c3699492bfb007650538726d953cbed55de04)

Co-authored-by: Guido van Rossum <guido@python.org>
3 years agoxml.dom.minidom docs: fix typo (GH-93437)
Miss Islington (bot) [Thu, 30 Jun 2022 17:15:00 +0000 (10:15 -0700)] 
xml.dom.minidom docs: fix typo (GH-93437)

(cherry picked from commit 639e35108bc8b2b880225862d3571277ad57648b)

Co-authored-by: Jean-Christophe Helary <jean.christophe.helary@traduction-libre.org>
3 years agogh-93491: Fix PEP 11 tier detection for FreeBSD (GH-94441)
Miss Islington (bot) [Thu, 30 Jun 2022 16:29:46 +0000 (09:29 -0700)] 
gh-93491: Fix PEP 11 tier detection for FreeBSD (GH-94441)

(cherry picked from commit 67d208fbee119ed1bca0765a9aa779e31fea98b3)

Co-authored-by: Christian Heimes <christian@python.org>
3 years agoGH-90908: Document asyncio.TaskGroup (GH-94359) (GH-94456)
Miss Islington (bot) [Thu, 30 Jun 2022 16:27:15 +0000 (09:27 -0700)] 
GH-90908: Document asyncio.TaskGroup (GH-94359) (GH-94456)

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

Co-authored-by: Guido van Rossum <guido@python.org>
3 years agogh-91719: Reload opcode on unknown error so that C can optimize the dispatching in...
Miss Islington (bot) [Thu, 30 Jun 2022 16:11:05 +0000 (09:11 -0700)] 
gh-91719: Reload opcode on unknown error so that C can optimize the dispatching in ceval.c (GH-94364) (#94453)

(cherry picked from commit ea39b77de9fa25b447d0b4148f75f351076e890a)

Co-authored-by: neonene <53406459+neonene@users.noreply.github.com>
3 years ago[3.11] gh-89038: [doc] update dis.findlinestarts documentation for changes related...
Irit Katriel [Thu, 30 Jun 2022 15:18:30 +0000 (16:18 +0100)] 
[3.11] gh-89038: [doc] update dis.findlinestarts documentation for changes related to PEP-626 (GH-94247) (GH-94450)

(cherry picked from commit d68f2d27bbf85f3573a08fc7554889e1733a30f0)

Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
3 years agoGH-94329: Don't raise on excessive stack consumption (GH-94421) (GH-94446)
Miss Islington (bot) [Thu, 30 Jun 2022 14:53:20 +0000 (07:53 -0700)] 
GH-94329: Don't raise on excessive stack consumption (GH-94421) (GH-94446)

(cherry picked from commit b152bf448b321e3a4c0a7280e0b608840f5ac661)

3 years agogh-94332: make it safe to call assemble_free when assemble_init has not been called...
Irit Katriel [Thu, 30 Jun 2022 14:30:12 +0000 (15:30 +0100)] 
gh-94332: make it safe to call assemble_free when assemble_init has not been called (GH-94389) (GH-94442)

(cherry picked from commit be82d26570343dafc8a89be5a1a0e2f58d51a904)

3 years agogh-92336: linecache.getline should not raise exceptions on decoding errors (GH-94410)
Miss Islington (bot) [Thu, 30 Jun 2022 09:59:33 +0000 (02:59 -0700)] 
gh-92336: linecache.getline should not raise exceptions on decoding errors (GH-94410)

(cherry picked from commit 21cbdae90ffdac047d27d1b83a5442fabcf89f7c)

Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
3 years ago[3.11] GH-77403: Fix tests which fail when PYTHONUSERBASE is not normalized (GH-93917...
Miss Islington (bot) [Thu, 30 Jun 2022 09:47:16 +0000 (02:47 -0700)] 
[3.11] GH-77403: Fix tests which fail when PYTHONUSERBASE is not normalized (GH-93917) (GH-93969)

(cherry picked from commit b1ae4af5e82e7275cebcfb383690b816a388a785)

Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
Automerge-Triggered-By: GH:iritkatriel
3 years agobpo-92336: [doc] clarify that the dfile is read by the traceback display code (GH...
Miss Islington (bot) [Wed, 29 Jun 2022 20:53:42 +0000 (13:53 -0700)] 
bpo-92336: [doc] clarify that the dfile is read by the traceback display code (GH-94409)

(cherry picked from commit 68fb03249f3b17146db42b00a75718b823a2280c)

Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
3 years agoDocs: Update SyntaxError message in REPL example for list comprehension (GH-93901...
Miss Islington (bot) [Wed, 29 Jun 2022 17:22:11 +0000 (10:22 -0700)] 
Docs: Update SyntaxError message in REPL example for list comprehension (GH-93901) (GH-94425)

(cherry picked from commit 22b783aba05bcc3a21af9e5ae308ffbb98ff6a12)

Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
3 years ago[3.11] gh-94404: Use module CFLAGS before PY_STDMODULE_CFLAGS (GH-94413) (GH-94415)
Christian Heimes [Wed, 29 Jun 2022 14:22:41 +0000 (16:22 +0200)] 
[3.11] gh-94404: Use module CFLAGS before PY_STDMODULE_CFLAGS (GH-94413) (GH-94415)

``PY_STDMODULE_CFLAGS`` may contain include directories with system
headers. This can break compiling with built-in libmpdec.
Co-authored-by: Christian Heimes <christian@python.org>
3 years ago[3.11] GH-93516: Drop broken assert, fixes GH-93769 (GH-94411)
Christian Heimes [Wed, 29 Jun 2022 12:53:56 +0000 (14:53 +0200)] 
[3.11] GH-93516: Drop broken assert, fixes GH-93769 (GH-94411)

3 years ago[3.11] gh-94026: Buffer regrtest worker stdout in temporary file (GH-94253) (GH-94408)
Christian Heimes [Wed, 29 Jun 2022 11:51:25 +0000 (13:51 +0200)] 
[3.11] gh-94026: Buffer regrtest worker stdout in temporary file (GH-94253) (GH-94408)

Co-authored-by: Victor Stinner <vstinner@python.org>.
Co-authored-by: Christian Heimes <christian@python.org>
3 years agogh-94404: makesetup: use correct CFLAGS and macOS workaround (GH-94405)
Miss Islington (bot) [Wed, 29 Jun 2022 08:10:58 +0000 (01:10 -0700)] 
gh-94404: makesetup: use correct CFLAGS and macOS workaround (GH-94405)

``makesetup`` now works around an issue with sed on macOS and uses correct
CFLAGS for object files that end up in a shared extension.
(cherry picked from commit 5150cbcd6821c0cf79b81cfc8780087bbc6985da)

Co-authored-by: Christian Heimes <christian@python.org>
3 years ago[3.11] GH-93516: Backport GH-93769 (GH-94231)
Mark Shannon [Tue, 28 Jun 2022 15:30:22 +0000 (16:30 +0100)] 
[3.11] GH-93516: Backport GH-93769 (GH-94231)

* Store offset of first traceable instruction to avoid having to recompute it all the time when tracing.

3 years agogh-88116: Avoid undefined behavior when decoding varints in code objects (GH-94375)
Miss Islington (bot) [Tue, 28 Jun 2022 13:54:30 +0000 (06:54 -0700)] 
gh-88116: Avoid undefined behavior when decoding varints in code objects (GH-94375)

(cherry picked from commit c485ec014ce174bb3f5ae948151dc40e0f6d5f7f)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
3 years ago[3.11] Backport ABI regeneration script (#94376)
Pablo Galindo Salgado [Tue, 28 Jun 2022 13:33:08 +0000 (14:33 +0100)] 
[3.11] Backport ABI regeneration script (#94376)

3 years agogh-61585: Clarify import scope in modules tutorial (GH-93455) (GH-94373)
Miss Islington (bot) [Tue, 28 Jun 2022 10:29:38 +0000 (03:29 -0700)] 
gh-61585: Clarify import scope in modules tutorial (GH-93455) (GH-94373)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
(cherry picked from commit 4b854b746650214eddadb2440efd9e1544d08ccb)

3 years ago[3.11] gh-86404: [doc] Fix missing space in idle documentation. (GH-94366) (GH-94369)
Miss Islington (bot) [Tue, 28 Jun 2022 10:11:36 +0000 (03:11 -0700)] 
[3.11] gh-86404: [doc] Fix missing space in idle documentation. (GH-94366) (GH-94369)

This should have been spotted by sphinx-lint, tracked here:

https://github.com/sphinx-contrib/sphinx-lint/issues/39
(cherry picked from commit bc7f6fcdf14da32a8f7816ace800a6a91dc1554f)

Co-authored-by: Julien Palard <julien@palard.fr>
Automerge-Triggered-By: GH:JulienPalard
3 years agogh-91860: Add docs for typing.dataclass_transform field specifier params (GH-94354...
Miss Islington (bot) [Tue, 28 Jun 2022 10:10:42 +0000 (03:10 -0700)] 
gh-91860: Add docs for typing.dataclass_transform field specifier params (GH-94354) (GH-94372)

(cherry picked from commit 81ac9ac4921c57c8f31464fed575ea0cfe84df70)

Co-authored-by: Erik De Bonte <erikd@microsoft.com>
3 years agogh-94208: Add more TLS version/protocol checks for FreeBSD (GH-94347)
Miss Islington (bot) [Tue, 28 Jun 2022 07:59:57 +0000 (00:59 -0700)] 
gh-94208: Add more TLS version/protocol checks for FreeBSD (GH-94347)

Three test cases were failing on FreeBSD with latest OpenSSL.
(cherry picked from commit 1bc86c26253befa006c0f52eebb6ed633c7d1e5c)

Co-authored-by: Christian Heimes <christian@python.org>
3 years agogh-82006: IDLE doc improvements (GH-94349)
Miss Islington (bot) [Mon, 27 Jun 2022 23:24:08 +0000 (16:24 -0700)] 
gh-82006: IDLE doc improvements (GH-94349)

0. Update text start and stop conditions.
1. Title-case sections but not subsections.
2. Edit Shell Window sections: title, execute, restart.
(cherry picked from commit e6391e08bff775a3c10707fd2cfce6963e6ae429)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
3 years agogh-94315: Check for DAC override capability (GH-94316)
Miss Islington (bot) [Mon, 27 Jun 2022 18:51:45 +0000 (11:51 -0700)] 
gh-94315: Check for DAC override capability (GH-94316)

``os.geteuid() == 0`` is not a reliable check whether the current user
has the capability to bypass permission checks. Tests now probe for DAC
override.
(cherry picked from commit 7e0d98ecb3f049841de9854e7a3eca3e2638e4b2)

Co-authored-by: Christian Heimes <christian@python.org>
3 years ago[3.11] gh-90473: Reduce recursion limit on WASI even further (GH-94333) (GH-94334)
Christian Heimes [Mon, 27 Jun 2022 16:33:01 +0000 (18:33 +0200)] 
[3.11] gh-90473: Reduce recursion limit on WASI even further (GH-94333) (GH-94334)

Co-authored-by: Christian Heimes <christian@python.org>
3 years ago[3.11] gh-90005: Rename MODULE_EGG variable to MODULE_EGG_STATE (GH-94301) (GH-94317)
Christian Heimes [Mon, 27 Jun 2022 07:23:04 +0000 (09:23 +0200)] 
[3.11] gh-90005: Rename MODULE_EGG variable to MODULE_EGG_STATE (GH-94301) (GH-94317)

Co-authored-by: Christian Heimes <christian@python.org>
3 years ago[3.11] gh-84623: Remove unused imports in stdlib (#94313)
Terry Jan Reedy [Mon, 27 Jun 2022 03:54:10 +0000 (23:54 -0400)] 
[3.11] gh-84623: Remove unused imports in stdlib (#94313)

#93773

Backport only for 2 idlelib files.
Cherrypicked from  259dd71c32a42708a2800c72898e2664a33fda9c

3 years ago[3.11] gh-85023: [doc] clarify parameters vs arguments explanation in FAQ (GH-94282...
Irit Katriel [Sun, 26 Jun 2022 22:00:52 +0000 (23:00 +0100)] 
[3.11] gh-85023: [doc] clarify parameters vs arguments explanation in FAQ (GH-94282) (GH-94311)

(cherry picked from commit d71f5adc41569c2d626552269797e0545fc9122c)

Co-authored-by: Arun Mani J <49952138+arun-mani-j@users.noreply.github.com>
Co-authored-by: Arun Mani J <49952138+arun-mani-j@users.noreply.github.com>
3 years agogh-94192: Fix error for dictionary literals with invalid expression as value. (GH...
Miss Islington (bot) [Sun, 26 Jun 2022 19:07:02 +0000 (12:07 -0700)] 
gh-94192: Fix error for dictionary literals with invalid expression as value. (GH-94304)

* Fix error for dictionary literals with invalid expression as value.

* Remove trailing whitespace
(cherry picked from commit 8c237a7a71d52f996f58dc58f6b6ce558d209494)

Co-authored-by: wookie184 <wookie1840@gmail.com>
3 years ago[3.11] gh-93820: Pickle enum.Flag by name (GH-93891). (GH-94288)
Serhiy Storchaka [Sun, 26 Jun 2022 11:24:04 +0000 (14:24 +0300)] 
[3.11] gh-93820: Pickle enum.Flag by name (GH-93891). (GH-94288)

(cherry picked from commit 536985814a7116f14c9bc90aa1b3e3d36d5b2367)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
3 years agoGH-94254: Make _struct module types immutable (GH-94269)
Miss Islington (bot) [Sun, 26 Jun 2022 10:42:41 +0000 (03:42 -0700)] 
GH-94254: Make _struct module types immutable (GH-94269)

(cherry picked from commit 17ed560fcd0a1442485f9bd48884bbe412f35abc)

Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
3 years ago[3.11] [doc] fix typo in reference to tp_descr_get and tp_descr_set (GH-94140) (GH...
Irit Katriel [Sun, 26 Jun 2022 10:11:19 +0000 (11:11 +0100)] 
[3.11] [doc] fix typo in reference to tp_descr_get and tp_descr_set (GH-94140) (GH-94293)

(cherry picked from commit 32d595fdcd4be8e1f41dcfe84ccf4de89fea3c3f)

Co-authored-by: Max Bachmann <kontakt@maxbachmann.de>
Co-authored-by: Max Bachmann <kontakt@maxbachmann.de>
3 years agoRun Tools/scripts/reindent.py (GH-94225)
Miss Islington (bot) [Sun, 26 Jun 2022 08:56:55 +0000 (01:56 -0700)] 
Run Tools/scripts/reindent.py (GH-94225)

Reindent files which were not properly formatted (PEP 8: 4 spaces).

Remove also some trailing spaces.
(cherry picked from commit e87ada48a9e5d9d03f9759138869216df0d7383a)

Co-authored-by: Victor Stinner <vstinner@python.org>
3 years agogh-83499: Fix closing file descriptors in tempfile (GH-93874)
Miss Islington (bot) [Sun, 26 Jun 2022 08:38:06 +0000 (01:38 -0700)] 
gh-83499: Fix closing file descriptors in tempfile (GH-93874)

(cherry picked from commit d4792ce916b94d090b6c7bce8b0f973e840c9e4e)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
3 years agogh-70474: [doc] fix wording of GET_ANEXT doc (GH-94048)
Miss Islington (bot) [Sat, 25 Jun 2022 22:51:19 +0000 (15:51 -0700)] 
gh-70474: [doc] fix wording of GET_ANEXT doc (GH-94048)

(cherry picked from commit 9af6b75298d066e89646acf8df1704bef183a6f8)

Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
3 years agobpo-39971: Change examples to be runnable (GH-32172)
Miss Islington (bot) [Sat, 25 Jun 2022 20:59:43 +0000 (13:59 -0700)] 
bpo-39971: Change examples to be runnable (GH-32172)

(cherry picked from commit c57a1c76d71075b14f6524b4681f29a3f1e88cb2)

Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
3 years ago[3.11] gh-90016: Reword sqlite3 adapter/converter docs (GH-93095) (#94272)
Erlend Egeberg Aasland [Sat, 25 Jun 2022 20:55:17 +0000 (22:55 +0200)] 
[3.11] gh-90016: Reword sqlite3 adapter/converter docs (GH-93095) (#94272)

Also add adapters and converter recipes.

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

3 years agogh-94245: Test pickling and copying of typing.Tuple[()] (GH-94259)
Miss Islington (bot) [Sat, 25 Jun 2022 16:10:08 +0000 (09:10 -0700)] 
gh-94245: Test pickling and copying of typing.Tuple[()] (GH-94259)

(cherry picked from commit 75cb3abc3bf10c7be3b374bfb4c060c36d251411)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
3 years agogh-94207: Fix struct module leak (GH-94239) (GH-94265)
Miss Islington (bot) [Sat, 25 Jun 2022 14:40:14 +0000 (07:40 -0700)] 
gh-94207: Fix struct module leak (GH-94239) (GH-94265)

Make _struct.Struct a GC type

This fixes a memory leak in the _struct module, where as soon
as a Struct object is stored in the cache, there's a cycle from
the _struct module to the cache to Struct objects to the Struct
type back to the module. If _struct.Struct is not gc-tracked, that
cycle is never collected.

This PR makes _struct.Struct GC-tracked, and adds a regression test.
(cherry picked from commit 6b865349aae47b90f9ef0b98f3fe3720c2f05601)

Co-authored-by: Mark Dickinson <mdickinson@enthought.com>
3 years agogh-94217: Skip import tests when _testcapi is a builtin (GH-94218)
Miss Islington (bot) [Fri, 24 Jun 2022 18:54:47 +0000 (11:54 -0700)] 
gh-94217: Skip import tests when _testcapi is a builtin (GH-94218)

(cherry picked from commit 0a40025b803a8dc1d604538e317992827ab96625)

Co-authored-by: Christian Heimes <christian@python.org>
3 years agoIDLE: replace if statement with expression (GH-94228)
Miss Islington (bot) [Fri, 24 Jun 2022 17:30:32 +0000 (10:30 -0700)] 
IDLE: replace if statement with expression (GH-94228)

(cherry picked from commit 91f9947f231cce2c72a3fb7b5c8e8cf49cc2c10f)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
3 years agoDocs: Remove `Provides [...]` from `multiprocessing.shared_memory` description (GH...
Miss Islington (bot) [Fri, 24 Jun 2022 17:15:25 +0000 (10:15 -0700)] 
Docs: Remove `Provides [...]` from `multiprocessing.shared_memory` description (GH-92761)

(cherry picked from commit a91ffcf3fa15ce3884f620c799566aa734412f9d)

Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
3 years agogh-84461: Build Emscripten with WASM BigInt support (GH-94219)
Miss Islington (bot) [Fri, 24 Jun 2022 15:30:46 +0000 (08:30 -0700)] 
gh-84461: Build Emscripten with WASM BigInt support (GH-94219)

(cherry picked from commit e69306f08b9be84ccdd0a1c6601ec229c4e5b377)

Co-authored-by: Christian Heimes <christian@python.org>
3 years agogh-94205: Ensures all required DLLs are copied on Windows for underpth tests (GH...
Miss Islington (bot) [Fri, 24 Jun 2022 11:20:16 +0000 (04:20 -0700)] 
gh-94205: Ensures all required DLLs are copied on Windows for underpth tests (GH-94206)

(cherry picked from commit 51fd4de101349bbea8afa4e212489f4b87e3a99b)

Co-authored-by: Steve Dower <steve.dower@python.org>
3 years agogh-84461: Fix ctypes and test_ctypes on Emscripten (GH-94142)
Miss Islington (bot) [Fri, 24 Jun 2022 11:17:21 +0000 (04:17 -0700)] 
gh-84461: Fix ctypes and test_ctypes on Emscripten (GH-94142)

- c_longlong and c_longdouble need experimental WASM bigint.
- Skip tests that need threading
- Define ``CTYPES_MAX_ARGCOUNT`` for Emscripten. libffi-emscripten 2022-06-23 supports up to 1000 args.
(cherry picked from commit 8625802d854ec0152177a6ff0ac092e0e3ff98a5)

Co-authored-by: Christian Heimes <christian@python.org>
3 years agogh-93692: remove "build finished successfully" message from setup.py (GH-93693)
Miss Islington (bot) [Fri, 24 Jun 2022 11:02:14 +0000 (04:02 -0700)] 
gh-93692: remove "build finished successfully" message from setup.py (GH-93693)

The message was only emitted when the build succeeded _and_ there were
missing modules.
(cherry picked from commit ab077d1e17032f84514292ae3fb8dee9bcfd2ce9)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
3 years ago[Enum] Remove automatic docstring generation (GH-94188)
Miss Islington (bot) [Thu, 23 Jun 2022 21:18:20 +0000 (14:18 -0700)] 
[Enum] Remove automatic docstring generation (GH-94188)

(cherry picked from commit 28a2ccfff279867b87aa31f56bfc97cf3d6b3afe)

Co-authored-by: Sam Ezeh <sam.z.ezeh@gmail.com>
3 years ago[3.11] gh-92858: Improve error message for some suites with syntax error before ...
Pablo Galindo Salgado [Thu, 23 Jun 2022 17:38:06 +0000 (18:38 +0100)] 
[3.11] gh-92858: Improve error message for some suites with syntax error before ':' (GH-92894) (#94180)

(cherry picked from commit 2fc83ac3afa161578200dbf8d823a20e0801c0c0)

Co-authored-by: wookie184 <wookie1840@gmail.com>
Co-authored-by: wookie184 <wookie1840@gmail.com>
3 years agogh-93771: Clarify how deepfreeze.py is run (GH-94150)
Miss Islington (bot) [Thu, 23 Jun 2022 16:57:29 +0000 (09:57 -0700)] 
gh-93771: Clarify how deepfreeze.py is run (GH-94150)

(cherry picked from commit 4e796f56465f7264ddba63c8396d2649e098b617)

Co-authored-by: Guido van Rossum <guido@python.org>
3 years ago[3.11] GH-91742: Fix pdb crash after jump (GH-94171) (#94176)
Miss Islington (bot) [Thu, 23 Jun 2022 16:36:00 +0000 (09:36 -0700)] 
[3.11] GH-91742: Fix pdb crash after jump  (GH-94171) (#94176)

Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
3 years ago[3.11] gh-93382: Cache result of `PyCode_GetCode` in codeobject (GH-93383) (#93493)
Ken Jin [Thu, 23 Jun 2022 16:24:49 +0000 (00:24 +0800)] 
[3.11] gh-93382: Cache result of `PyCode_GetCode` in codeobject (GH-93383) (#93493)

Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Co-authored-by: Dennis Sweeney <36520290+sweeneyde@users.noreply.github.com>
3 years ago[Enum] fix typo (GH-94158)
Miss Islington (bot) [Thu, 23 Jun 2022 15:14:45 +0000 (08:14 -0700)] 
[Enum] fix typo (GH-94158)

(cherry picked from commit b4e0d6124a848a22df1ba12891329242c9e96f11)

Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
3 years ago[3.11] gh-84461: Fix test_sqlite for Emscripten/WASI (GH-94125) (GH-94157)
Christian Heimes [Thu, 23 Jun 2022 10:11:35 +0000 (12:11 +0200)] 
[3.11] gh-84461: Fix test_sqlite for Emscripten/WASI (GH-94125) (GH-94157)

(cherry picked from commit 15bfabd1aabb0335f33202b28f96b4e4062b3bce)

Co-authored-by: Christian Heimes <christian@python.org>
3 years ago[3.11] gh-86404: [doc] Fix missing backtick and double target name. (GH-94120) (GH...
Julien Palard [Thu, 23 Jun 2022 09:13:11 +0000 (11:13 +0200)] 
[3.11] gh-86404: [doc] Fix missing backtick and double target name. (GH-94120) (GH-94159)

(cherry picked from commit 11e865c74baa45ac9eda69f2f6af05505fc03ce5)

Co-authored-by: Julien Palard <julien@palard.fr>
3 years agogh-91456: [Enum] Deprecate default auto() behavior with mixed value types (GH-91457)
Miss Islington (bot) [Thu, 23 Jun 2022 06:46:33 +0000 (23:46 -0700)] 
gh-91456: [Enum] Deprecate default auto() behavior with mixed value types (GH-91457)

When used with plain Enum, auto() returns the last numeric value assigned, skipping any incompatible member values (such as strings); starting in 3.13 the default auto() for plain Enums will require all the values to be of compatible types, and will return a new value that is 1 higher than any existing value.

Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
(cherry picked from commit fb1e9506c14ef32d5bec126dad6fa769c8c054f6)

Co-authored-by: Oscar R <89599049+oscar-LT@users.noreply.github.com>
3 years agoCloses gh-94152: Update pyvideo.org URL (GH-94075)
Miss Islington (bot) [Thu, 23 Jun 2022 03:43:02 +0000 (20:43 -0700)] 
Closes gh-94152: Update pyvideo.org URL (GH-94075)

The URL is now https://pyvideo.org, which uses HTTPS and avoids a redirect.
(cherry picked from commit 7c439dca13435085efb2fddf9ac75e5305db7ada)

Co-authored-by: partev <petrosyan@gmail.com>
3 years agogh-84623: Remove unused imports in idlelib (GH-94143)
Miss Islington (bot) [Wed, 22 Jun 2022 22:36:47 +0000 (15:36 -0700)] 
gh-84623: Remove unused imports in idlelib (GH-94143)

Remove commented code in test_debugger_r.py.

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

Co-authored-by: Victor Stinner <vstinner@python.org>
3 years agogh-94114: Remove obsolete reference to python.org mirrors (GH-94115)
Miss Islington (bot) [Wed, 22 Jun 2022 17:05:04 +0000 (10:05 -0700)] 
gh-94114: Remove obsolete reference to python.org mirrors (GH-94115)

* gh-94114
(cherry picked from commit 8661c5053fbe3e246289d77e49a813470b3a16f7)

Co-authored-by: partev <petrosyan@gmail.com>
3 years ago[3.11] Add an error message to the ABI-dump file check (#94129)
Pablo Galindo Salgado [Wed, 22 Jun 2022 16:59:54 +0000 (17:59 +0100)] 
[3.11] Add an error message to the ABI-dump file check (#94129)

3 years ago[3.11] GH-93516: Backport GH-93769: Speedup line number checks when tracing (GH-94127)
Mark Shannon [Wed, 22 Jun 2022 15:32:02 +0000 (16:32 +0100)] 
[3.11] GH-93516: Backport GH-93769: Speedup line number checks when tracing (GH-94127)

Co-authored-by: Pablo Galindo <pablogsal@gmail.com>
3 years agogh-91172: Create a workflow for verifying bundled pip and setuptools (GH-31885) ...
Miss Islington (bot) [Wed, 22 Jun 2022 13:57:56 +0000 (06:57 -0700)] 
gh-91172: Create a workflow for verifying bundled pip and setuptools (GH-31885) (GH-94121)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
(cherry picked from commit d36954b7ead06daead3dcf9b0dd9f8002eab508f)

Co-authored-by: Illia Volochii <illia.volochii@gmail.com>
3 years agogh-93951: In test_bdb.StateTestCase.test_skip, avoid including auxiliary importers...
Miss Islington (bot) [Wed, 22 Jun 2022 12:32:30 +0000 (05:32 -0700)] 
gh-93951: In test_bdb.StateTestCase.test_skip, avoid including auxiliary importers. (GH-93962) (GH-94118)

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

Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
3 years agoFix typo in _io.TextIOWrapper Clinic input (GH-94037) (GH-94116)
Miss Islington (bot) [Wed, 22 Jun 2022 12:29:09 +0000 (05:29 -0700)] 
Fix typo in _io.TextIOWrapper Clinic input (GH-94037) (GH-94116)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit ca308c13daa722f3669a14f1613da768086beb6a)

Co-authored-by: fikotta <81991278+fikotta@users.noreply.github.com>