]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
17 months ago[3.13] gh-119189: Add more tests for mixed Fraction arithmetic (GH-119236) (GH-119255)
Miss Islington (bot) [Mon, 20 May 2024 21:00:20 +0000 (23:00 +0200)] 
[3.13] gh-119189: Add more tests for mixed Fraction arithmetic (GH-119236) (GH-119255)

(cherry picked from commit fe67af19638d208239549ccac8b4f4fb6480e801)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
17 months ago[3.13] gh-118760: Restore the default value of tkinter.wantobjects to 1 (GH-118784...
Miss Islington (bot) [Mon, 20 May 2024 20:28:42 +0000 (22:28 +0200)] 
[3.13] gh-118760: Restore the default value of tkinter.wantobjects to 1 (GH-118784) (GH-119251)

It was set to 2 in 65f5e586a1239ed1a66d8284773d7b02ce40e480 (GH-98592).
(cherry picked from commit e188527c343c74574d481b77c30063db1436e62b)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
17 months ago[3.13] Use correct markup in unittest.mock.reset_mock documentation (GH-119207) ...
Miss Islington (bot) [Mon, 20 May 2024 20:12:38 +0000 (22:12 +0200)] 
[3.13] Use correct markup in unittest.mock.reset_mock documentation (GH-119207) (GH-119250)

Use correct markup in unittest.mock.reset_mock documentation (GH-119207)
(cherry picked from commit 6b80a5b20f31a067bd1c374295608df5f1210f49)

Co-authored-by: Tialo <65392801+Tialo@users.noreply.github.com>
17 months ago[3.13] gh-92081: Fix for email.generator.Generator with whitespace between encoded...
Miss Islington (bot) [Mon, 20 May 2024 20:01:56 +0000 (22:01 +0200)] 
[3.13] gh-92081: Fix for email.generator.Generator with whitespace between encoded words. (GH-92281) (#119245)

* Fix for email.generator.Generator with whitespace between encoded words.

email.generator.Generator currently does not handle whitespace between
encoded words correctly when the encoded words span multiple lines.  The
current generator will create an encoded word for each line.  If the end
of the line happens to correspond with the end real word in the
plaintext, the generator will place an unencoded space at the start of
the subsequent lines to represent the whitespace between the plaintext
words.

A compliant decoder will strip all the whitespace from between two
encoded words which leads to missing spaces in the round-tripped
output.

The fix for this is to make sure that whitespace between two encoded
words ends up inside of one or the other of the encoded words.  This
fix places the space inside of the second encoded word.

A second problem happens with continuation lines.  A continuation line that
starts with whitespace and is followed by a non-encoded word is fine because
the newline between such continuation lines is defined as condensing to
a single space character.  When the continuation line starts with whitespace
followed by an encoded word, however, the RFCs specify that the word is run
together with the encoded word on the previous line.  This is because normal
words are filded on syntactic breaks by encoded words are not.

The solution to this is to add the whitespace to the start of the encoded word
on the continuation line.

Test cases are from GH-92081

* Rename a variable so it's not confused with the final variable.
(cherry picked from commit a6fdb31b6714c9f3c65fefbb3fe388b2b139a75f)

Co-authored-by: Toshio Kuratomi <a.badger@gmail.com>
17 months ago[3.13] gh-112844: Update CPE references for external dependencies (GH-118521) (#119237)
Miss Islington (bot) [Mon, 20 May 2024 19:32:38 +0000 (21:32 +0200)] 
[3.13] gh-112844: Update CPE references for external dependencies (GH-118521) (#119237)

Co-authored-by: Seth Michael Larson <seth@python.org>
17 months ago[3.13] DOCS: Suggest always calling exec with a globals argument and no locals argume...
Miss Islington (bot) [Mon, 20 May 2024 18:15:25 +0000 (20:15 +0200)] 
[3.13] DOCS: Suggest always calling exec with a globals argument and no locals argument (GH-119235) (#119239)

DOCS: Suggest always calling exec with a globals argument and no locals argument (GH-119235)

Many users think they want a locals argument for various reasons but they do not
understand that it makes code be treated as a class definition. They do not want
their code treated as a class definition and get surprised. The reason not
to pass locals specifically is that the following code raises a `NameError`:

```py
exec("""
def f():
    print("hi")

f()

def g():
    f()
g()
""", {}, {})
```

The reason not to leave out globals is as follows:

```py
def t():
    exec("""
def f():
    print("hi")

f()

def g():
    f()
g()
    """)
```
(cherry picked from commit 7e1a130b8ff1ed8b3a5f00fe0f06d3916b852216)

Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
17 months ago[3.13] GH-119146: Don't run JIT CI on unrelated changes (GH-119226)
Miss Islington (bot) [Mon, 20 May 2024 17:26:28 +0000 (19:26 +0200)] 
[3.13] GH-119146: Don't run JIT CI on unrelated changes (GH-119226)

(cherry picked from commit 5307f44fb983f2a17727fb43602f5dfa63e93311)
Co-authored-by: Savannah Ostrowski <savannahostrowski@gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
17 months ago[3.13] gh-115119: Fall back to bundled libmpdec if system libmpdec is not found ...
Miss Islington (bot) [Mon, 20 May 2024 16:10:21 +0000 (18:10 +0200)] 
[3.13] gh-115119: Fall back to bundled libmpdec if system libmpdec is not found (GH-119196) (#119217)

(cherry picked from commit 642b25b9a82c368b045709f0b94e7d5a02400ed2)

Co-authored-by: Erlend E. Aasland <erlend@python.org>
17 months ago[3.13] [docs] TypeVarTuple default is keyword-only (GH-119215) (#119224)
Miss Islington (bot) [Mon, 20 May 2024 15:57:19 +0000 (17:57 +0200)] 
[3.13] [docs] TypeVarTuple default is keyword-only (GH-119215) (#119224)

(cherry picked from commit e406b399f9f677cda3d48ed8d7c9d29a173f51f3)

Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
17 months ago[3.13] gh-119185: Fix typo in `_pyrepl.pager`: `tempfilepager` should be `tempfile_pa...
Miss Islington (bot) [Mon, 20 May 2024 15:10:40 +0000 (17:10 +0200)] 
[3.13] gh-119185: Fix typo in `_pyrepl.pager`: `tempfilepager` should be `tempfile_pager` (GH-118881) (#119211)

Fix typo in `_pyrepl.pager`: `tempfilepager` should be `tempfile_pager`

The name with no underscore doesn't exist.
(cherry picked from commit 05e1dce76d7669e90ab73e7e682360d83b8a0d02)

Co-authored-by: Thanos <111999343+Sachaa-Thanasius@users.noreply.github.com>
17 months ago[3.13] typing docs: Fix formatting issue (GH-119210) (#119212)
Miss Islington (bot) [Mon, 20 May 2024 15:08:49 +0000 (17:08 +0200)] 
[3.13] typing docs: Fix formatting issue (GH-119210) (#119212)

typing docs: Fix formatting issue (GH-119210)
(cherry picked from commit 72d07dd30bc10751fe0298915c918eb08e555a7a)

Co-authored-by: David Foster <david@dafoster.net>
17 months ago[3.13] gh-119121: Fix and test `async.staggered.staggered_race` (GH-119173) (#119206)
Miss Islington (bot) [Mon, 20 May 2024 11:31:31 +0000 (13:31 +0200)] 
[3.13] gh-119121: Fix and test `async.staggered.staggered_race` (GH-119173) (#119206)

gh-119121: Fix and test `async.staggered.staggered_race` (GH-119173)
(cherry picked from commit 16b46ebd2b0025aa461fdfc95fbf98a4f04b49e6)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
17 months ago[3.13] IDLE: fix url in config.py comment (GH-119198) (#119199)
Miss Islington (bot) [Mon, 20 May 2024 06:27:51 +0000 (08:27 +0200)] 
[3.13] IDLE: fix url in config.py comment (GH-119198) (#119199)

IDLE: fix url in config.py comment (GH-119198)
(cherry picked from commit 357f5a1f73684d0c126a5e8f79d76ff3641c4d52)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
17 months ago[3.13] GH-119113: Raise `TypeError` from `pathlib.PurePath.with_suffix(None)` (GH...
Miss Islington (bot) [Sun, 19 May 2024 16:27:12 +0000 (18:27 +0200)] 
[3.13] GH-119113: Raise `TypeError` from `pathlib.PurePath.with_suffix(None)` (GH-119124) (#119183)

Restore behaviour from 3.12 when `path.with_suffix(None)` is called.
(cherry picked from commit 3c28510b984392b8dac87a17dfc5887366d5c4ab)

Co-authored-by: Barney Gale <barney.gale@gmail.com>
17 months ago[3.13] GH-118447: Fix FreeBSD test failures. (GH-119170) (#119181)
Miss Islington (bot) [Sun, 19 May 2024 16:22:51 +0000 (18:22 +0200)] 
[3.13] GH-118447: Fix FreeBSD test failures. (GH-119170) (#119181)

GH-118447: Fix FreeBSD test failures. (GH-119170)

Apparently only macOS requires read permission to call `readlink()` on a
symlink.
(cherry picked from commit 4b7667172898d440c1931ae923446c6a5ef1765e)

Co-authored-by: Barney Gale <barney.gale@gmail.com>
17 months ago[3.13] marshal docs: Remove reference to "Sun" (GH-119161) (#119167)
Miss Islington (bot) [Sun, 19 May 2024 02:33:04 +0000 (04:33 +0200)] 
[3.13] marshal docs: Remove reference to "Sun" (GH-119161) (#119167)

Nobody has been using a Sun machine for a long time. When I saw
this sentence in a lightning talk just now, I thought it was talking
about sending Python code on a spacecraft.
(cherry picked from commit 697465ff88e49d98443025474e5b534adfba2cb0)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
17 months ago[3.13] GH-118447: Fix handling of unreadable symlinks in `os.path.realpath()` (GH...
Miss Islington (bot) [Sat, 18 May 2024 23:12:19 +0000 (01:12 +0200)] 
[3.13] GH-118447: Fix handling of unreadable symlinks in `os.path.realpath()` (GH-118489) (#119163)

(cherry picked from commit caf6064a1bc15ac344afd78b780188e60b9c628e)

Co-authored-by: Barney Gale <barney.gale@gmail.com>
Co-authored-by: Nice Zombies <nineteendo19d0@gmail.com>
17 months ago[3.13] gh-119050: Add type hints to libregrtest/results.py (GH-119144) (#119156)
Miss Islington (bot) [Sat, 18 May 2024 21:05:58 +0000 (23:05 +0200)] 
[3.13] gh-119050: Add type hints to libregrtest/results.py (GH-119144) (#119156)

gh-119050: Add type hints to libregrtest/results.py (GH-119144)

Sort also 'omitted' in TestResults.display_result().
(cherry picked from commit 30b4e9f9c42493136c58c56fee5553128bb32428)

Co-authored-by: Victor Stinner <vstinner@python.org>
17 months ago[3.13] gh-119132: Update sys.version to identify free-threaded or not. (gh-119134...
Miss Islington (bot) [Sat, 18 May 2024 20:49:11 +0000 (22:49 +0200)] 
[3.13] gh-119132: Update sys.version to identify free-threaded or not. (gh-119134) (#119153)

gh-119132: Update sys.version to identify free-threaded or not. (gh-119134)
(cherry picked from commit c141d4393750c827cbcb3867f0f42997a3bb3528)

Co-authored-by: Donghee Na <donghee.na@python.org>
17 months ago[3.13] docs: make mimalloc license text literal (GH-119046) (#119149)
Miss Islington (bot) [Sat, 18 May 2024 16:40:07 +0000 (18:40 +0200)] 
[3.13] docs: make mimalloc license text literal (GH-119046) (#119149)

docs: make mimalloc license text literal (GH-119046)
(cherry picked from commit 691429702f1cb657e65f4e5275bb5ed16121d2b7)

Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
17 months ago[3.13] gh-119132: Log sys._is_gil_enabled() in test.pythoninfo (GH-119140) (#119143)
Miss Islington (bot) [Sat, 18 May 2024 13:46:21 +0000 (15:46 +0200)] 
[3.13] gh-119132: Log sys._is_gil_enabled() in test.pythoninfo (GH-119140) (#119143)

gh-119132: Log sys._is_gil_enabled() in test.pythoninfo (GH-119140)
(cherry picked from commit 74072a3ffc733e32159e694bcf7a2198f2db0d43)

Co-authored-by: Victor Stinner <vstinner@python.org>
17 months ago[3.13] gh-119078: Clarify venv tutorial (GH-119129) (GH-119142)
Miss Islington (bot) [Sat, 18 May 2024 12:06:23 +0000 (14:06 +0200)] 
[3.13] gh-119078: Clarify venv tutorial (GH-119129) (GH-119142)

(cherry picked from commit 0f5e8bed636c2f29701e5a1965d1b088d33abbf0)

17 months ago[3.13] Minor improvements to the docs for itertools.tee() (gh-119135) (gh-119136)
Miss Islington (bot) [Sat, 18 May 2024 06:51:04 +0000 (08:51 +0200)] 
[3.13] Minor improvements to the docs for itertools.tee() (gh-119135) (gh-119136)

17 months ago[3.13] gh-119049: Fix incorrect display of warning which is constructed by C API...
Miss Islington (bot) [Fri, 17 May 2024 15:16:58 +0000 (17:16 +0200)] 
[3.13] gh-119049: Fix incorrect display of warning which is constructed by C API (GH-119063) (GH-119106)

The source line was not displayed if the warnings module had not yet
been imported.
(cherry picked from commit 100c7ab00ab66a8c0d54582f35e38d8eb691743c)

Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
17 months ago[3.13] Fix typos in documentation (GH-119092) (#119116)
Miss Islington (bot) [Fri, 17 May 2024 10:57:20 +0000 (12:57 +0200)] 
[3.13] Fix typos in documentation (GH-119092) (#119116)

Fix typos in documentation (GH-119092)
(cherry picked from commit 65de194dd80bbc8cb7098d21cfd6aefd11d0d0ce)

Co-authored-by: Xie Yanbo <xieyanbo@gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
17 months ago[3.13] GH-118943: Fix a race condition when generating jit_stencils.h (GH-119101)
Miss Islington (bot) [Thu, 16 May 2024 18:37:56 +0000 (20:37 +0200)] 
[3.13] GH-118943: Fix a race condition when generating jit_stencils.h (GH-119101)

(cherry picked from commit 4702b7b5bdc07d046576b4126cf4e4f5f7145abb)

17 months ago[3.13] Explain how to install LLVM on Fedora (GH-119100)
Miss Islington (bot) [Thu, 16 May 2024 16:57:40 +0000 (18:57 +0200)] 
[3.13] Explain how to install LLVM on Fedora (GH-119100)

(cherry picked from commit ab73bcdf73fed5a23f2e2e37a63d6992f29479a9)
Co-authored-by: Miro Hrončok <miro@hroncok.cz>
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
17 months ago[3.13] gh-108267: Fix object.__setattr__ regression in dataclasses docs (GH-119082...
Miss Islington (bot) [Thu, 16 May 2024 13:56:42 +0000 (15:56 +0200)] 
[3.13] gh-108267: Fix object.__setattr__ regression in dataclasses docs (GH-119082) (#119097)

Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
17 months ago[3.13] Add Tkinter tests for different events (GH-118778) (GH-119091)
Miss Islington (bot) [Thu, 16 May 2024 10:17:19 +0000 (12:17 +0200)] 
[3.13] Add Tkinter tests for different events (GH-118778) (GH-119091)

(cherry picked from commit b6839942a8906fccdd64e749abeefe8a61ce7e03)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
17 months ago[3.13] gh-119064: Use os_helper.FakePath instead of pathlib.Path in tests (GH-119065...
Miss Islington (bot) [Thu, 16 May 2024 07:51:18 +0000 (09:51 +0200)] 
[3.13] gh-119064: Use os_helper.FakePath instead of pathlib.Path in tests (GH-119065) (GH-119087)

(cherry picked from commit 0152dc4ff5534fa2948b95262e70ff6b202b9b99)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
17 months ago[3.13] Use literal syntax in origin property (GH-119029) (#119083)
Miss Islington (bot) [Thu, 16 May 2024 05:30:33 +0000 (07:30 +0200)] 
[3.13] Use literal syntax in origin property (GH-119029) (#119083)

Use literal syntax in origin property (GH-119029)
(cherry picked from commit 66b73e9724fc376715ae264c8282dc1e981e4f17)

Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
17 months ago[3.13] gh-119009: Add gettext target (GH-119006) (#119074)
Miss Islington (bot) [Wed, 15 May 2024 18:31:55 +0000 (20:31 +0200)] 
[3.13] gh-119009: Add gettext target (GH-119006) (#119074)

Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
17 months ago[3.13] gh-118760: Fix errors in calling Tkinter bindings on Windows (GH-118782) ...
Miss Islington (bot) [Wed, 15 May 2024 17:16:03 +0000 (19:16 +0200)] 
[3.13] gh-118760: Fix errors in calling Tkinter bindings on Windows (GH-118782) (GH-119072)

For unknown reasons some arguments for Tkinter binding can be created
as a 1-tuple containing a Tcl_Obj when wantobjects is 2.
(cherry picked from commit 5b88d95cc542cf02303c6fe0e8719a93544decdb)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
17 months ago[3.13] Remove references to private symbols from zipimport module docstring (GH-119071)
Miss Islington (bot) [Wed, 15 May 2024 16:52:48 +0000 (18:52 +0200)] 
[3.13] Remove references to private symbols from zipimport module docstring (GH-119071)

(cherry picked from commit 7d722b7d3ac78bfa74a5d2f21513ffbf4f85cff2)

Co-authored-by: Thomas Grainger <tagrain@gmail.com>
17 months agogh-118486: Simplify test_win32_mkdir_700 to check the exact ACL (GH-119056)
Miss Islington (bot) [Wed, 15 May 2024 11:21:27 +0000 (13:21 +0200)] 
gh-118486: Simplify test_win32_mkdir_700 to check the exact ACL (GH-119056)

(cherry picked from commit 94591dca510c796c7d40e9b4167ea56f2fdf28ca)

Co-authored-by: Steve Dower <steve.dower@python.org>
17 months ago[3.13] 3.13 What's New: Add PEP 702 (GH-118922) (#119062)
Miss Islington (bot) [Wed, 15 May 2024 02:56:37 +0000 (04:56 +0200)] 
[3.13] 3.13 What's New: Add PEP 702 (GH-118922) (#119062)

I honestly forgot this slipped into 3.13, but I think it's worth highlighting more, as it is a PEP-sized change that makes the type system significantly more powerful.

@Yhg1s I think it's also worth mentioning in your release announcements.
(cherry picked from commit ee13797dec988884f8792144fe5b3d7f5c8083c9)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
17 months ago[3.13] Misc improvements to the itertools docs (gh-119040) (#119045)
Miss Islington (bot) [Tue, 14 May 2024 15:38:53 +0000 (17:38 +0200)] 
[3.13] Misc improvements to the itertools docs (gh-119040) (#119045)

17 months ago[3.13] Itertools docs: fix parameter names and indentation in Python equivalents...
Miss Islington (bot) [Tue, 14 May 2024 15:11:31 +0000 (17:11 +0200)] 
[3.13] Itertools docs: fix parameter names and indentation in Python equivalents (gh-118977) (#119043)

17 months ago[3.13] typing tests: remove some unnecessary uses of `exec()` (GH-119005) (#119038)
Miss Islington (bot) [Tue, 14 May 2024 14:39:55 +0000 (16:39 +0200)] 
[3.13] typing tests: remove some unnecessary uses of `exec()` (GH-119005) (#119038)

(cherry picked from commit a9328e2b6ee05c186dcc552feb92b862b4a574df)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
17 months ago[3.13] Add yet few cases for urlparse/urlunparse roundtrip tests (GH-119031) (GH...
Miss Islington (bot) [Tue, 14 May 2024 14:23:40 +0000 (16:23 +0200)] 
[3.13] Add yet few cases for urlparse/urlunparse roundtrip tests (GH-119031) (GH-119037)

(cherry picked from commit 331d385af9817eaa32b739130227781358f85771)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
17 months ago[3.13] gh-67693: Fix urlunparse() and urlunsplit() for URIs with path starting with...
Miss Islington (bot) [Tue, 14 May 2024 09:47:05 +0000 (11:47 +0200)] 
[3.13] gh-67693: Fix urlunparse() and urlunsplit() for URIs with path starting with multiple slashes and no authority (GH-113563) (GH-119023)

(cherry picked from commit e237b25a4fa5626fcd1b1848aa03f725f892e40e)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
18 months ago[3.13] GH-118836: Fix JIT build error when SHT_NOTE section is present (GH-119020)
Miss Islington (bot) [Mon, 13 May 2024 22:17:34 +0000 (00:17 +0200)] 
[3.13] GH-118836: Fix JIT build error when SHT_NOTE section is present (GH-119020)

(cherry picked from commit e04cd964eb4eee1b0ae5b2c34727abce6c0fb7f0)

Co-authored-by: Michał Górny <mgorny@gentoo.org>
18 months ago[3.13] gh-118998: Handle errors correctly in `tmtotuple` in `timemodule` (GH-118999...
Miss Islington (bot) [Mon, 13 May 2024 21:43:23 +0000 (23:43 +0200)] 
[3.13] gh-118998: Handle errors correctly in `tmtotuple` in `timemodule` (GH-118999) (#119018)

gh-118998: Handle errors correctly in `tmtotuple` in `timemodule` (GH-118999)
(cherry picked from commit fc757925944a9486d4244853dbe6e37ab3e560c2)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
18 months ago[3.13] gh-119010: Adds docs about `__type_params__` to `functools.update_wrapper...
Miss Islington (bot) [Mon, 13 May 2024 20:19:10 +0000 (22:19 +0200)] 
[3.13] gh-119010: Adds docs about `__type_params__` to `functools.update_wrapper` (GH-119012) (#119013)

gh-119010: Adds docs about `__type_params__` to `functools.update_wrapper` (GH-119012)
(cherry picked from commit b04c497f187b0b474e431a6d8d282269b40ffe52)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
18 months ago[3.13] gh-58933: Make pdb return to caller frame correctly when f_trace is not set...
Miss Islington (bot) [Mon, 13 May 2024 19:18:03 +0000 (21:18 +0200)] 
[3.13] gh-58933: Make pdb return to caller frame correctly when f_trace is not set (GH-118979) (#119007)

gh-58933: Make pdb return to caller frame correctly when f_trace is not set (GH-118979)
(cherry picked from commit f526314194f7fd15931025f8a4439c1765666e42)

Co-authored-by: Tian Gao <gaogaotiantian@hotmail.com>
18 months agogh-118876: Ensure PC/layout sets ns.temp before using it (GH-118880)
Miss Islington (bot) [Mon, 13 May 2024 11:56:26 +0000 (13:56 +0200)] 
gh-118876: Ensure PC/layout sets ns.temp before using it (GH-118880)

Fixes an AttributeError that occurs when checking if ns.temp is an absolute path during building from source on Windows.
(cherry picked from commit d8a82cca12e12a6b22bfe6691e9b222f6d276f0a)

Co-authored-by: I-Shen Leong <i-shenl@activestate.com>
18 months ago[3.13] Improve the `rmtree` doc for `dir_fd` param addition in 3.11 (GH-118964) ...
Miss Islington (bot) [Mon, 13 May 2024 11:21:10 +0000 (13:21 +0200)] 
[3.13] Improve the `rmtree` doc for `dir_fd` param addition in 3.11 (GH-118964) (#118991)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
18 months ago[3.13] gh-87106: Fix inspect.signature.bind() handling of positional-only arguments...
Miss Islington (bot) [Mon, 13 May 2024 08:35:31 +0000 (10:35 +0200)] 
[3.13] gh-87106: Fix inspect.signature.bind() handling of positional-only arguments with **kwargs (GH-103404) (#118985)

(cherry picked from commit 9c1520244151f36e010c1b04bedf14747a28517d)

Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
18 months ago[3.13] GH-118844: Fix build failures when combining --disable-gil with --enable-exper...
Miss Islington (bot) [Mon, 13 May 2024 04:53:30 +0000 (06:53 +0200)] 
[3.13] GH-118844: Fix build failures when combining --disable-gil with --enable-experimental-jit (GH-118959)

(cherry picked from commit 5b941e57c71d7d0ab983d81a169f892662cfe446)

Co-authored-by: Savannah Ostrowski <savannahostrowski@gmail.com>
18 months ago[3.13] gh-118899: Add tests for `NotImplemented` attribute access (GH-118902) (#118968)
Miss Islington (bot) [Sun, 12 May 2024 14:23:45 +0000 (16:23 +0200)] 
[3.13] gh-118899: Add tests for `NotImplemented` attribute access (GH-118902) (#118968)

gh-118899: Add tests for `NotImplemented` attribute access (GH-118902)
(cherry picked from commit ec1398e117fb142cc830495503dbdbb1ddafe941)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
18 months ago[3.13] gh-117655: Prevent `test_strptime` from raising a DeprecationWarning (GH-11766...
Miss Islington (bot) [Sat, 11 May 2024 22:18:23 +0000 (00:18 +0200)] 
[3.13] gh-117655: Prevent `test_strptime` from raising a DeprecationWarning (GH-117668) (GH-118956)

gh-117655: Prevent `test_strptime` from raising a DeprecationWarning (GH-117668)

* Fix `test_strptime` raises a DeprecationWarning
* Ignore deprecation warnings where appropriate.
* Update Lib/test/datetimetester.py

This is follow on work to silence unnecessary warnings from the test suite that changes for https://github.com/python/cpython/issues/70647 added.
(cherry picked from commit abead548af0172dabba13da8bacf2da3c02d4927)

Co-authored-by: Nice Zombies <nineteendo19d0@gmail.com>
18 months ago[3.13] gh-118921: Add `copy()` method for `FrameLocalsProxy` (GH-118923) (#118933)
Miss Islington (bot) [Fri, 10 May 2024 23:15:54 +0000 (01:15 +0200)] 
[3.13] gh-118921: Add `copy()` method for `FrameLocalsProxy` (GH-118923) (#118933)

(cherry picked from commit 35c436186b849f8f2f9fb866c59015c9d034d448)

Co-authored-by: Tian Gao <gaogaotiantian@hotmail.com>
18 months ago[3.13] gh-117657: Log TSAN warnings to separate files and archive them (GH-118747...
Miss Islington (bot) [Fri, 10 May 2024 22:27:17 +0000 (00:27 +0200)] 
[3.13] gh-117657: Log TSAN warnings to separate files and archive them (GH-118747) (#118931)

This ensures we don't lose races that occur in subprocesses or
interleave races from workers running in parallel.

Log files are collected and packaged into a zipfile that can be
downloaded from the "Artifacts" section of the workflow run.
(cherry picked from commit b88889e9ffd7b2d2bdac75aecbf14e37fd68e337)

Co-authored-by: mpage <mpage@meta.com>
18 months ago[3.13] gh-118846: Fix free-threading test failures when run sequentially (GH-118864...
Miss Islington (bot) [Fri, 10 May 2024 20:50:59 +0000 (22:50 +0200)] 
[3.13] gh-118846: Fix free-threading test failures when run sequentially (GH-118864) (#118927)

The free-threaded build currently immortalizes some objects once the
first thread is started. This can lead to test failures depending on the
order in which tests are run. This PR addresses those failures by
suppressing immortalization or skipping the affected tests.
(cherry picked from commit b309c8ebff011f27012367b046ff92eecbdd68a5)

Co-authored-by: Sam Gross <colesbury@gmail.com>
18 months ago[3.13] Rename typing._collect_parameters (GH-118900) (#118917)
Miss Islington (bot) [Fri, 10 May 2024 17:40:39 +0000 (19:40 +0200)] 
[3.13] Rename typing._collect_parameters (GH-118900) (#118917)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
18 months ago[3.13] gh-118895: Call PyType_Ready() on typing.NoDefault (GH-118897) (#118914)
Miss Islington (bot) [Fri, 10 May 2024 16:36:33 +0000 (18:36 +0200)] 
[3.13] gh-118895: Call PyType_Ready() on typing.NoDefault (GH-118897) (#118914)

(cherry picked from commit 13d7cf997bc9c22cf67c42fd799413e8325e0039)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
18 months ago[3.13] gh-117657: Fix QSBR race condition (GH-118843) (#118905)
Miss Islington (bot) [Fri, 10 May 2024 15:13:17 +0000 (17:13 +0200)] 
[3.13] gh-117657: Fix QSBR race condition (GH-118843) (#118905)

`_Py_qsbr_unregister` is called when the PyThreadState is already
detached, so the access to `tstate->qsbr` isn't safe without locking the
shared mutex. Grab the `struct _qsbr_shared` from the interpreter
instead.
(cherry picked from commit 33d20199af65c741bdc908a968edd8dc179b6974)

Co-authored-by: Alex Turner <alexturner@meta.com>
18 months ago[3.13] Correct the argument names for `secrets.choice` and `secrets.randbelow` in...
Miss Islington (bot) [Fri, 10 May 2024 14:56:33 +0000 (16:56 +0200)] 
[3.13] Correct the argument names for `secrets.choice` and `secrets.randbelow` in `secrets.rst` (GH-118098) (GH-118906)

Correct the argument names for `secrets.choice` and `secrets.randbelow` in `secrets.rst` (GH-118098)

Correct the argument names for `secrets.choice` and `secrets.randbelow` in `secrets.rst`.
(cherry picked from commit c444362c6e0b6c01f49c3bee864100f52bd3b640)

Co-authored-by: Adam Dangoor <adamdangoor@gmail.com>
18 months ago[3.13] gh-117657: Fix data races reported by TSAN on `interp->threads.main` (GH-11886...
Miss Islington (bot) [Fri, 10 May 2024 14:40:06 +0000 (16:40 +0200)] 
[3.13] gh-117657: Fix data races reported by TSAN on `interp->threads.main` (GH-118865) (#118904)

Use relaxed loads/stores when reading/writing to this field.
(cherry picked from commit 22d5185308f85efa22ec1e8251c409fe1cbd9e6b)

Co-authored-by: mpage <mpage@meta.com>
18 months ago[3.13] gh-118789: Restore hidden `_PyWeakref_ClearRef` (GH-118797) (GH-118903)
Miss Islington (bot) [Fri, 10 May 2024 14:20:22 +0000 (16:20 +0200)] 
[3.13] gh-118789: Restore hidden `_PyWeakref_ClearRef` (GH-118797) (GH-118903)

gh-118789: Restore hidden `_PyWeakref_ClearRef` (GH-118797)

_PyWeakref_ClearRef was previously exposed in the public C-API, although
it begins with an underscore and is not documented. It's used by a few
C-API extensions. There is currently no alternative public API that can
replace its use.

_PyWeakref_ClearWeakRefsExceptCallbacks is the only thread-safe way to
use _PyWeakref_ClearRef in the free-threaded build. This exposes the C
symbol, but does not make the API public.
(cherry picked from commit db5af7da092409030c9fbe0a3a986bd0ee441b8b)

Co-authored-by: Sam Gross <colesbury@gmail.com>
18 months ago[3.13] Rename `notimplemented_methods` into `nodefault_methods` (GH-118896) (#118898)
Miss Islington (bot) [Fri, 10 May 2024 13:08:31 +0000 (15:08 +0200)] 
[3.13] Rename `notimplemented_methods` into `nodefault_methods` (GH-118896) (#118898)

Rename `notimplemented_methods` into `nodefault_methods` (GH-118896)
(cherry picked from commit 004db2170ecfc27fc8ceea29fee0a10c1b7dafdf)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
18 months agogh-118209: Add Windows structured exception handling to mmap module (GH-118213)
Miss Islington (bot) [Fri, 10 May 2024 11:00:00 +0000 (13:00 +0200)] 
gh-118209: Add Windows structured exception handling to mmap module (GH-118213)

(cherry picked from commit e85e8deaf3220c8d12b69294e45645aaf20187b9)

Co-authored-by: Dobatymo <Dobatymo@users.noreply.github.com>
18 months agogh-118689: Doc: fix ePub build (GH-118690)
Miss Islington (bot) [Fri, 10 May 2024 10:40:35 +0000 (12:40 +0200)] 
gh-118689: Doc: fix ePub build (GH-118690)

(cherry picked from commit 7ac933e2609b2ef9b08ccf9c815b682b0e1ede2a)

Co-authored-by: Inada Naoki <songofacandy@gmail.com>
18 months agoFix some missing null checks. (GH-118721)
Miss Islington (bot) [Fri, 10 May 2024 10:01:00 +0000 (12:01 +0200)] 
Fix some missing null checks. (GH-118721)

(cherry picked from commit 7e6fcab20003b07621dc02ea78d6ea2fda500371)

Co-authored-by: Steve Dower <steve.dower@python.org>
18 months ago[3.13] Revert "gh-115432: Add critical section variant that handles a NULL object...
Miss Islington (bot) [Thu, 9 May 2024 23:06:35 +0000 (01:06 +0200)] 
[3.13] Revert "gh-115432: Add critical section variant that handles a NULL object (GH-115433)" (GH-118861) (#118872)

This reverts commit ad4f909e0e7890e027c4ae7fea74586667242ad3.

The API ended up not being used.
(cherry picked from commit 46c808172fd3148e3397234b23674bf70734fb55)

Co-authored-by: Sam Gross <colesbury@gmail.com>
18 months ago[3.13] gh-118851: Default ctx arguments to AST constructors to Load() (GH-118854...
Miss Islington (bot) [Thu, 9 May 2024 22:52:42 +0000 (00:52 +0200)] 
[3.13] gh-118851: Default ctx arguments to AST constructors to Load() (GH-118854) (#118871)

(cherry picked from commit 68fbc00dc870f6a8dcbecd2ec19298e21015867f)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
18 months ago[3.13] gh-117657: Replace TSAN suppresions with more specific rules (GH-118722) ...
Miss Islington (bot) [Thu, 9 May 2024 21:36:25 +0000 (23:36 +0200)] 
[3.13] gh-117657: Replace TSAN suppresions with more specific rules (GH-118722) (#118870)

Using `race:` filters out warnings if the function appears anywhere in
the stack trace. This can hide a lot of unrelated warnings, especially
for a function like `_PyEval_EvalFrameDefault`, which is somewhere on
the stack more often than not.

Change all free-threaded suppressions to `race_top:`, which only matches
the top frame, and add any new suppressions this exposes.
(cherry picked from commit 98ff3f65c0232f31df89ebb52b244625ec9e3eb6)

Co-authored-by: Brett Simmers <swtaarrs@users.noreply.github.com>
18 months ago[3.13] gh-118846: Fix PGO tests in free-threaded build (GH-118862) (#118867)
Miss Islington (bot) [Thu, 9 May 2024 20:34:22 +0000 (22:34 +0200)] 
[3.13] gh-118846: Fix PGO tests in free-threaded build (GH-118862) (#118867)

Avoid immortalizing objects in tests that verify garbage collection of
classes or modules.

This fixes test_ordered_dict and test_struct.
(cherry picked from commit 1b1db2fd9a531e26b79b34667bccfb938c4d184d)

Co-authored-by: Sam Gross <colesbury@gmail.com>
18 months ago[3.13] gh-116984: Make mimalloc header includes relative to the current file (GH...
Miss Islington (bot) [Thu, 9 May 2024 20:26:36 +0000 (22:26 +0200)] 
[3.13] gh-116984: Make mimalloc header includes relative to the current file (GH-118808) (#118866)

Some embedders and extensions include parts of the internal API. The
pycore_mimalloc.h file is transitively include by a number of other
internal headers. This avoids include errors for code that was
already including those headers.
(cherry picked from commit 71cc0651e79041abd648595f3030dfa41009137a)

Co-authored-by: Sam Gross <colesbury@gmail.com>
18 months ago[3.13] gh-118561: Fix crash involving list.extend in free-threaded build (GH-118723...
Miss Islington (bot) [Thu, 9 May 2024 19:14:47 +0000 (21:14 +0200)] 
[3.13] gh-118561: Fix crash involving list.extend in free-threaded build (GH-118723) (#118863)

The `list_preallocate_exact` function did not zero initialize array
contents. In the free-threaded build, this could expose uninitialized
memory to concurrent readers between the call to
`list_preallocate_exact` and the filling of the array contents with
items.
(cherry picked from commit 2402715e10d00ef60fad2948d8461559d084eb36)

Co-authored-by: Sam Gross <colesbury@gmail.com>
18 months ago[3.13] gh-118849: Fix "code will never be executed" warning in `dictobject.c` (GH...
Miss Islington (bot) [Thu, 9 May 2024 17:40:48 +0000 (19:40 +0200)] 
[3.13] gh-118849: Fix "code will never be executed" warning in `dictobject.c` (GH-118850) (#118859)

gh-118849: Fix "code will never be executed" warning in `dictobject.c` (GH-118850)
(cherry picked from commit 82abe75e77129bebb3c13d807e8040f6924194f6)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
18 months agogh-118773: Use language-invariant SDDL string instead of aliases for ACLs. (GH-118800)
Miss Islington (bot) [Thu, 9 May 2024 17:11:11 +0000 (19:11 +0200)] 
gh-118773: Use language-invariant SDDL string instead of aliases for ACLs. (GH-118800)

(cherry picked from commit 8af84b503d0b62a3db0d806d39f42c1e08746079)

Co-authored-by: Steve Dower <steve.dower@python.org>
18 months ago[3.13] gh-117657: Acquire a critical section around `SemLock.__{enter,exit}__` (GH...
Miss Islington (bot) [Thu, 9 May 2024 16:31:38 +0000 (18:31 +0200)] 
[3.13] gh-117657: Acquire a critical section around `SemLock.__{enter,exit}__` (GH-118812) (#118856)

These methods are purely wrappers around `Semlock.{acquire,release}`,
which expect a critical section to be held.
(cherry picked from commit c30d8e5d6c6b657817d6b342f1021676d04dd5af)

Co-authored-by: mpage <mpage@meta.com>
18 months ago[3.13] gh-118817: Fix `asyncio REPL` on Windows (GH-118819) (#118847)
Miss Islington (bot) [Thu, 9 May 2024 15:47:31 +0000 (17:47 +0200)] 
[3.13] gh-118817: Fix `asyncio REPL` on Windows (GH-118819) (#118847)

(cherry picked from commit c3643a121401d111bebd3e26d6f362ade2ed2a83)

Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
18 months agogh-118802: Fix ACL use in test for non-English Windows (GH-118831)
Miss Islington (bot) [Thu, 9 May 2024 13:38:43 +0000 (15:38 +0200)] 
gh-118802: Fix ACL use in test for non-English Windows (GH-118831)

(cherry picked from commit 82acc5f2113bffd0ed902851f4ccf5b9be8980b2)

Co-authored-by: Steve Dower <steve.dower@python.org>
18 months ago[3.13] gh-103956: Fix `trace` output in case of missing source line (GH-103958) ...
Miss Islington (bot) [Thu, 9 May 2024 13:05:37 +0000 (15:05 +0200)] 
[3.13] gh-103956: Fix `trace` output in case of missing source line (GH-103958) (GH-118834)

Print only filename with lineno if linecache.getline() returns an empty string.
(cherry picked from commit 7c87ce777b3fd9055b118a58ec8614901ecb45e9)

Co-authored-by: Radislav Chugunov <52372310+chgnrdv@users.noreply.github.com>
18 months agogh-118486: Update docs for CVE-2024-4030 reference (GH-118737)
Steve Dower [Thu, 9 May 2024 11:52:11 +0000 (12:52 +0100)] 
gh-118486: Update docs for CVE-2024-4030 reference (GH-118737)

Update docs for CVE-2024-4030 reference

18 months ago[3.13] gh-118033: Fix `__weakref__` not set for generic dataclasses (GH-118099) ...
Miss Islington (bot) [Thu, 9 May 2024 09:02:22 +0000 (11:02 +0200)] 
[3.13] gh-118033: Fix `__weakref__` not set for generic dataclasses (GH-118099) (#118821)

gh-118033: Fix `__weakref__` not set for generic dataclasses (GH-118099)
(cherry picked from commit fa9b9cb11379806843ae03b1e4ad4ccd95a63c02)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
18 months ago[3.13] [tests]: Mark ``test_statistics.test_kde_random`` with a ``requires_resource...
Miss Islington (bot) [Thu, 9 May 2024 08:43:03 +0000 (10:43 +0200)] 
[3.13] [tests]: Mark ``test_statistics.test_kde_random`` with a ``requires_resource('cpu')`` decorator (GH-118801) (#118818)

[tests]: Mark ``test_statistics.test_kde_random`` with a ``requires_resource('cpu')`` decorator (GH-118801)

Mark test_kde_random with a requires_resource('cpu') decorator
(cherry picked from commit 027e6d88fb898b7477b822b84f791ca60e64300b)

Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
18 months ago[3.13] gh-117657: Fix data races when writing / reading `ob_gc_bits` (GH-118292)...
Miss Islington (bot) [Wed, 8 May 2024 21:31:37 +0000 (23:31 +0200)] 
[3.13] gh-117657: Fix data races when writing / reading `ob_gc_bits` (GH-118292) (#118796)

Use relaxed atomics when reading / writing to the field. There are still a
few places in the GC where we do not use atomics. Those should be safe as
the world is stopped.
(cherry picked from commit cb6f75a32ca2649c6cc1cabb0301eb783efbd55b)

Co-authored-by: mpage <mpage@meta.com>
18 months ago[3.13] Format None, True, False and NotImplemented as literals (GH-118758) (GH-118792)
Miss Islington (bot) [Wed, 8 May 2024 19:55:12 +0000 (21:55 +0200)] 
[3.13] Format None, True, False and NotImplemented as literals (GH-118758) (GH-118792)

(cherry picked from commit 05c2fe1acda9ea5a57061642c36e8b73bb4fbba4)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
18 months ago[3.13] docs: module page titles should not start with a link to themselves (GH-117099...
Miss Islington (bot) [Wed, 8 May 2024 19:52:39 +0000 (21:52 +0200)] 
[3.13] docs: module page titles should not start with a link to themselves (GH-117099) (#118790)

docs: module page titles should not start with a link to themselves (GH-117099)
(cherry picked from commit bcb435ee8ff41b5ec5d879ee0b6651f146a66151)

Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
18 months ago[3.13] gh-118772: Allow TypeVars without a default to follow those with a default...
Miss Islington (bot) [Wed, 8 May 2024 19:31:41 +0000 (21:31 +0200)] 
[3.13] gh-118772: Allow TypeVars without a default to follow those with a default when constructing aliases (GH-118774) (#118776)

(cherry picked from commit aac6b019fe91e2f9f7a955d4fc4db5d5efd968c9)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
18 months ago[3.13] Docs: fix typos in documentation (GH-118752) (#118787)
Miss Islington (bot) [Wed, 8 May 2024 19:24:39 +0000 (21:24 +0200)] 
[3.13] Docs: fix typos in documentation (GH-118752) (#118787)

Docs: fix typos in documentation (GH-118752)
(cherry picked from commit 7b0c247f1c176e092777fce4677a00f22c738b3c)

Co-authored-by: Xie Yanbo <xieyanbo@gmail.com>
18 months ago[3.13] Run CI on the 3.13 branch (GH-118779) (#118781)
Miss Islington (bot) [Wed, 8 May 2024 18:43:25 +0000 (20:43 +0200)] 
[3.13] Run CI on the 3.13 branch (GH-118779) (#118781)

(cherry picked from commit c68311df8543384e04fe994b3d4f4718cca1040e)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
18 months agoPost 3.13.0b1
Thomas Wouters [Wed, 8 May 2024 14:53:50 +0000 (16:53 +0200)] 
Post 3.13.0b1

18 months agoPython 3.13.0b1 v3.13.0b1
Thomas Wouters [Wed, 8 May 2024 09:10:41 +0000 (11:10 +0200)] 
Python 3.13.0b1

18 months agogh-118671: Updated dead ActiveState links (#118730)
trag1c [Wed, 8 May 2024 07:06:38 +0000 (09:06 +0200)] 
gh-118671: Updated dead ActiveState links (#118730)

Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
18 months agoRegen ``Doc/requirements-oldest-sphinx.txt`` (#118736)
Kirill Podoprigora [Wed, 8 May 2024 05:59:17 +0000 (08:59 +0300)] 
Regen ``Doc/requirements-oldest-sphinx.txt`` (#118736)

Regen dependencies

18 months agogh-118746: Fix crash in frame_getlocals and _PyFrame_GetLocals (#118748)
Tian Gao [Wed, 8 May 2024 00:48:05 +0000 (17:48 -0700)] 
gh-118746: Fix crash in frame_getlocals and _PyFrame_GetLocals (#118748)

We don't know how to create an unoptimized frame with f_locals == NULL,
but they are seen in the wild, and this fixes the crash.

18 months agogh-118610: Centralize power caching in `_pylong.py` (#118611)
Tim Peters [Wed, 8 May 2024 00:09:09 +0000 (19:09 -0500)] 
gh-118610: Centralize power caching in `_pylong.py` (#118611)

A new `compute_powers()` function computes all and only the powers of the base the various base-conversion functions need, as efficiently as reasonably possible (turns out that invoking `**`is needed at most once). This typically gives a few % speedup, but the primary point is to simplify the base-conversion functions, which no longer need their own, ad hoc, and less efficient power-caching schemes.

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
18 months agoRevert to free macOS runners (#118744)
Łukasz Langa [Tue, 7 May 2024 23:40:38 +0000 (01:40 +0200)] 
Revert to free macOS runners (#118744)

18 months agogh-118734: Fixes Windows build when Use_TIER2 is unspecified (#118735)
Steve Dower [Tue, 7 May 2024 21:01:18 +0000 (22:01 +0100)] 
gh-118734: Fixes Windows build when Use_TIER2 is unspecified (#118735)

18 months agogh-109975: Make a rough editorial pass over What's New (#118711)
T. Wouters [Tue, 7 May 2024 21:00:25 +0000 (23:00 +0200)] 
gh-109975: Make a rough editorial pass over What's New (#118711)

Make a rough editorial pass over Python 3.13's What's New document. Add the
release highlights, remove or merge some duplicated entries, and reorder
some of the sections (removals should really go before future deprecations).

18 months agogh-118518: Check for perf version and not kernel version in test_perf_profiler (...
Pablo Galindo Salgado [Tue, 7 May 2024 19:41:07 +0000 (20:41 +0100)] 
gh-118518: Check for perf version and not kernel version in test_perf_profiler (#118640)

18 months agogh-118729: Temporarily skip `test_multiprocessing_pool_circular_import` (#118732)
Sam Gross [Tue, 7 May 2024 19:27:28 +0000 (15:27 -0400)] 
gh-118729: Temporarily skip `test_multiprocessing_pool_circular_import` (#118732)

The `pool_in_threads.py` test file may crash in free-threaded builds,
which can lead to the Tsan test hanging. Skip it for now until we fix
the underlying issue.

18 months agogh-118650: Document `Enum._repr_*` reservation exclusion (GH-118698)
chrysn [Tue, 7 May 2024 18:11:18 +0000 (20:11 +0200)] 
gh-118650: Document `Enum._repr_*` reservation exclusion (GH-118698)

18 months agogh-118518: Improve perf docs (#118708)
Pablo Galindo Salgado [Tue, 7 May 2024 16:25:15 +0000 (17:25 +0100)] 
gh-118518: Improve perf docs (#118708)

18 months agogh-111201: Allow pasted code to contain multiple statements in the REPL (#118712)
Pablo Galindo Salgado [Tue, 7 May 2024 16:01:49 +0000 (17:01 +0100)] 
gh-111201: Allow pasted code to contain multiple statements in the REPL (#118712)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
18 months agobpo-115773: Use the right variable name based on the field we are trying read (#118591)
Abhinav Upadhyay [Tue, 7 May 2024 14:50:41 +0000 (20:20 +0530)] 
bpo-115773: Use the right variable name based on the field we are trying read (#118591)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>