]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
3 years agoFix `PurePath.relative_to` links in the pathlib documentation. (GH-93268)
Miss Islington (bot) [Tue, 7 Jun 2022 19:11:10 +0000 (12:11 -0700)] 
Fix `PurePath.relative_to` links in the pathlib documentation. (GH-93268)

These are currently broken as they refer to :meth:`Path.relative_to` rather than :meth:`PurePath.relative_to`, and `relative_to` is a method on `PurePath`.
(cherry picked from commit 8ef7929baffd0038bcb38978a6a91ecc63bf0de2)

Co-authored-by: jacksonriley <52106215+jacksonriley@users.noreply.github.com>
3 years agogh-84461: Emscripten's faccessat() does not accept flags (GHß92353)
Miss Islington (bot) [Tue, 7 Jun 2022 12:28:11 +0000 (05:28 -0700)] 
gh-84461: Emscripten's faccessat() does not accept flags (GHß92353)

(cherry picked from commit 70690c7233aaad4431660a64daef81b5220e2ac1)

Co-authored-by: Christian Heimes <christian@python.org>
3 years agogh-57539: Increase calendar test coverage (GH-93468) (GH-93564)
Miss Islington (bot) [Tue, 7 Jun 2022 10:21:04 +0000 (03:21 -0700)] 
gh-57539: Increase calendar test coverage (GH-93468) (GH-93564)

(cherry picked from commit f0d0be3493fc5855eccfe0fbb3f25bf12760041f)

Co-authored-by: Sean Fleming
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
3 years agogh-88831: In docs for asyncio.create_task, explain why strong references to tasks...
Miss Islington (bot) [Tue, 7 Jun 2022 10:14:06 +0000 (03:14 -0700)] 
gh-88831: In docs for asyncio.create_task, explain why strong references to tasks are needed (GH-93258) (GH-93566)

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

Co-authored-by: Andreas Grommek <76997441+agrommek@users.noreply.github.com>
3 years agogh-86986: bump min sphinx version to 3.2 (GH-93337) (GH-93561)
Miss Islington (bot) [Tue, 7 Jun 2022 08:21:47 +0000 (01:21 -0700)] 
gh-86986: bump min sphinx version to 3.2 (GH-93337) (GH-93561)

(cherry picked from commit 57e8ee7086bf3f5c50c901e9d5896275644bbb54)

Co-authored-by: Davide Rizzo <sorcio@gmail.com>
3 years agoGrammar fix to socket error string (GH-93523) (GH-93560)
Miss Islington (bot) [Tue, 7 Jun 2022 08:10:24 +0000 (01:10 -0700)] 
Grammar fix to socket error string (GH-93523) (GH-93560)

(cherry picked from commit 890c3be8fb10bc329de06fa9d3b18dd8d90aa8b5)

Co-authored-by: Evorage <owner@evorage.com>
3 years agoFix contributor name in WhatsNew 3.11 (GH-93556)
Miss Islington (bot) [Tue, 7 Jun 2022 04:49:47 +0000 (21:49 -0700)] 
Fix contributor name in WhatsNew 3.11 (GH-93556)

(cherry picked from commit 74039330f29461ac06297b6e55c91c89e649c990)

Co-authored-by: Samodya Abeysiriwardane <379594+sransara@users.noreply.github.com>
3 years ago[docs] fix some asyncio.Barrier.wait docs grammar (GH-93552) (GH-93553)
Miss Islington (bot) [Mon, 6 Jun 2022 18:51:13 +0000 (11:51 -0700)] 
[docs] fix some asyncio.Barrier.wait docs grammar (GH-93552) (GH-93553)

(cherry picked from commit 46fde1feb5fce0f8711ff8c0e1bab317b580d387)

Co-authored-by: Thomas Grainger <tagrain@gmail.com>
3 years agoRemove action=None kwarg from Barrier docs (GH-93538) (GH-93551)
Miss Islington (bot) [Mon, 6 Jun 2022 18:10:12 +0000 (11:10 -0700)] 
Remove action=None kwarg from Barrier docs (GH-93538) (GH-93551)

(cherry picked from commit 71c8f96971ead9b09fa381392b2c2188d36b5f59)

Co-authored-by: Thomas Grainger <tagrain@gmail.com>
3 years agogh-90473: Make chmod a dummy on WASI, skip chmod tests (GH-93534) (GH-93550)
Miss Islington (bot) [Mon, 6 Jun 2022 18:09:51 +0000 (11:09 -0700)] 
gh-90473: Make chmod a dummy on WASI, skip chmod tests (GH-93534) (GH-93550)

WASI does not have the ``chmod(2)`` syscall yet.
(cherry picked from commit 22fed605e096eb74f3aa33f6d25aee76fdc2a3fa)

Co-authored-by: Christian Heimes <christian@python.org>
3 years ago[3.11] gh-90473: Skip POSIX tests that don't apply to WASI (GH-93536) (GH-93540)
Christian Heimes [Mon, 6 Jun 2022 18:09:22 +0000 (20:09 +0200)] 
[3.11] gh-90473: Skip POSIX tests that don't apply to WASI (GH-93536) (GH-93540)

(cherry picked from commit 80a39daecd9ea7cf5593d98221032f8b8fb1c485)

Co-authored-by: Christian Heimes <christian@python.org>
3 years agogh-83728: Add hmac.new default parameter deprecation (GH-91939) (GH-93544)
Miss Islington (bot) [Mon, 6 Jun 2022 17:09:51 +0000 (10:09 -0700)] 
gh-83728: Add hmac.new default parameter deprecation (GH-91939) (GH-93544)

(cherry picked from commit 56b5daf15970be449d44e91f08db84c698ac5506)

Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
3 years agoasyncio.Barrier docs: Fix typo (GH-93371)
Miss Islington (bot) [Mon, 6 Jun 2022 14:54:44 +0000 (07:54 -0700)] 
asyncio.Barrier docs: Fix typo (GH-93371)

taks -> tasks
(cherry picked from commit 8584981a5894ba79fbabbfe7e3ef37ba6f3c2f14)

Co-authored-by: Omer Katz <omer.katz@omerkatz.com>
3 years agogh-90473: WASI requires proper open(2) flags (GH-93529)
Miss Islington (bot) [Mon, 6 Jun 2022 10:32:23 +0000 (03:32 -0700)] 
gh-90473: WASI requires proper open(2) flags (GH-93529)

(cherry picked from commit 4c71d22c4f9fdde6f2234e7dc6a862419cd6fd98)

Co-authored-by: Christian Heimes <christian@python.org>
3 years agogh-93247: Fix assert function in asyncio locks test (GH-93248)
Miss Islington (bot) [Mon, 6 Jun 2022 01:47:07 +0000 (18:47 -0700)] 
gh-93247: Fix assert function in asyncio locks test (GH-93248)

(cherry picked from commit 9081bbd036934ab435291db9d32d02fd42282951)

Co-authored-by: Cyker Way <cykerway@gmail.com>
3 years agogh-89973: Fix re.error in the fnmatch module. (GH-93072)
Miss Islington (bot) [Sun, 5 Jun 2022 09:39:11 +0000 (02:39 -0700)] 
gh-89973: Fix re.error in the fnmatch module. (GH-93072)

Character ranges with upper bound less that lower bound (e.g. [c-a])
are now interpreted as empty ranges, for compatibility with other glob
pattern implementations. Previously it was re.error.
(cherry picked from commit 0902c3d8edf7ef67972dd95f6a21670f5d1a4251)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
3 years agogh-90473: wasmtime does not support absolute symlinks (GH-93490)
Miss Islington (bot) [Sun, 5 Jun 2022 08:26:38 +0000 (01:26 -0700)] 
gh-90473: wasmtime does not support absolute symlinks (GH-93490)

(cherry picked from commit 6f8367d3489eff07139bc908fdf666fc904ca445)

Co-authored-by: Christian Heimes <christian@python.org>
3 years agogh-93442: Add test for _Py_CAST(nullptr). (gh-93505) (gh-93509)
Miss Islington (bot) [Sun, 5 Jun 2022 06:47:12 +0000 (23:47 -0700)] 
gh-93442: Add test for _Py_CAST(nullptr). (gh-93505) (gh-93509)

(cherry picked from commit 713eb184b50f2b8b138fb01187ee32fa29a815c9)

Co-authored-by: Neil Schemenauer <nas-github@arctrix.com>
Co-authored-by: Neil Schemenauer <nas-github@arctrix.com>
3 years agogh-93442: Make C++ version of _Py_CAST work with 0/NULL. (GH-93500) (gh-93507)
Miss Islington (bot) [Sun, 5 Jun 2022 05:15:59 +0000 (22:15 -0700)] 
gh-93442: Make C++ version of _Py_CAST work with 0/NULL. (GH-93500) (gh-93507)

Add C++ overloads for _Py_CAST_impl() to handle 0/NULL.  This will allow
C++ extensions that pass 0 or NULL to macros using _Py_CAST() to
continue to compile.  Without this, you get an error like:

    invalid ‘static_cast’ from type ‘int’ to type ‘_object*’

The modern way to use a NULL value in C++ is to use nullptr.  However,
we want to not break extensions that do things the old way.

Co-authored-by: serge-sans-paille
(cherry picked from commit 8bcc3fa3453e28511d04eaa0aa7d8e1a3495d518)

Co-authored-by: Neil Schemenauer <nas-github@arctrix.com>
Co-authored-by: Neil Schemenauer <nas-github@arctrix.com>
3 years agoFix missing word in sys.float_info docstring (GH-93489) (GH-93495)
Miss Islington (bot) [Sat, 4 Jun 2022 19:23:53 +0000 (12:23 -0700)] 
Fix missing word in sys.float_info docstring (GH-93489) (GH-93495)

(cherry picked from commit e12f34b6d8200508bd50cdc9c6c5637732ff56e7)

Co-authored-by: Mark Dickinson <dickinsm@gmail.com>
Co-authored-by: Mark Dickinson <dickinsm@gmail.com>
3 years agogh-92886: Fix test that fails when running with `-O` in `test_imaplib.py` (GH-93237)
Miss Islington (bot) [Sat, 4 Jun 2022 03:38:16 +0000 (20:38 -0700)] 
gh-92886: Fix test that fails when running with `-O` in `test_imaplib.py` (GH-93237)

(cherry picked from commit 8150b8cf7fe09d601246f5bdc6456a0e31f31bca)

Co-authored-by: jackh-ncl <1750152+jackh-ncl@users.noreply.github.com>
3 years agogh-93156 - fix negative indexing into absolute `pathlib.PurePath().parents` (GH-93273)
Miss Islington (bot) [Fri, 3 Jun 2022 21:57:54 +0000 (14:57 -0700)] 
gh-93156 - fix negative indexing into absolute `pathlib.PurePath().parents` (GH-93273)

When a `_PathParents` object has a drive or a root, the length of the
object is *one less* than than the length of `self._parts`, which resulted
in an off-by-one error when `path.parents[-n]` was fed through to
`self._parts[:-n - 1]`. In particular, `path.parents[-1]` was a malformed
path object with spooky properties.

This is addressed by adding `len(self)` to negative indices.
(cherry picked from commit f32e6b48d12834ba3bde01ec21c14da33abd26d6)

Co-authored-by: Barney Gale <barney.gale@gmail.com>
3 years agogh-84461: Skip dtrace/network tests that are enabled by -u all (GH-93473)
Miss Islington (bot) [Fri, 3 Jun 2022 20:40:20 +0000 (13:40 -0700)] 
gh-84461: Skip dtrace/network tests that are enabled by -u all (GH-93473)

(cherry picked from commit 1a8a0ddb1c62ef9aff598e7e3e3a65cf35353932)

Co-authored-by: Christian Heimes <christian@python.org>
3 years ago[3.11] gh-68966: Make mailcap refuse to match unsafe filenames/types/params (GH-91993...
Miss Islington (bot) [Fri, 3 Jun 2022 15:25:58 +0000 (08:25 -0700)] 
[3.11] gh-68966: Make mailcap refuse to match unsafe filenames/types/params (GH-91993) (GH-93458)

(cherry picked from commit b9509ba7a9c668b984dab876c7926fe1dc5aa0ba)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
Automerge-Triggered-By: GH:encukou
3 years agotest.pythoninfo: Fix typo, Py_REF_DEBUG => Py_TRACE_REFS (GH-93467)
Miss Islington (bot) [Fri, 3 Jun 2022 14:18:49 +0000 (07:18 -0700)] 
test.pythoninfo: Fix typo, Py_REF_DEBUG => Py_TRACE_REFS (GH-93467)

(cherry picked from commit d8f40ead92b5a973cff3a30482a7659d3b46b1ba)

Co-authored-by: Victor Stinner <vstinner@python.org>
3 years ago[3.11] gh-93433: Fix dis doc example output (GH-93434) (GH-93460)
Ken Jin [Fri, 3 Jun 2022 13:26:43 +0000 (21:26 +0800)] 
[3.11] gh-93433: Fix dis doc example output (GH-93434) (GH-93460)

(cherry picked from commit debf4c1ec5f0bae44d50f889b8a7dc0c3ea1fc9d)

3 years agogh-90473: Skip and document more failing tests on WASI (GH-93436)
Miss Islington (bot) [Fri, 3 Jun 2022 06:50:44 +0000 (23:50 -0700)] 
gh-90473: Skip and document more failing tests on WASI (GH-93436)

- Mark more ``umask()`` cases
- ``dup()`` is not supported
- ``/dev/null`` is not available
- document missing features
- mark more modules as not available
(cherry picked from commit 069c96f84ccd302436be180c8628289cc0efa977)

Co-authored-by: Christian Heimes <christian@python.org>
3 years agogh-92932: dis._unpack_opargs should handle EXTENDED_ARG_QUICK (gh-92945)
Miss Islington (bot) [Fri, 3 Jun 2022 03:02:55 +0000 (20:02 -0700)] 
gh-92932: dis._unpack_opargs should handle EXTENDED_ARG_QUICK (gh-92945)

(cherry picked from commit b013804134b07894205b06744628f6b25b879d85)

Co-authored-by: Dong-hee Na <donghee.na@python.org>
3 years agogh-93418: Fix an assert when an f-string expression is followed by an '=', but no...
Miss Islington (bot) [Thu, 2 Jun 2022 01:04:27 +0000 (18:04 -0700)] 
gh-93418: Fix an assert when an f-string expression is followed by an '=', but no closing brace. (gh-93419) (gh-93422)

(cherry picked from commit ee70c70aa93d7a41cbe47a0b361b17f9d7ec8acd)

Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com>
Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com>
3 years agoPost 3.11.0b3
Pablo Galindo [Wed, 1 Jun 2022 15:28:12 +0000 (16:28 +0100)] 
Post 3.11.0b3

3 years agoPython 3.11.0b3 v3.11.0b3
Pablo Galindo [Wed, 1 Jun 2022 13:06:32 +0000 (14:06 +0100)] 
Python 3.11.0b3

3 years agogh-92597: Improve error message for AST nodes with invalid ranges (GH-93398) (GH...
Miss Islington (bot) [Wed, 1 Jun 2022 13:05:40 +0000 (06:05 -0700)] 
gh-92597: Improve error message for AST nodes with invalid ranges (GH-93398) (GH-93414)

(cherry picked from commit 8a221a853787c18d5acaf46f5c449d28339cde21)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
3 years agoRemove the execution bit to some socket-related files. (GH-93368)
Miss Islington (bot) [Wed, 1 Jun 2022 07:35:15 +0000 (00:35 -0700)] 
Remove the execution bit to some socket-related files. (GH-93368)

(cherry picked from commit 5247389369ac3da35c44f7c0d8f4facc0300883a)

Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
3 years agogh-93345: Fix a crash in substitution of nested TypeVar after TypeVarTuple (GH-93346)
Miss Islington (bot) [Wed, 1 Jun 2022 06:43:38 +0000 (23:43 -0700)] 
gh-93345: Fix a crash in substitution of nested TypeVar after TypeVarTuple (GH-93346)

For example: tuple[*Ts, list[T]][int, str, bool]
(cherry picked from commit f545fc955aeb701ae4e73b07ff2283f823d857b8)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
3 years ago[3.11] gh-91162: Fix substitution of unpacked tuples in generic aliases (GH-92335...
Miss Islington (bot) [Wed, 1 Jun 2022 02:13:27 +0000 (19:13 -0700)] 
[3.11] gh-91162: Fix substitution of unpacked tuples in generic aliases (GH-92335) (#92484)

* gh-91162: Fix substitution of unpacked tuples in generic aliases (GH-92335)
(cherry picked from commit 9d25db9db1617f012d7dba118b5b8f2b9e25e116)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* Regenerate ABI file

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Pablo Galindo <pablogsal@gmail.com>
3 years agogh-92597: Ensure that AST nodes without explicit end positions can be compiled (GH...
Miss Islington (bot) [Tue, 31 May 2022 23:26:16 +0000 (16:26 -0700)] 
gh-92597: Ensure that AST nodes without explicit end positions can be compiled (GH-93359)

(cherry picked from commit 705eaec28f7bee530b1c1635ba385a49a1feaf32)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
3 years agogh-69093: Fix Setup.local.in rule for _sqlite3 (GH-93380)
Miss Islington (bot) [Tue, 31 May 2022 19:53:27 +0000 (12:53 -0700)] 
gh-69093: Fix Setup.local.in rule for _sqlite3 (GH-93380)

(cherry picked from commit 8a5e3c2ec6254b2ce06d17545f58a6719e0c8fdb)

Co-authored-by: Christian Heimes <christian@python.org>
3 years agoRemove VOC reference (93333)
Miss Islington (bot) [Tue, 31 May 2022 17:46:37 +0000 (10:46 -0700)] 
Remove VOC reference (93333)

VOC has been archived by the BeeWare project, and they are instead
embedding CPython, rather than transpiling to Java bytecode.
(cherry picked from commit bb900712a5511ba82ef64105fe28d2a6886a8fed)

Co-authored-by: Carl Bordum Hansen <carl@bordum.dk>
3 years agoPost 3.11.0b2
Pablo Galindo [Tue, 31 May 2022 13:16:08 +0000 (14:16 +0100)] 
Post 3.11.0b2

3 years agoPython 3.11.0b2 v3.11.0b2
Pablo Galindo [Mon, 30 May 2022 21:16:21 +0000 (22:16 +0100)] 
Python 3.11.0b2

3 years agogh-93351: Ensure the position information in AST nodes created by the parser is alway...
Miss Islington (bot) [Mon, 30 May 2022 18:52:36 +0000 (11:52 -0700)] 
gh-93351: Ensure the position information in AST nodes created by the parser is always consistent (GH-93352)

(cherry picked from commit 5893b5db98b38b17750c0572c7209774a5034898)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
3 years agoUpdate macOS installer Welcome and ReadMe display wording to "beta". (GH-93344)
Ned Deily [Mon, 30 May 2022 05:15:05 +0000 (01:15 -0400)] 
Update macOS installer Welcome and ReadMe display wording to "beta". (GH-93344)

3 years agoFix typo in Lib/idlelib/idle_test/test_parenmatch.py (GH-93332) (#93339)
Miss Islington (bot) [Mon, 30 May 2022 03:02:23 +0000 (20:02 -0700)] 
Fix typo in Lib/idlelib/idle_test/test_parenmatch.py (GH-93332) (#93339)

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

Co-authored-by: luzpaz <luzpaz@users.noreply.github.com>
3 years agobpo-42272: fix misleading warning filter message/module docs (GH-23172)
Miss Islington (bot) [Mon, 30 May 2022 02:04:21 +0000 (19:04 -0700)] 
bpo-42272: fix misleading warning filter message/module docs (GH-23172)

* bpo-42272: improve message/module warning filter docs

"The Warnings Filter" section of the warnings module documentation
describes the message and module filters as "a string containing a
regular expression".  While that is true when they are arguments to the
filterwarnings function, it is not true when they appear in -W or
$PYTHONWARNINGS where they are matched literally (after stripping any
starting/ending whitespace).  Update the documentation to note when they
are matched literally.  Also clarify that module matches the
"fully-qualified module name", rather than "module name" which is
ambiguous.

skip news (since this is a doc fix)

Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
* bpo-42272: remove bad submodule warning filter doc

The `error:::mymodule[.*]` example in the "Describing Warning Filters"
section of the warnings module documentation does not behave as the
comment describes.  Since the module portion of the filter string is
interpreted literally, it would match a module with a fully-qualified
name that is literally `mymodule[.*]`.

Unfortunately, there is not a way to match '"module" and any subpackages
of "mymodule"' as documented, since the module part of a filter string
is matched literally.  Instead, update the filter and comment to match
only "mymodule".

skip news (since this is a doc fix)

Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
* bpo-42272: add warning filter doc changes to NEWS

Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
(cherry picked from commit 8136606769661c103c46d142e52ecbbbb88803f6)

Co-authored-by: Kevin Locke <kevin@kevinlocke.name>
3 years agogh-92240 : Include release dates for "What's New In Python 3.X" (GH-92937)
Miss Islington (bot) [Sun, 29 May 2022 03:38:48 +0000 (20:38 -0700)] 
gh-92240 : Include release dates for "What's New In Python 3.X" (GH-92937)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
(cherry picked from commit 877ad7b3b2778a305d3989d58ebd68cb01baf26e)

Co-authored-by: georgically <40323509+georgically@users.noreply.github.com>
3 years agogh-92839: fixed typo in _bisectmodule.c (line 131) (GH-92849)
Miss Islington (bot) [Sat, 28 May 2022 18:31:06 +0000 (11:31 -0700)] 
gh-92839: fixed typo in _bisectmodule.c (line 131) (GH-92849)

(cherry picked from commit 7fa9b7daa5a8bb5760724ac2d94f5298c60dc905)

Co-authored-by: oda-gitso <105083118+oda-gitso@users.noreply.github.com>
3 years agogh-92727: Add example of named group in doc for re.Match.__getitem__ (GH-92730)
Miss Islington (bot) [Sat, 28 May 2022 18:28:52 +0000 (11:28 -0700)] 
gh-92727: Add example of named group in doc for re.Match.__getitem__ (GH-92730)

(cherry picked from commit 642d1fa81fed8ac260e1719013d77b9dfd93920f)

Co-authored-by: Baptiste Mispelon <bmispelon@gmail.com>
3 years ago[3.11] bpo-40514: Drop EXPERIMENTAL_ISOLATED_SUBINTERPRETERS (gh-93185) (GH-93306)
Eric Snow [Sat, 28 May 2022 00:56:30 +0000 (18:56 -0600)] 
[3.11] bpo-40514: Drop EXPERIMENTAL_ISOLATED_SUBINTERPRETERS (gh-93185) (GH-93306)

(cherry picked from commit caa279d6fd5f151e57f891cd4f6ba51b532501c6)

This was added for bpo-40514 (gh-84694) to test out a per-interpreter GIL.  However, it has since proven unnecessary to keep the experiment in the repo.  (It can be done as a branch in a fork like normal.)  So here we are removing:

* the configure option
* the macro
* the code enabled by the macro

Automerge-Triggered-By: GH:ericsnowcurrently
3 years agogh-93297: Make asyncio task groups prevent child tasks from being GCed (GH-93299...
Miss Islington (bot) [Fri, 27 May 2022 22:46:57 +0000 (15:46 -0700)] 
gh-93297: Make asyncio task groups prevent child tasks from being GCed (GH-93299) (#93305)

(cherry picked from commit e6a57678cafe18ca132ee9510252168fcc392a8d)

Co-authored-by: Yury Selivanov <yury@edgedb.com>
Co-authored-by: Yury Selivanov <yury@edgedb.com>
3 years agogh-93250: [Enum] Change IntEnum boundary to KEEP for backwards compatibility (GH...
Miss Islington (bot) [Fri, 27 May 2022 22:43:13 +0000 (15:43 -0700)] 
gh-93250: [Enum] Change IntEnum boundary to KEEP for backwards compatibility (GH-93302) (GH-93304)

In previous versions of Python if an IntEnum member was combined with another integer type value using a bit-wise operation, the resulting value would still be the IntEnum type.  This change restores that behavior.
(cherry picked from commit 70cfe56cafb2b549983f63d5d1a54654fe63c15c)

Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
3 years agogh-91243: Document Required and NotRequired (GH-93173)
Miss Islington (bot) [Fri, 27 May 2022 22:25:50 +0000 (15:25 -0700)] 
gh-91243: Document Required and NotRequired (GH-93173)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
(cherry picked from commit 711eda7dec1f62ecb2a87b274b5f6bfc2b6fbef4)

Co-authored-by: David Foster <david@dafoster.net>
3 years agogh-77024: test.support: Improve documentation (GH-92513)
Miss Islington (bot) [Fri, 27 May 2022 14:31:35 +0000 (07:31 -0700)] 
gh-77024: test.support: Improve documentation (GH-92513)

This is a rework of GH-5774 on current main. I was a bit more
conservative in making changes than the original PR.

See @csabella's comments on issue GH-77024 and the discussion
on GH-5774 for explanations of several of the changes.

Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
(cherry picked from commit 8995177030c8b41885ad92b260279b7e622ecaea)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
3 years agogh-92898: Enhance _testcppext test on cast to PyObject* (GH-93111)
Miss Islington (bot) [Thu, 26 May 2022 23:39:28 +0000 (16:39 -0700)] 
gh-92898: Enhance _testcppext test on cast to PyObject* (GH-93111)

* Add StrongRef class.
* Rename and reformat functions of the _Py_CAST() implementation.
(cherry picked from commit 20d30ba2ccf9182e4f08db112f428c909148a40b)

Co-authored-by: Victor Stinner <vstinner@python.org>
3 years agogh-93217: fix some issues in man page and --help (GH-93219)
Miss Islington (bot) [Thu, 26 May 2022 14:53:20 +0000 (07:53 -0700)] 
gh-93217: fix some issues in man page and --help (GH-93219)

(cherry picked from commit da397194832c4b8db8446af42919d8ad47b3cb4a)

Co-authored-by: Éric <merwok@netwok.org>
3 years agotest.pythoninfo logs more build info (GH-93225)
Miss Islington (bot) [Thu, 26 May 2022 14:33:50 +0000 (07:33 -0700)] 
test.pythoninfo logs more build info (GH-93225)

Log also test.support.check_sanitizer() values.
(cherry picked from commit 06dd26f89f35b6d6ef4b68c169cb6c675af7e4a4)

Co-authored-by: Victor Stinner <vstinner@python.org>
3 years agogh-93005: Fix py.exe launcher test to search for intended tag (GH-93190)
Miss Islington (bot) [Wed, 25 May 2022 22:29:36 +0000 (15:29 -0700)] 
gh-93005: Fix py.exe launcher test to search for intended tag (GH-93190)

(cherry picked from commit ca58e4a2c596d1b4cdcae9ec92844d3d3272c4ce)

Co-authored-by: Steve Dower <steve.dower@python.org>
3 years agogh-90817: Deprecate explicitly locale.resetlocale() (GH-93196)
Miss Islington (bot) [Wed, 25 May 2022 20:29:58 +0000 (13:29 -0700)] 
gh-90817: Deprecate explicitly locale.resetlocale() (GH-93196)

The function was already deprecated in Python 3.11 since it calls
locale.getdefaultlocale() which was deprecated in Python 3.11.
(cherry picked from commit bf58cd01b313837511d9399f18588ccd2e5dc5a9)

Co-authored-by: Victor Stinner <vstinner@python.org>
3 years ago[3.11] gh-93035: [Enum] Fix IntFlag crash when no single-bit members (GH-93076) ...
Miss Islington (bot) [Wed, 25 May 2022 17:50:24 +0000 (10:50 -0700)] 
[3.11] gh-93035: [Enum] Fix IntFlag crash when no single-bit members (GH-93076) (GH-93197)

`EnumType` attempts to create a custom docstring for each enum/flag, but that was failing with pathological flags that had no members (only multi-bit aliases).
(cherry picked from commit 08cfc3dabf0f81a4494cd0d697befc7d0dec77b7)

Co-authored-by: Tobin Yehle <tobinyehle@gmail.com>
3 years agogh-90473: Misc test fixes for WASI (GH-93218)
Miss Islington (bot) [Wed, 25 May 2022 14:24:32 +0000 (07:24 -0700)] 
gh-90473: Misc test fixes for WASI (GH-93218)

* ``sys.executable`` is not set
* WASI does not support subprocess
* ``pwd`` module is not available
* WASI checks ``open`` syscall flags more strict, needs r, w, rw flag.
* ``umask`` is not available
* ``/dev/null`` may not be accessible
(cherry picked from commit 1f134e96ba994bea3aaea533d4a558df3c5cc3c0)

Co-authored-by: Christian Heimes <christian@python.org>
3 years agogh-91924: Fix __lltrace__ for non-UTF-8 stdout encoding (GH-93199)
Miss Islington (bot) [Wed, 25 May 2022 10:11:46 +0000 (03:11 -0700)] 
gh-91924: Fix __lltrace__ for non-UTF-8 stdout encoding (GH-93199)

Fix __lltrace__ debug feature if the stdout encoding is not UTF-8.

If the stdout encoding is not UTF-8, the first call to
lltrace_resume_frame() indirectly sets lltrace to 0 when calling
unicode_check_encoding_errors() which calls
encodings.search_function().
(cherry picked from commit 5695c0e0a25da58dfc1d22fc1cd68c2fda0a320d)

Co-authored-by: Victor Stinner <vstinner@python.org>
3 years agotest_threaded_import: Fix unittest.main spelling (GH-93114)
Miss Islington (bot) [Wed, 25 May 2022 08:22:21 +0000 (01:22 -0700)] 
test_threaded_import: Fix unittest.main spelling (GH-93114)

(cherry picked from commit 19710145b496b5e5341630d80be9c400aa792bd1)

Co-authored-by: Florian Bruhin <me@the-compiler.org>
3 years ago[3.11] gh-83245: Raise BadZipFile instead of ValueError when reading a corrupt ZIP...
Miss Islington (bot) [Wed, 25 May 2022 07:57:36 +0000 (00:57 -0700)] 
[3.11] gh-83245: Raise BadZipFile instead of ValueError when reading a corrupt ZIP file (GH-32291) (GH-93141)

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

Co-authored-by: Sam Ezeh <sam.z.ezeh@gmail.com>
Automerge-Triggered-By: GH:serhiy-storchaka
3 years agogh-92728: Restore re.template, but deprecate it (GH-93161)
Miss Islington (bot) [Wed, 25 May 2022 06:32:20 +0000 (23:32 -0700)] 
gh-92728: Restore re.template, but deprecate it (GH-93161)

Revert "bpo-47211: Remove function re.template() and flag re.TEMPLATE (GH-32300)"

This reverts commit b09184bf05b07b77c5ecfedd4daa846be3cbf0a9.
(cherry picked from commit 16a7e4a0b75080275bf12cfb71d54b01d85099b2)

Co-authored-by: Miro Hrončok <miro@hroncok.cz>
3 years agotest.pythoninfo no longer requires socket (GH-93191)
Miss Islington (bot) [Wed, 25 May 2022 00:41:02 +0000 (17:41 -0700)] 
test.pythoninfo no longer requires socket (GH-93191)

test.pythoninfo no longer fails if "import socket" fails: the socket
module is now optional.
(cherry picked from commit 4a31ed8a32699973ae1f779022794fdab9fa08ee)

Co-authored-by: Victor Stinner <vstinner@python.org>
3 years agoGH-89369: test_contextlib_async finalizes event loop after each test (GH-93074)
Miss Islington (bot) [Tue, 24 May 2022 14:07:59 +0000 (07:07 -0700)] 
GH-89369: test_contextlib_async finalizes event loop after each test (GH-93074)

Use asyncio.run().
(cherry picked from commit d2ef66a10be1250b13c32fbf3c0f9a9d2d98b124)

Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
3 years agoGH-93112: Fix missing ResourceDenied import in test_urllib2net (GH-93113)
Miss Islington (bot) [Tue, 24 May 2022 12:37:06 +0000 (05:37 -0700)] 
GH-93112: Fix missing ResourceDenied import in test_urllib2net (GH-93113)

The code was moved out of test.support in
311110abcd8ab648dbf1803e36a8ba5d93fa019b (GH-20812), thus making
ResourceDenied undefined.
(cherry picked from commit 37c9a351b15c3fc4fcdca5dcb9ce19e51d7d2dd7)

Co-authored-by: Florian Bruhin <me@the-compiler.org>
3 years agogh-93065: Fix HAMT to iterate correctly over 7-level deep trees (GH-93066) (GH-93145)
Miss Islington (bot) [Tue, 24 May 2022 08:52:06 +0000 (01:52 -0700)] 
gh-93065: Fix HAMT to iterate correctly over 7-level deep trees (GH-93066) (GH-93145)

Also while there, clarify a few things about why we reduce the hash to 32 bits.

Co-authored-by: Eli Libman <eli@hyro.ai>
Co-authored-by: Yury Selivanov <yury@edgedb.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit c1f5c903a7e4ed27190488f4e33b00d3c3d952e5)

3 years agogh-93099: Fix _pyio to use locale module properly (gh-93136)
Miss Islington (bot) [Tue, 24 May 2022 01:03:37 +0000 (18:03 -0700)] 
gh-93099: Fix _pyio to use locale module properly (gh-93136)

(cherry picked from commit f7fabae75c7b8ecd0c5673b5d62a15db24a05953)

Co-authored-by: Dong-hee Na <donghee.na@python.org>
3 years agoDoc: No need to use rst syntax in code comments. (GH-93102)
Miss Islington (bot) [Mon, 23 May 2022 22:00:34 +0000 (15:00 -0700)] 
Doc: No need to use rst syntax in code comments. (GH-93102)

And it raises `make suspicious` false positives.
(cherry picked from commit e739ff141680fd7e2a762cf98c4352c6c850af1f)

Co-authored-by: Julien Palard <julien@palard.fr>
3 years agogh-93118: [Enum] fix error message (GH-93138) (GH-93142)
Miss Islington (bot) [Mon, 23 May 2022 21:37:18 +0000 (14:37 -0700)] 
gh-93118: [Enum] fix error message (GH-93138) (GH-93142)

Include member names in error message.
(cherry picked from commit a49721ea075a18a7787ace6752b4eb0954e1b607)

3 years agogh-92859: Doc: add info about logging.debug() calling basicConfig() (GH-93063) (GH...
Miss Islington (bot) [Mon, 23 May 2022 19:45:03 +0000 (12:45 -0700)] 
gh-92859: Doc: add info about logging.debug() calling basicConfig() (GH-93063) (GH-93151)

(cherry picked from commit 2176898308acafedf87a48d33f29645e79b9af86)

3 years agogh-93061: Mark as artificial: backwards jump after async for (GH-93062) (GH-93110)
Miss Islington (bot) [Mon, 23 May 2022 18:58:53 +0000 (11:58 -0700)] 
gh-93061: Mark as artificial: backwards jump after async for (GH-93062) (GH-93110)

(cherry picked from commit a458be3263b4cb92f3fde726461e8ef44b2a4a9d)

Co-authored-by: Dennis Sweeney <36520290+sweeneyde@users.noreply.github.com>
3 years ago[3.11] gh-93100: [Enum] fix missing variable in global_str (GH-93107) (GH-93134)
Ethan Furman [Mon, 23 May 2022 17:11:18 +0000 (10:11 -0700)] 
[3.11] gh-93100: [Enum] fix missing variable in global_str (GH-93107) (GH-93134)

(cherry picked from commit 046df59658c9f64a9f0fc909ed62e92c6c4dd668)

Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
3 years agogh-93010: InvalidHeaderError used but nonexistent (GH-93015)
Miss Islington (bot) [Mon, 23 May 2022 16:57:12 +0000 (09:57 -0700)] 
gh-93010: InvalidHeaderError used but nonexistent (GH-93015)

* fix issue 93010

Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
(cherry picked from commit 71abeb0895f7563dc5ac4b4f077a8f87dab57e7a)

Co-authored-by: oda-gitso <105083118+oda-gitso@users.noreply.github.com>
3 years agogh-92913: Fix typos in documentation (GH-93129)
Miss Islington (bot) [Mon, 23 May 2022 16:54:36 +0000 (09:54 -0700)] 
gh-92913: Fix typos in documentation (GH-93129)

(cherry picked from commit 6a6f823ea7f565722148462a0372aa90085637bc)

Co-authored-by: Steve Dower <steve.dower@python.org>
3 years agogh-93005: Fixes launcher test when no Python install is available (GH-93007)
Miss Islington (bot) [Mon, 23 May 2022 16:42:41 +0000 (09:42 -0700)] 
gh-93005: Fixes launcher test when no Python install is available (GH-93007)

(cherry picked from commit 949dbf97ba09da3cfb243d5ad7f90967ad15f354)

Co-authored-by: Steve Dower <steve.dower@python.org>
3 years agoGH-93115: Fix version check in sqlite3 module constants test (GH-93116)
Miss Islington (bot) [Mon, 23 May 2022 16:35:13 +0000 (09:35 -0700)] 
GH-93115: Fix version check in sqlite3 module constants test (GH-93116)

(cherry picked from commit d5f0dd160011826f0196d220aefc29d2ce497428)

Co-authored-by: Florian Bruhin <me@the-compiler.org>
3 years agogh-90473: WASI: skip gethostname tests (GH-93092)
Miss Islington (bot) [Mon, 23 May 2022 15:21:45 +0000 (08:21 -0700)] 
gh-90473: WASI: skip gethostname tests (GH-93092)

- WASI's ``gethostname()`` is a stub that always fails with OSError
  ``ENOTSUP``
- skip mailcap ``test`` if subprocess is not available
- WASI process_time clock does not work.
(cherry picked from commit 760ec8940aabd6a7fc471bd913ea1ac501cc604b)

Co-authored-by: Christian Heimes <christian@python.org>
3 years agogh-89158: Add some REPL secondary prompt markers (GH-93073)
Miss Islington (bot) [Mon, 23 May 2022 05:18:09 +0000 (22:18 -0700)] 
gh-89158: Add some REPL secondary prompt markers (GH-93073)

This fixes an issue on tutorial/classes.rst section 9.4 where the example "class Warehouse"
was truncated when pressing the >>> button to hide the prompts and output.
(cherry picked from commit 88f0d0c1e8fdda036f3f64b0048911ba28ce7f06)

Co-authored-by: Nicolas Haller <nicolas@haller.im>
3 years agogh-73137: Added sub-subsection headers for flags in re (GH-93000)
Miss Islington (bot) [Mon, 23 May 2022 02:14:11 +0000 (19:14 -0700)] 
gh-73137: Added sub-subsection headers for flags in re (GH-93000)

Fixes GH-73137
(cherry picked from commit b7a6610bc88dfecdd943e8d2817f7cd6b85fb740)

Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
3 years agogh-92994: Clarify importlib "check" example (GH-92995)
Miss Islington (bot) [Mon, 23 May 2022 02:10:57 +0000 (19:10 -0700)] 
gh-92994: Clarify importlib "check" example (GH-92995)

Fixes GH-92994
(cherry picked from commit e39cd765610c9099da3b5595186ad16223b670b0)

Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
3 years agobinascii docs: strict_mode parameter is keyword-only (GH-93055)
Miss Islington (bot) [Mon, 23 May 2022 02:05:09 +0000 (19:05 -0700)] 
binascii docs: strict_mode parameter is keyword-only (GH-93055)

See https://github.com/python/cpython/commit/35b98e38b6edd63153fc8e092f94cb20725dacc1

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

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
3 years agotermios docs: fix indentation (GH-93080)
Miss Islington (bot) [Sun, 22 May 2022 23:11:36 +0000 (16:11 -0700)] 
termios docs: fix indentation (GH-93080)

(cherry picked from commit ea5918e932a441aef8c22acfdcfa6345ec32d1a8)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
3 years agoClean up the sqlite3 tests (GH-93056)
Miss Islington (bot) [Sat, 21 May 2022 16:37:04 +0000 (09:37 -0700)] 
Clean up the sqlite3 tests (GH-93056)

Remove helper managed_connect(). Use memory_database() or
contextlib.closing() + addCleanup(unlink) instead.
(cherry picked from commit e5d8dbdd304935dbd0631ee9605efb501332f792)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
3 years agogh-91362: reword pickle docs to account for nested classes (GH-92429)
Miss Islington (bot) [Sat, 21 May 2022 15:08:59 +0000 (08:08 -0700)] 
gh-91362: reword pickle docs to account for nested classes (GH-92429)

Fixes GH-91362
(cherry picked from commit f9d6c59917435980fbe1b58c57257c45bfed2244)

Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
3 years agoImprove tests for opening Sqlite by URI (GH-93047)
Miss Islington (bot) [Sat, 21 May 2022 15:05:13 +0000 (08:05 -0700)] 
Improve tests for opening Sqlite by URI (GH-93047)

* Test with with escaped non-ascii characters
* Test read-only open of existing DB.
(cherry picked from commit 4e2b66489289cfd4db2a02edf173ac03cbb2fffe)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
3 years ago[3.11] GH-92898: Make _Py_Cast C++ version compatible with cast operator (gh-92951...
Dong-hee Na [Sat, 21 May 2022 14:52:45 +0000 (23:52 +0900)] 
[3.11] GH-92898: Make _Py_Cast C++ version compatible with cast operator (gh-92951) (gh-93049)

3 years ago[3.11] gh-93044: No longer convert the database argument of sqlite3.connect() to...
Serhiy Storchaka [Sat, 21 May 2022 13:53:58 +0000 (16:53 +0300)] 
[3.11] gh-93044: No longer convert the database argument of sqlite3.connect() to bytes (GH-93046) (GH-93048)

Just pass it to the factory as is.
(cherry picked from commit 14c0d33016a967a98155f2e1615660e9328aef5d)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
3 years agogh-71223: Improve rendering of some references in the docs (GH-93041)
Miss Islington (bot) [Sat, 21 May 2022 07:49:36 +0000 (00:49 -0700)] 
gh-71223: Improve rendering of some references in the docs (GH-93041)

For example, instead of "eval()uated" (link from "eval()")
show "evaluated" (link from the whole word).
(cherry picked from commit 7f835923c179d1d2da54b232e0113abc2c56ea31)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
3 years agogh-93019: Fix markup in zipfile.rst (GH-93025)
Miss Islington (bot) [Sat, 21 May 2022 04:52:32 +0000 (21:52 -0700)] 
gh-93019: Fix markup in zipfile.rst (GH-93025)

Fixes GH-93019
(cherry picked from commit 2fadde7e6645e45e090b0187c28877300b07cba3)

Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
3 years agoTake advantage of math.comb() in the nth_combination() recipe (GH-93027) (#93032)
Miss Islington (bot) [Fri, 20 May 2022 23:34:30 +0000 (16:34 -0700)] 
Take advantage of math.comb() in the nth_combination() recipe (GH-93027) (#93032)

3 years ago[3.11] gh-72073: Add Windows case in pathlib.rename (GH-93002) (GH-93028)
Miss Islington (bot) [Fri, 20 May 2022 22:42:28 +0000 (15:42 -0700)] 
[3.11] gh-72073: Add Windows case in pathlib.rename (GH-93002) (GH-93028)

GH-72073

https://docs.python.org/3.12/library/pathlib.htmlGH-pathlib.Path.rename
(cherry picked from commit f51ed04c663417f88e10eeb21dad23250358bafa)

Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
Automerge-Triggered-By: GH:brettcannon
3 years agogh-92611: Clarify planned removal version in PEP 594-deprecated modules (GH-92793...
Miss Islington (bot) [Fri, 20 May 2022 22:33:12 +0000 (15:33 -0700)] 
gh-92611: Clarify planned removal version in PEP 594-deprecated modules (GH-92793) (GH-93026)

As discussed in GH-92611 and GH-92564 and as a followup to PR GH-92612 , this 3.11+ only PR uses the proper `deprecated-removed` role for the modules deprecated by PEP 593 (PEP-594) to clearly indicate to users that a removal version is planned and what it is, so they can prepare accordingly or voice any unanticipated impacts.

Related to GH-92792 ; if we decide to backport that PR, the upgrade to using `deprecated-removed` on those functions can be moved to this one.
(cherry picked from commit 31fa41ed689528505c0e0cf25777773b7e81c834)

Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
3 years agogh-91860: documentation for typing.dataclass_transform (GH-92768)
Miss Islington (bot) [Fri, 20 May 2022 15:01:44 +0000 (08:01 -0700)] 
gh-91860: documentation for typing.dataclass_transform (GH-92768)

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

Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
3 years agogh-91922: Fix sqlite connection on nonstardard locales and paths (GH-92926)
Miss Islington (bot) [Fri, 20 May 2022 09:42:48 +0000 (02:42 -0700)] 
gh-91922: Fix sqlite connection on nonstardard locales and paths (GH-92926)

(cherry picked from commit d8537580921b2e02f477ff1a8dedcf82c24ef0c2)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
3 years agoDoc: add missing manpage and title references in tkinter docs (GH-29008)
Miss Islington (bot) [Fri, 20 May 2022 08:34:21 +0000 (01:34 -0700)] 
Doc: add missing manpage and title references in tkinter docs (GH-29008)

- add bind(3tk) manpage markup
- add Tcl/Tk book reference markup
(cherry picked from commit 0e12781ad9dec6e46ccb85969c0eb7be1ecad81d)

Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
3 years agogh-92817: Fix precedence of options to py.exe launcher (GH-92988)
Miss Islington (bot) [Thu, 19 May 2022 23:10:38 +0000 (16:10 -0700)] 
gh-92817: Fix precedence of options to py.exe launcher (GH-92988)

(cherry picked from commit 73473fdeac3ff9d75ac9d189bb8552b7459812f1)

Co-authored-by: Steve Dower <steve.dower@python.org>
3 years agogh-92984: Explicitly disable incremental linking for Windows Release and PGO builds...
Miss Islington (bot) [Thu, 19 May 2022 22:52:22 +0000 (15:52 -0700)] 
gh-92984: Explicitly disable incremental linking for Windows Release and PGO builds (GH-92985)

(cherry picked from commit 38feffa09c74d9a853745908b7813903bae33b96)

Co-authored-by: David Machaj <46852402+dmachaj@users.noreply.github.com>
3 years agogh-92913: Clarify changes to PyInitConfig.module_search_paths[_set] fields (GH-92980)
Miss Islington (bot) [Thu, 19 May 2022 20:13:15 +0000 (13:13 -0700)] 
gh-92913: Clarify changes to PyInitConfig.module_search_paths[_set] fields (GH-92980)

(cherry picked from commit 403d16fa28764718dcd0536ccb3ab8d05768465d)

Co-authored-by: Steve Dower <steve.dower@python.org>
3 years agobpo-28249: fix `lineno` location for empty `DocTest` instances (GH-30498) (GH-92978)
Miss Islington (bot) [Thu, 19 May 2022 18:03:06 +0000 (11:03 -0700)] 
bpo-28249: fix `lineno` location for empty `DocTest` instances (GH-30498) (GH-92978)

(cherry picked from commit 8db2b3b6878aba9f12844526bce966b7eed81aee)

Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>