summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* [3.12] GH-109190: Copyedit 3.12 What's New: Consistently show module names ↵Miss Islington (bot)2023-09-221-19/+19
| | | | | | | | (GH-109664) (#109713) (cherry picked from commit 291401389bf76981688d82a0d7bb61fb8355ff14) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* [3.12] GH-109190: Copyedit 3.12 What's New: calendar (GH-109662) (#109716)Hugo van Kemenade2023-09-221-1/+2
| | | | | (cherry picked from commit 34ddcc3fa118168901fa0d3a69b3b5444fc2f943) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* [3.12] GH-109190: Copyedit 3.12 What's New: tokenize (GH-109663) (#109715)Miss Islington (bot)2023-09-221-2/+2
| | | | | (cherry picked from commit d3fe1a902fd060cc9fb41b768cc1e3ca5b52244d) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* [3.12] GH-109190: Copyedit 3.12 What's New: PEP 701 (GH-109655) (#109689)Miss Islington (bot)2023-09-221-15/+17
| | | | | (cherry picked from commit e47d12e222507b1873a81f6955fdd3cfb8293b65) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* [3.12] GH-109190: Copyedit 3.12 What's New: Improved Error Messages ↵Miss Islington (bot)2023-09-221-6/+5
| | | | | | | (GH-109654) (#109687) (cherry picked from commit 16c24023c1f69f66d1e3313033be275a43329030) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* [3.12] GH-109190: Copyedit 3.12 What's New: Typing PEPs (GH-109659) (#109684)Miss Islington (bot)2023-09-221-4/+6
| | | | | (cherry picked from commit 11636788da9e5e64ceef2ac80df330e8170a8d08) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* [3.12] GH-109190: Copyedit 3.12 What's New: PEP 709 (GH-109656) (#109681)Miss Islington (bot)2023-09-221-7/+5
| | | | | (cherry picked from commit 22b70ca480f5a2d19d3123cd35ab968fa65f224d) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* [3.12] Misc itertool recipe improvements, mostly docstrings and comments ↵Miss Islington (bot)2023-09-221-37/+44
| | | | | | | | (gh-109555) (#109572) (cherry picked from commit f2636d2c45aae0a04960dcfbc7d9a2a8a36ba3bc) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
* [3.12] GH-109209: Bump the minimum Sphinx version to 4.2 (GH-109210) (#109636)Miss Islington (bot)2023-09-224-8/+7
| | | | | | GH-109209: Bump the minimum Sphinx version to 4.2 (GH-109210) (cherry picked from commit 712cb173f8e1d02c625a40ae03bba57b0c1c032a) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* Post 3.12.0rc3Thomas Wouters2023-09-191-1/+1
|
* Python 3.12.0rc3v3.12.0rc3Thomas Wouters2023-09-1833-90/+323
|
* [3.12] gh-109496: Detect Py_DECREF() after dealloc in debug mode (GH-109539) ↵Miss Islington (bot)2023-09-184-16/+56
| | | | | | | | | | | | | | | | | (#109545) gh-109496: Detect Py_DECREF() after dealloc in debug mode (GH-109539) On a Python built in debug mode, Py_DECREF() now calls _Py_NegativeRefcount() if the object is a dangling pointer to deallocated memory: memory filled with 0xDD "dead byte" by the debug hook on memory allocators. The fix is to check the reference count *before* checking for _Py_IsImmortal(). Add test_decref_freed_object() to test_capi.test_misc. (cherry picked from commit 0bb0d88e2d4e300946e399e088e2ff60de2ccf8c) Co-authored-by: Victor Stinner <vstinner@python.org>
* [3.12] gh-109408: Azure Pipelines: test 3.12 branch (GH-109453) (#109535)Miss Islington (bot)2023-09-182-2/+2
| | | | | | gh-109408: Azure Pipelines: test 3.12 branch (GH-109453) (cherry picked from commit dd5d2141abf78fcd787f12654f08bf1ee92288bf) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* [3.12] gh-109371: Fix monitoring with instruction events set (gh-109385) ↵Miss Islington (bot)2023-09-184-2/+33
| | | | | | | | (#109542) gh-109371: Fix monitoring with instruction events set (gh-109385) (cherry picked from commit 412f5e85d6b9f2e90c57c54539d06c7a025a472a) Co-authored-by: Tian Gao <gaogaotiantian@hotmail.com>
* [3.12] gh-108843: fix ast.unparse for f-string with many quotes (GH-108981) ↵Miss Islington (bot)2023-09-183-1/+35
| | | | | | | | (#109541) gh-108843: fix ast.unparse for f-string with many quotes (GH-108981) (cherry picked from commit 23f9f6f46454455bc6015e83ae5b5e946dae7698) Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
* [3.12] gh-102251: Disable non-rerunnable test in test_import (GH-106013) ↵Miss Islington (bot)2023-09-181-4/+20
| | | | | | | | (#109540) gh-102251: Disable non-rerunnable test in test_import (GH-106013) (cherry picked from commit 4849a80dd1cbbc5010e8749ba60eb91a541ae4e7) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
* [3.12] Fix extraneous backslashes in hashlib docs (GH-109468) (#109530)Miss Islington (bot)2023-09-181-12/+12
| | | | | | Fix extraneous backslashes in hashlib docs (GH-109468) (cherry picked from commit ce5b3e19e6fb940fa72db1b98a8df80f6e464265) Co-authored-by: Anthony Sottile <asottile@umich.edu>
* [3.12] gh-109408: Remove Ubuntu unit tests from Azure Pipelines (GH-109452) ↵Miss Islington (bot)2023-09-173-54/+8
| | | | | | | | | (#109519) gh-109408: Remove Ubuntu unit tests from Azure Pipelines (GH-109452) (cherry picked from commit a75daed7e004ee9a53b160307c4c072656176a02) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* [3.12] gh-109451: Fix wrong format specifier in logging documentation ↵Miss Islington (bot)2023-09-171-1/+1
| | | | | | | | (GH-109465) (#109483) gh-109451: Fix wrong format specifier in logging documentation (GH-109465) (cherry picked from commit 929cc4e4a0999b777e1aa94f9c007db720e67f43) Co-authored-by: AlberLC <37489786+AlberLC@users.noreply.github.com>
* [3.12] gh-109414: Add some basic information about venvs in the ↵Miss Islington (bot)2023-09-171-0/+19
| | | | | | | | | introduction. (GH-109440) (#109481) gh-109414: Add some basic information about venvs in the introduction. (GH-109440) (cherry picked from commit a6846d45ff3c836bc859c40e7684b57df991dc05) Co-authored-by: Vinay Sajip <vinay_sajip@yahoo.co.uk> Co-authored-by: Victor Stinner <vstinner@python.org>
* [3.12] gh-109474: Update two Unix packaging URLs (GH-109307) (#109477)Miss Islington (bot)2023-09-171-2/+2
| | | | | | | | | | gh-109474: Update two Unix packaging URLs (GH-109307) update packaging URLs fix a broken URL for fedora RPM packaging guide and fix a URL redirect for Slackware packaging guide. (cherry picked from commit 0b38ce440bd76b3d25b6d042ee9613841fb4a947) Co-authored-by: partev <petrosyan@gmail.com>
* [3.12] gh-109096: Silence test_httpservers fork + threads DeprecationWarning ↵Gregory P. Smith2023-09-171-1/+6
| | | | | | | | | | | | | | | on CGI support (#109471) [3.12] gh-109096: Silence test_httpservers fork + threads DeprecationWarning on CGI support. We're not fixing CGIHTTPRequestHandler as it is deprecated in 3.13 to go away in 3.15. This just removes noise from our test suite when warnings are rightfully enabled. If the long pre-existing fork+threading mix here ever causes anyone deadlocks as is possible, disabling the test entirely on that platform makes sense rather than attempting to fix http.server.CGIHTTPRequestHandler or refactor to not use a threaded server in the test.
* [3.12] Docs: Superseded modules: list only module names (GH-109439) (#109445)Miss Islington (bot)2023-09-151-0/+1
| | | | | | Docs: Superseded modules: list only module names (GH-109439) (cherry picked from commit b434dd7e3625d442392b4adf952685c8adf769f7) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* [3.12] gh-109395: Remove skipped macOS builds from Azure Pipelines ↵Miss Islington (bot)2023-09-153-65/+0
| | | | | | | | | (GH-109400) (#109441) gh-109395: Remove skipped macOS builds from Azure Pipelines (GH-109400) (cherry picked from commit 1ece084be3684e06101aa1efa82d3ed98c99c432) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* [3.12] gh-109395: Remove skipped coverage job from Azure Pipelines ↵Miss Islington (bot)2023-09-153-101/+9
| | | | | | | | (GH-109412) (#109433) gh-109395: Remove skipped coverage job from Azure Pipelines (GH-109412) (cherry picked from commit fa493900fbf19cbfac44164f3d8acb4f598ff3c1) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* [3.12] gh-109219: propagate free vars through type param scopes (GH-109377) ↵Miss Islington (bot)2023-09-143-3/+17
| | | | | | | | | (#109410) gh-109219: propagate free vars through type param scopes (GH-109377) (cherry picked from commit 909adb5092c0ae9426814742d97932204b211cfb) Co-authored-by: Carl Meyer <carl@oddbird.net> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* [3.12] gh-109396: Fix test_socket.test_hmac_sha1() in FIPS mode (GH-109423) ↵Miss Islington (bot)2023-09-142-3/+10
| | | | | | | | | | | (#109426) gh-109396: Fix test_socket.test_hmac_sha1() in FIPS mode (GH-109423) Use a longer key: FIPS mode requires at least of at least 112 bits. The previous key was only 32 bits. (cherry picked from commit e091b9f20fa8e409003af79f3c468b8225e6dcd3) Co-authored-by: Victor Stinner <vstinner@python.org>
* [3.12] gh-101100: Fix sphinx warnings in `turtle.rst` (GH-109394) (#109416)Miss Islington (bot)2023-09-142-5/+4
| | | | | | gh-101100: Fix sphinx warnings in `turtle.rst` (GH-109394) (cherry picked from commit 21e80f4c1925aaafae199840f8737b5c39a82c70) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* [3.12] gh-105658: fix excess trace events for except block ending with a ↵Irit Katriel2023-09-143-15/+34
| | | | | | | conditional block (#109384) (#109411) gh-105658: fix excess trace events for except block ending with a conditional block (#109384) (cherry picked from commit 4a54074a0f5579d417445ec28427cd0ed5aa01f4)
* [3.12] gh-109341: Fix crash on compiling invalid AST including TypeAlias ↵Miss Islington (bot)2023-09-143-0/+26
| | | | | | | | (GH-109349) (#109381) gh-109341: Fix crash on compiling invalid AST including TypeAlias (GH-109349) (cherry picked from commit 987b4bc0870e1e29a88275dc3fa39bf2c3dcc763) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* [3.12] gh-60283: Check for redefined test names in CI (GH-109161) (#109365)Miss Islington (bot)2023-09-145-1/+58
| | | | | | | | | | | | | | | | | | | | * gh-60283: Check for redefined test names in CI (GH-109161) (cherry picked from commit 3cb9a8edca6e3fa0f0045b03a9a6444cf8f7affe) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> * Update exclude list for 3.12 * Explicitly exclude files which failed to lint/parse * Sort to avoid future merge conflicts --------- Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* [3.12] Fix variable name in dis documentation example (GH-109343) (#109364)Miss Islington (bot)2023-09-131-1/+1
| | | | | | | | Fix variable name in dis documentation example (GH-109343) BINARY_SUBSCR example erroneously uses two different names `key` and `index` to refer to the same variable. STORE_SUBSCR and DELETE_SUBSCR use only `key` in the same context. Changing `index` to `key` for consistency. (cherry picked from commit a0c06a4f933faccd7f8201701b2491d38464212c) Co-authored-by: Oleksandr Kravets <73752159+olekskrav@users.noreply.github.com>
* [3.12] gh-105189: fix importlib.resources.abc deprecation docs (GH-105232) ↵Miss Islington (bot)2023-09-132-12/+154
| | | | | | | | | | (#109363) gh-105189: fix importlib.resources.abc deprecation docs (GH-105232) (cherry picked from commit 6c0ddca409c1ed27b11c70386cd6c88be5d00115) Co-authored-by: Thomas Grainger <tagrain@gmail.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* [3.12] gh-104736: Fix test_gdb tests on ppc64le with clang (GH-109360) (#109361)Miss Islington (bot)2023-09-132-0/+12
| | | | | | | | | | | gh-104736: Fix test_gdb tests on ppc64le with clang (GH-109360) Fix test_gdb on Python built with LLVM clang 16 on Linux ppc64le (ex: Fedora 38). Search patterns in gdb "bt" command output to detect when gdb fails to retrieve the traceback. For example, skip a test if "Backtrace stopped: frame did not save the PC" is found. (cherry picked from commit 44d9a71ea246e7c3fb478d9be62c16914be6c545) Co-authored-by: Victor Stinner <vstinner@python.org>
* [3.12] gh-109357: Fix test_monitoring.test_gh108976() (GH-109358) (#109359)Miss Islington (bot)2023-09-131-0/+1
| | | | | | | | | | | gh-109357: Fix test_monitoring.test_gh108976() (GH-109358) The test now calls free_tool_id() so it can be run multiple times in the same process. For example, the following command no longer fails: python -m test test_monitoring -R 3:3 (cherry picked from commit 388d91cd474de80355f5a8f6a26e8962813a3128) Co-authored-by: Victor Stinner <vstinner@python.org>
* [3.12] Update workflow permissions in require-pr-label Action (GH-109342) ↵Miss Islington (bot)2023-09-131-2/+2
| | | | | | | | | | (#109348) Update workflow permissions in require-pr-label Action (GH-109342) Change the permission from `read` to `write`. (cherry picked from commit 44c8699196c1951037bc549c895ea5af26c7254e) Co-authored-by: Mariatta <Mariatta@users.noreply.github.com>
* [3.12] GH-104395: Add a link in 'Meta Information' to the docs download page ↵Miss Islington (bot)2023-09-131-0/+1
| | | | | | | | | (GH-104443) (#109345) GH-104395: Add a link in 'Meta Information' to the docs download page (GH-104443) (cherry picked from commit 90cf345ed42ae4d17d2a073718985eb3432a7c20) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* [3.12] gh-109184: update traceback module doc w.r.t notes (message is no ↵Irit Katriel2023-09-131-19/+21
| | | | | | | longer always at the end) (#109201) (#109334) gh-109184: update traceback module doc w.r.t notes (message is no longer always at the end) (#109201) (cherry picked from commit 0e76cc359ba5d5e29d7c75355d7c1bc7e817eecf)
* [3.12] gh-109114: Relax the check for invalid lambdas inside f-strings to ↵Pablo Galindo Salgado2023-09-124-1125/+1073
| | | | | | | | avoid false positives (GH-109121). (#109155) (cherry picked from commit 5bda2f637e1cfbca45a83aa6e22db25498064b27) Signed-off-by: Pablo Galindo <pablogsal@gmail.com>
* [3.12] gh-109118: Disallow nested scopes within PEP 695 scopes within ↵Miss Islington (bot)2023-09-123-0/+118
| | | | | | | | | | | | classes (GH-109196) (#109297) gh-109118: Disallow nested scopes within PEP 695 scopes within classes (GH-109196) Fixes GH-109118. Fixes GH-109194. (cherry picked from commit b88d9e75f68f102aca45fa62e2b0e2e2ff46d810) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> Co-authored-by: Carl Meyer <carl@oddbird.net>
* [3.12] Fix iter_index() to work with lists which do not support stop=None. ↵Miss Islington (bot)2023-09-121-0/+11
| | | | | | | | (gh-109306) (#109310) Fix iter_index() to work with lists which do not support stop=None. (gh-109306) (cherry picked from commit f2a55fecd063244a5fd09a38f673f0781f8802d1) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
* [3.12] gh-109295: Fix test_os.test_access_denied() for TEMP=cwd (GH-109299) ↵Miss Islington (bot)2023-09-121-1/+1
| | | | | | | | | | | | (#109304) gh-109295: Fix test_os.test_access_denied() for TEMP=cwd (GH-109299) Fix test_os.test_access_denied() when the TEMP environment variable is equal to the current working directory. Run the test using a different filename, since self.fname already exists in this case. (cherry picked from commit 7dedfd36dc16d9e1e15d7d0b0a636dd401a5a543) Co-authored-by: Victor Stinner <vstinner@python.org>
* [3.12] gh-109295: Clean up multiprocessing in test_asyncio and ↵Miss Islington (bot)2023-09-122-3/+10
| | | | | | | | | | | | test_compileall (GH-109298) (#109301) gh-109295: Clean up multiprocessing in test_asyncio and test_compileall (GH-109298) test_asyncio and test_compileall now clean up multiprocessing by calling multiprocessing _cleanup_tests(): explicitly clean up resources and stop background processes like the resource tracker. (cherry picked from commit 09ea4b8706165fd9474165090a0ba86509abd6c8) Co-authored-by: Victor Stinner <vstinner@python.org>
* [3.12] gh-109292: add symtable impact of PEP 709 to What's New (GH-109293) ↵Miss Islington (bot)2023-09-121-0/+3
| | | | | | | | (#109296) gh-109292: add symtable impact of PEP 709 to What's New (GH-109293) (cherry picked from commit 2b1e2f1cd154e6df553eda7936715ea0622b4ecf) Co-authored-by: Carl Meyer <carl@oddbird.net>
* [3.12] gh-109195: fix source location for super load before LOAD_SUPER_ATTR ↵Miss Islington (bot)2023-09-123-1/+12
| | | | | | | | (GH-109289) (#109291) gh-109195: fix source location for super load before LOAD_SUPER_ATTR (GH-109289) (cherry picked from commit ceeb4173aee7b835f553a8286feaa48b98c16124) Co-authored-by: Carl Meyer <carl@oddbird.net>
* [3.12] gh-107322: zipapp: Remove the suggestion to remove .dist-info ↵Miss Islington (bot)2023-09-121-6/+1
| | | | | | | | | | directories (GH-107296) (#109281) gh-107322: zipapp: Remove the suggestion to remove .dist-info directories (GH-107296) Removed zipapp suggestion to rm .dist-info subdirectories. This totally breaks importlib.metadata (cherry picked from commit 1ee50e2a78f644d81d341a08562073ad169d8cc7) Co-authored-by: wim glenn <hey@wimglenn.com>
* [3.12] gh-90805: Make sure test_functools works with and without ↵Miss Islington (bot)2023-09-121-30/+28
| | | | | | | | _functoolsmodule (GH-108644) (#109275) gh-90805: Make sure test_functools works with and without _functoolsmodule (GH-108644) (cherry picked from commit baa6dc8e388e71b2a00347143ecefb2ad3a8e53b) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* [3.12] gh-109190: What's New in 3.12: Add subheadings to removals for easy ↵Miss Islington (bot)2023-09-121-52/+107
| | | | | | | | | linking (GH-109159) (#109273) gh-109190: What's New in 3.12: Add subheadings to removals for easy linking (GH-109159) (cherry picked from commit 57b6205523d934d61b6308d63ef72c494c7d2b7e) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* [3.12] gh-109182: Fix and improve tests for gh-108654 (GH-109189) (#109271)Miss Islington (bot)2023-09-121-18/+28
| | | | | | gh-109182: Fix and improve tests for gh-108654 (GH-109189) (cherry picked from commit c0f488b88f2a54d76256818e2841d868fecfd396) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.12] GH-108976. Keep monitoring data structures valid during ↵Mark Shannon2023-09-124-55/+77
| | | | | de-optimization during callback. (GH-109131) (#109268) GH-108976. Keep monitoring data structures valid during de-optimization during callback. (GH-109131)