]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
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>
3 years agogh-94101 Disallow instantiation of SSLSession objects (GH-94102)
Miss Islington (bot) [Wed, 22 Jun 2022 10:52:35 +0000 (03:52 -0700)] 
gh-94101 Disallow instantiation of SSLSession objects (GH-94102)

Fixes GH-94101

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

Co-authored-by: chgnrdv <52372310+chgnrdv@users.noreply.github.com>
3 years agogh-74696: Do not change the current working directory in shutil.make_archive() if...
Miss Islington (bot) [Wed, 22 Jun 2022 09:18:15 +0000 (02:18 -0700)] 
gh-74696: Do not change the current working directory in shutil.make_archive() if possible (GH-93160) (GH-94105)

It is no longer changed when create a zip or tar archive.

It is still changed for custom archivers registered with shutil.register_archive_format()
if root_dir is not None.

Co-authored-by: Éric <merwok@netwok.org>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit fda4b2f06364ae5ef91ecd9c09e2af380c8b0b4c)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
3 years agoDOC: correct bytesarray -> bytearray in comments (GH-92410) (GH-94089)
Miss Islington (bot) [Wed, 22 Jun 2022 08:47:52 +0000 (01:47 -0700)] 
DOC: correct bytesarray -> bytearray in comments (GH-92410) (GH-94089)

(cherry picked from commit 0709586744ec58dd60492e16b08fff6dc1149a0a)

Co-authored-by: Thomas A Caswell <tcaswell@gmail.com>
3 years agobpo-30535: [doc] state that sys.meta_path is not empty by default (GH-94098) (GH...
Miss Islington (bot) [Tue, 21 Jun 2022 22:04:51 +0000 (15:04 -0700)] 
bpo-30535: [doc] state that sys.meta_path is not empty by default (GH-94098) (GH-94099)

Co-authored-by: Windson yang <wiwindson@outlook.com>
(cherry picked from commit 6575841266b83f3121c188695c7513e551ade034)

Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
3 years agogh-92611: Add details on replacements for cgi utility funcs (GH-92792) (GH-93967)
Miss Islington (bot) [Tue, 21 Jun 2022 21:51:27 +0000 (14:51 -0700)] 
gh-92611: Add details on replacements for cgi utility funcs (GH-92792) (GH-93967)

Per [suggestions on a Discourse thread](https://discuss.python.org/t/pep-594-take-2-removing-dead-batteries-from-the-standard-library/13508/51), discussed in GH-92611 and as a followup to PR GH-92612 , this PR add additional specific per-function replacement information for the utility functions in the `cgi` module deprecated by PEP 594 (PEP-594).

(cherry picked from commit 71354adff07f8beba8374767532bb9da34546e66)

Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
3 years agogh-87389: Fix an open redirection vulnerability in http.server. (GH-93879)
Miss Islington (bot) [Tue, 21 Jun 2022 21:29:03 +0000 (14:29 -0700)] 
gh-87389: Fix an open redirection vulnerability in http.server. (GH-93879)

Fix an open redirection vulnerability in the `http.server` module when
an URI path starts with `//` that could produce a 301 Location header
with a misleading target.  Vulnerability discovered, and logic fix
proposed, by Hamza Avvan (@hamzaavvan).

Test and comments authored by Gregory P. Smith [Google].
(cherry picked from commit 4abab6b603dd38bec1168e9a37c40a48ec89508e)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
3 years agogh-93021: Fix __text_signature__ for __get__ (GH-93023) (GH-94085)
Miss Islington (bot) [Tue, 21 Jun 2022 20:31:57 +0000 (13:31 -0700)] 
gh-93021: Fix __text_signature__ for __get__ (GH-93023) (GH-94085)

Because of the way wrap_descr_get is written, the second argument
to __get__ methods implemented through the wrapper is always
optional.
(cherry picked from commit 4e08fbcfdfa57ea94091aabdd09413708e3fb2bf)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
3 years agoTutorial: specify match cases don't fall through (GH-93615) (GH-94083)
Miss Islington (bot) [Tue, 21 Jun 2022 19:52:47 +0000 (12:52 -0700)] 
Tutorial: specify match cases don't fall through (GH-93615) (GH-94083)

(cherry picked from commit dd5cf84f245abf84405833320b8f25dbc43b24d2)

Co-authored-by: max <36980911+pr2502@users.noreply.github.com>
3 years ago[3.11] gh-93240: clarify wording in IO tutorial (GH-93276) (GH-94082)
Łukasz Langa [Tue, 21 Jun 2022 19:51:15 +0000 (21:51 +0200)] 
[3.11] gh-93240: clarify wording in IO tutorial (GH-93276) (GH-94082)

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

Co-authored-by: paulreece <96156234+paulreece@users.noreply.github.com>
3 years ago[3.11] gh-91387: Fix tarfile test on WASI (GH-93984) (#94074)
Christian Heimes [Tue, 21 Jun 2022 19:25:39 +0000 (21:25 +0200)] 
[3.11] gh-91387: Fix tarfile test on WASI (GH-93984) (#94074)

Co-authored-by: Christian Heimes <christian@python.org>
3 years ago[3.11] gh-93675: Fix typos in `Doc/` (GH-93676) (GH-94079)
Łukasz Langa [Tue, 21 Jun 2022 19:22:27 +0000 (21:22 +0200)] 
[3.11] gh-93675: Fix typos in `Doc/` (GH-93676) (GH-94079)

Closes GH-93675
(cherry picked from commit 830513754d081619b2d72db17770627312072fa5)

Co-authored-by: luzpaz <luzpaz@users.noreply.github.com>
3 years agogh-93851: Fix all broken links in Doc/ (GH-93853) (GH-94076)
Miss Islington (bot) [Tue, 21 Jun 2022 19:06:05 +0000 (12:06 -0700)] 
gh-93851: Fix all broken links in Doc/ (GH-93853) (GH-94076)

(cherry picked from commit f62ff97f31a775cc7956adeae32c14e7c85bdc15)

Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
3 years agogh-91387: Strip trailing slash from tarfile longname directories (GH-32423)
Miss Islington (bot) [Tue, 21 Jun 2022 18:09:07 +0000 (11:09 -0700)] 
gh-91387: Strip trailing slash from tarfile longname directories (GH-32423)

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

Co-authored-by: Chris Fernald <chrisf671@gmail.com>
3 years agogh-86986: Drop compatibility support for Sphinx 2 (GH-93737)
Miss Islington (bot) [Tue, 21 Jun 2022 17:50:47 +0000 (10:50 -0700)] 
gh-86986: Drop compatibility support for Sphinx 2 (GH-93737)

* Revert "bpo-42843: Keep Sphinx 1.8 and Sphinx 2 compatibility (GH-24282)"

This reverts commit 5c1f15b4b1024cbf0acc85832f0c623d1a4605fd

* Revert "bpo-42579: Make workaround for various versions of Sphinx more robust (GH-23662)"

This reverts commit b63a620014b67a6e63d10783149c41baaf59def8.
(cherry picked from commit 0efe3a1636c143fe0694a8e4d25d6eae19e0d618)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
3 years agogh-94052: Don't re-run failed tests with --python option (GH-94054)
Miss Islington (bot) [Tue, 21 Jun 2022 13:07:26 +0000 (06:07 -0700)] 
gh-94052: Don't re-run failed tests with --python option (GH-94054)

(cherry picked from commit 0ff7b996f5d836e63cdaf652c7aa734285261096)

Co-authored-by: Christian Heimes <christian@python.org>
3 years agogh-94028: Clear and reset sqlite3 statements properly in cursor iternext (GH-94042)
Miss Islington (bot) [Tue, 21 Jun 2022 11:52:47 +0000 (04:52 -0700)] 
gh-94028: Clear and reset sqlite3 statements properly in cursor iternext (GH-94042)

(cherry picked from commit 94eeac03dc8c643ff050e7d0d306637d9556f798)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
3 years agogh-94021: Address unreachable code warning in specialize code (GH-94022)
Miss Islington (bot) [Tue, 21 Jun 2022 07:01:52 +0000 (00:01 -0700)] 
gh-94021: Address unreachable code warning in specialize code (GH-94022)

(cherry picked from commit 77c839c98fe57dcb01f5cad2e65fb4cac5a052c1)

Co-authored-by: Christian Heimes <christian@python.org>
3 years agogh-91985: Ensure in-tree builds override platstdlib_dir in every path calculation...
Miss Islington (bot) [Mon, 20 Jun 2022 18:37:27 +0000 (11:37 -0700)] 
gh-91985: Ensure in-tree builds override platstdlib_dir in every path calculation (GH-93641)

(cherry picked from commit 38af903506e9b18c6350c1dadcb489f057713f36)

Co-authored-by: neonene <53406459+neonene@users.noreply.github.com>
3 years agoGH-93249: relax overly strict assertion on bounds->ar_start (GH-93961) (GH-94032)
Miss Islington (bot) [Mon, 20 Jun 2022 16:42:51 +0000 (09:42 -0700)] 
GH-93249: relax overly strict assertion on bounds->ar_start (GH-93961) (GH-94032)

(cherry picked from commit 1603a1029f44f0fdc87c65b02063229962194f84)

Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
3 years agogh-90539: doc: Expand on what should not go into CFLAGS, LDFLAGS (GH-92754)
Miss Islington (bot) [Mon, 20 Jun 2022 14:14:47 +0000 (07:14 -0700)] 
gh-90539: doc: Expand on what should not go into CFLAGS, LDFLAGS (GH-92754)

(cherry picked from commit 61f24e7885bed096b5d7f75aff13c1001994b35a)

Co-authored-by: Matthias Köppe <mkoeppe@math.ucdavis.edu>
3 years agogh-93937, C API: Move PyFrame_GetBack() to Python.h (#93938) (#94000)
Victor Stinner [Mon, 20 Jun 2022 13:47:41 +0000 (15:47 +0200)] 
gh-93937, C API: Move PyFrame_GetBack() to Python.h (#93938) (#94000)

Move the follow functions and type from frameobject.h to pyframe.h,
so the standard <Python.h> provide frame getter functions:

* PyFrame_Check()
* PyFrame_GetBack()
* PyFrame_GetBuiltins()
* PyFrame_GetGenerator()
* PyFrame_GetGlobals()
* PyFrame_GetLasti()
* PyFrame_GetLocals()
* PyFrame_Type

Remove #include "frameobject.h" from many C files. It's no longer
needed.

(cherry picked from commit 27b989403356ccdd47545a93aeab8434e9c69f21)

3 years agogh-84461: Silence some compiler warnings on WASM (GH-93978)
Miss Islington (bot) [Mon, 20 Jun 2022 12:08:14 +0000 (05:08 -0700)] 
gh-84461: Silence some compiler warnings on WASM (GH-93978)

(cherry picked from commit 774ef28814d0d9d57ec813cb31b0a7af6c476127)

Co-authored-by: Christian Heimes <christian@python.org>
3 years agogh-79009: sqlite3.iterdump now correctly handles tables with autoincrement (GH-9621)
Miss Islington (bot) [Sun, 19 Jun 2022 23:25:13 +0000 (16:25 -0700)] 
gh-79009: sqlite3.iterdump now correctly handles tables with autoincrement (GH-9621)

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

Co-authored-by: itssme <itssme3000@gmail.com>
3 years agogh-61162: Clarify sqlite3 connection context manager docs (GH-93890)
Miss Islington (bot) [Sun, 19 Jun 2022 20:27:46 +0000 (13:27 -0700)] 
gh-61162: Clarify sqlite3 connection context manager docs (GH-93890)

Explicitly note that transactions are only closed if there is an open
transation at `__exit__`, and that transactions are not implicitly
opened during `__enter__`.

Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
Automerge-Triggered-By: GH:erlend-aasland
(cherry picked from commit 8e0897814109765a9e463676413fff016875217b)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
3 years agogh-84461: Skip test_unwritable_directory again on Emscripten (GH-94007)
Miss Islington (bot) [Sun, 19 Jun 2022 19:57:13 +0000 (12:57 -0700)] 
gh-84461: Skip test_unwritable_directory again on Emscripten (GH-94007)

GH-93992 removed geteuid() and enabled the test again on Emscripten.
(cherry picked from commit 62363bfe59b236c324cf36cd69b6f586a125bc2b)

Co-authored-by: Christian Heimes <christian@python.org>
3 years agogh-93925: Improve clarity of sqlite3 commit/rollback, and close docs (GH-93926)
Miss Islington (bot) [Sun, 19 Jun 2022 19:44:48 +0000 (12:44 -0700)] 
gh-93925: Improve clarity of sqlite3 commit/rollback, and close docs (GH-93926)

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

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
3 years ago[3.11] gh-84461: Fix Emscripten umask and permission issues (GH-94002) (GH-94006)
Christian Heimes [Sun, 19 Jun 2022 18:18:34 +0000 (20:18 +0200)] 
[3.11] gh-84461: Fix Emscripten umask and permission issues (GH-94002) (GH-94006)

Co-authored-by: Christian Heimes <christian@python.org>
3 years agoGH-93990: fix refcounting bug in `add_subclass` in `typeobject.c` (GH-93989)
Miss Islington (bot) [Sun, 19 Jun 2022 09:51:22 +0000 (02:51 -0700)] 
GH-93990: fix refcounting bug in `add_subclass` in `typeobject.c` (GH-93989)

(cherry picked from commit 726448ebe15cd78e180c29c9858cb6c10a581524)

Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
3 years agoWhat's new in 3.10: fix link to issue (GH-93968)
Miss Islington (bot) [Sun, 19 Jun 2022 09:12:06 +0000 (02:12 -0700)] 
What's new in 3.10: fix link to issue (GH-93968)

* What's new in 3.10: fix link to issue

* What's new in 3.10: fix link to GH issue

Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
(cherry picked from commit 59c1b33805fe553fe6a157ae9b346153b96f7ff1)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
3 years agogh-89828: Do not relay the __class__ attribute in GenericAlias (GH-93754)
Miss Islington (bot) [Sat, 18 Jun 2022 14:41:25 +0000 (07:41 -0700)] 
gh-89828: Do not relay the __class__ attribute in GenericAlias (GH-93754)

list[int].__class__ returned type, and isinstance(list[int], type)
returned True. It caused numerous problems in code that checks
isinstance(x, type).
(cherry picked from commit f9433fff476aa13af9cb314fcc6962055faa4085)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
3 years agogh-92888: Fix memoryview bad `__index__` use after free (GH-92946)
Miss Islington (bot) [Sat, 18 Jun 2022 14:40:39 +0000 (07:40 -0700)] 
gh-92888: Fix memoryview bad `__index__` use after free (GH-92946)

Co-authored-by: chilaxan <35645806+chilaxan@users.noreply.github.com>
Co-authored-by: Serhiy Storchaka <3659035+serhiy-storchaka@users.noreply.github.com>
(cherry picked from commit 11190c4ad0d3722b8d263758ac802985131a5462)

Co-authored-by: Ken Jin <kenjin@python.org>
3 years agogh-84461: Fix pydebug Emscripten browser builds (GH-93982)
Miss Islington (bot) [Sat, 18 Jun 2022 13:17:09 +0000 (06:17 -0700)] 
gh-84461: Fix pydebug Emscripten browser builds (GH-93982)

wasm_assets script did not take the ABIFLAG flag of sysconfigdata into
account.
(cherry picked from commit 7a2cc35e1ca6808a735b90269756d5286077a152)

Co-authored-by: Christian Heimes <christian@python.org>
3 years agogh-84461: Fix circulare dependency on BUILDPYTHON (GH-93977)
Miss Islington (bot) [Sat, 18 Jun 2022 08:56:25 +0000 (01:56 -0700)] 
gh-84461: Fix circulare dependency on BUILDPYTHON (GH-93977)

(cherry picked from commit 084023ccbeb3bf54a2e19873c6a4b0bec7b617f6)

Co-authored-by: Christian Heimes <christian@python.org>
3 years agoGH-89858: Fix test_embed for out-of-tree builds (GH-93465)
Miss Islington (bot) [Sat, 18 Jun 2022 05:11:59 +0000 (22:11 -0700)] 
GH-89858: Fix test_embed for out-of-tree builds (GH-93465)

(cherry picked from commit 96464e5401783c99f1ae24369bb2a854b8c5f46a)

Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
3 years agoGH-83658: make multiprocessing.Pool raise an exception if maxtasksperchild is not...
Miss Islington (bot) [Fri, 17 Jun 2022 22:31:42 +0000 (15:31 -0700)] 
GH-83658: make multiprocessing.Pool raise an exception if maxtasksperchild is not None or a positive int (GH-93364) (GH-93923)

3 years agoGH-91389: Fix dis position information for CACHEs (GH-93663) (GH-93921)
Brandt Bucher [Fri, 17 Jun 2022 17:26:20 +0000 (10:26 -0700)] 
GH-91389: Fix dis position information for CACHEs (GH-93663) (GH-93921)

(cherry picked from commit f8e576be0a7cd38f753f31cf4178db81a602fc32)

3 years agogh-74953: Fix PyThread_acquire_lock_timed() code recomputing the timeout (GH-93941)
Miss Islington (bot) [Fri, 17 Jun 2022 14:39:27 +0000 (07:39 -0700)] 
gh-74953: Fix PyThread_acquire_lock_timed() code recomputing the timeout (GH-93941)

Set timeout, don't create a local variable with the same name.
(cherry picked from commit f64557f4803528c53bb9a1d565e3cdf92e97152f)

Co-authored-by: Victor Stinner <vstinner@python.org>
3 years agogh-89745: Avoid exact match when comparing program_name in test_embed on Windows...
Miss Islington (bot) [Fri, 17 Jun 2022 10:31:03 +0000 (03:31 -0700)] 
gh-89745: Avoid exact match when comparing program_name in test_embed on Windows (GH-93888)

(cherry picked from commit ffc228dd4e409336f2c2ad54125de384bf1a767b)

Co-authored-by: neonene <53406459+neonene@users.noreply.github.com>
3 years agotest_logging: Fix BytesWarning in SysLogHandlerTest (GH-93920)
Miss Islington (bot) [Fri, 17 Jun 2022 09:53:35 +0000 (02:53 -0700)] 
test_logging: Fix BytesWarning in SysLogHandlerTest (GH-93920)

(cherry picked from commit 538f28921f67e36617272faa662375d305d9284c)

Co-authored-by: Victor Stinner <vstinner@python.org>
3 years agogh-91404: Revert "bpo-23689: re module, fix memory leak when a match is terminated...
Miss Islington (bot) [Fri, 17 Jun 2022 08:43:56 +0000 (01:43 -0700)] 
gh-91404: Revert "bpo-23689: re module, fix memory leak when a match is terminated by a signal or allocation failure (GH-32283) (GH-93882)

Revert "bpo-23689: re module, fix memory leak when a match is terminated by a signal or memory allocation failure (GH-32283)"

This reverts commit 6e3eee5c11b539e9aab39cff783acf57838c355a.

Manual fixups to increase the MAGIC number and to handle conflicts with
a couple of changes that landed after that.

Thanks for reviews by Ma Lin and Serhiy Storchaka.
(cherry picked from commit 4beee0c7b0c2cc78a893dde88fd8e34099dcf877)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
3 years agogh-91877: Fix WriteTransport.get_write_buffer_{limits,size} docs (#92338) (#93806)
Kumar Aditya [Fri, 17 Jun 2022 08:18:00 +0000 (13:48 +0530)] 
gh-91877: Fix WriteTransport.get_write_buffer_{limits,size} docs (#92338) (#93806)

- Amend docs for WriteTransport.get_write_buffer_limits
- Add docs for WriteTransport.get_write_buffer_size

Co-authored-by: Sanket Shanbhag <TechieBoy@users.noreply.github.com>
3 years agogh-93847: Fix repr of enum of generic aliases (GH-93885)
Miss Islington (bot) [Fri, 17 Jun 2022 05:00:22 +0000 (22:00 -0700)] 
gh-93847: Fix repr of enum of generic aliases (GH-93885)

(cherry picked from commit 138db8e48b0bb006b1561f8ec76ade97afc6cbd7)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
3 years agogh-93820: Fix copy() regression in enum.Flag (GH-93876) (#93886)
Miss Islington (bot) [Fri, 17 Jun 2022 03:56:20 +0000 (20:56 -0700)] 
gh-93820: Fix copy() regression in enum.Flag (GH-93876) (#93886)

GH-26658 introduced a regression in copy / pickle protocol for combined
`enum.Flag`s. `copy.copy(re.A | re.I)` would fail with
`AttributeError: ASCII|IGNORECASE`.

`enum.Flag` now has a `__reduce_ex__()` method that reduces flags by
combined value, not by combined name.
(cherry picked from commit 05b32c1c796d6c80479756ae898f488eac5f4f71)

Co-authored-by: Christian Heimes <christian@python.org>
Co-authored-by: Christian Heimes <christian@python.org>
3 years agogh-91731: Don't define 'static_assert' in C++11 where is a keyword to avoid UB (GH...
Miss Islington (bot) [Thu, 16 Jun 2022 14:50:15 +0000 (07:50 -0700)] 
gh-91731: Don't define 'static_assert' in C++11 where is a keyword to avoid UB (GH-93700)

(cherry picked from commit 65ff27c7d30b84655bf8caf6e396c65485708148)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
3 years agogh-91577: SharedMemory move imports out of methods (GH-91579)
Miss Islington (bot) [Thu, 16 Jun 2022 14:07:32 +0000 (07:07 -0700)] 
gh-91577: SharedMemory move imports out of methods (GH-91579)

SharedMemory.unlink() uses the unregister() function from resource_tracker. Previously it was imported in the method, but this can fail if the method is called during interpreter shutdown, for example when unlink is part of a __del__() method.

Moving the import to the top of the file, means that the unregister() method is available during interpreter shutdown.

The register call in SharedMemory.__init__() can also use this imported resource_tracker.
(cherry picked from commit 9a458befdd68625d088f4fea7df135a57d147deb)

Co-authored-by: samtygier <samtygier@yahoo.co.uk>
3 years agogh-91321: Fix test_cppext for C++03 (GH-93902) (#93904)
Miss Islington (bot) [Thu, 16 Jun 2022 13:17:35 +0000 (06:17 -0700)] 
gh-91321: Fix test_cppext for C++03 (GH-93902) (#93904)

Don't build _testcppext.cpp with -Wzero-as-null-pointer-constant when
testing C++03: only use this compiler flag with C++11.
(cherry picked from commit a38c2a61d585fce0973e93dd590551ccddd947fb)

Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Victor Stinner <vstinner@python.org>
3 years ago[3.11] GH-93662: Make sure that column offsets are correct in multi-line method calls...
Irit Katriel [Thu, 16 Jun 2022 10:56:35 +0000 (11:56 +0100)] 
[3.11] GH-93662: Make sure that column offsets are correct in multi-line method calls. (GH-93673) (#93895)

Co-authored-by: Mark Shannon <mark@hotpy.org>
3 years agogh-84461: Document how to install SDKs manually (GH-93844)
Miss Islington (bot) [Wed, 15 Jun 2022 19:53:51 +0000 (12:53 -0700)] 
gh-84461: Document how to install SDKs manually (GH-93844)

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

Co-authored-by: Christian Heimes <christian@python.org>
3 years agogh-93824: Reenable installation of shell extension on Windows ARM64 (GH-93825)
Miss Islington (bot) [Wed, 15 Jun 2022 16:34:32 +0000 (09:34 -0700)] 
gh-93824: Reenable installation of shell extension on Windows ARM64 (GH-93825)

(cherry picked from commit 99be1cbeb3b58f0daa9108abc4075412d6212169)

Co-authored-by: Steve Dower <steve.dower@python.org>