summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* [3.12] Test DocTestFinder directly instead of calling support.run_doctest() ↵Miss Islington (bot)2023-09-121-5/+3
| | | | | | | | (GH-108917) (#109259) Test DocTestFinder directly instead of calling support.run_doctest() (GH-108917) (cherry picked from commit 0abc935086931d4915ea3c45cffffecb31e7a45c) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.12] gh-109230: test_pyexpat no longer depends on the current directory ↵Miss Islington (bot)2023-09-122-24/+53
| | | | | | | | | | | | | | | (GH-109233) (#109241) gh-109230: test_pyexpat no longer depends on the current directory (GH-109233) Fix test_pyexpat.test_exception(): it can now be run from a directory different than Python source code directory. Before, the test failed in this case. Skip the test if Modules/pyexpat.c source is not available. Skip also the test on Python implementations other than CPython. (cherry picked from commit e55aab95786e0e9fb36a9a1122d2d0fb3d2403cd) Co-authored-by: Victor Stinner <vstinner@python.org>
* [3.12] gh-109237: Fix test_site for non-ASCII working directory (GH-109238) ↵Miss Islington (bot)2023-09-122-2/+6
| | | | | | | | | | | | | (#109239) gh-109237: Fix test_site for non-ASCII working directory (GH-109238) Fix test_site.test_underpth_basic() when the working directory contains at least one non-ASCII character: encode the "._pth" file to UTF-8 and enable the UTF-8 Mode to use UTF-8 for the child process stdout. (cherry picked from commit cbb3a6f8ada3d133c3ab9f9465b65067fce5bb42) Co-authored-by: Victor Stinner <vstinner@python.org>
* [3.12] Fix "FSTRING_MIDDLE" typo in py312 "What's New" (GH-109222) (#109223)Miss Islington (bot)2023-09-121-1/+1
| | | | | | Fix "FSTRING_MIDDLE" typo in py312 "What's New" (GH-109222) (cherry picked from commit 2dd6a86c4ee604b331ed739c2508b0d0114993c6) Co-authored-by: Delgan <4193924+Delgan@users.noreply.github.com>
* [3.12] Improve the sieve() recipe in the itertools docs (gh-109199) (#109203)Miss Islington (bot)2023-09-121-4/+7
| | | | | | | | Improve the sieve() recipe in the itertools docs (gh-109199) Lazier sieve (cherry picked from commit d3ed9921cdd8ac291fbfe3adf42f7730d3a14dbc) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
* [3.12] Fix an ironic typo in a code comment. (gh-109186) (#109188)Miss Islington (bot)2023-09-121-1/+1
| | | | | | Fix an ironic typo in a code comment. (gh-109186) (cherry picked from commit 75cd86599bad05cb372aed9fccc3ff884cd38b70) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
* [3.12] gh-109118: Fix runtime crash when NameError happens in PEP 695 ↵Jelle Zijlstra2023-09-125-430/+501
| | | | | | | | | | | | function (GH-109123) (#109173) * gh-109118: Fix runtime crash when NameError happens in PEP 695 function (#109123) (cherry picked from commit 17f994174de9211b2baaff217eeb1033343230fc) * [3.12] gh-109118: Fix runtime crash when NameError happens in PEP 695 function (GH-109123). (cherry picked from commit 17f994174de9211b2baaff217eeb1033343230fc) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* [3.12] GH-109067: fix randomly failing `test_async_gen_asyncio_gc_aclose_09` ↵Miss Islington (bot)2023-09-121-3/+5
| | | | | | | | | | test (GH-109142) (#109149) GH-109067: fix randomly failing `test_async_gen_asyncio_gc_aclose_09` test (GH-109142) Use `asyncio.sleep(0)` instead of short sleeps. (cherry picked from commit ccd48623d4860e730a16f3f252d67bfea8c1e905) Co-authored-by: Kumar Aditya <kumaraditya@python.org>
* [3.12] gh-109022: [Enum] require `names=()` to create empty enum type ↵Miss Islington (bot)2023-09-123-4/+14
| | | | | | | | | | | | | | (GH-109048) (#109122) gh-109022: [Enum] require `names=()` to create empty enum type (GH-109048) add guard so that ``Enum('bar')`` raises a TypeError instead of creating a new enum class called `bar`. To create the new but empty class, use: huh = Enum('bar', names=()) (cherry picked from commit c74e440168fab9bf91346471087a394af13fa2db) Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
* [3.12] gh-108732: include comprehension locals in frame.f_locals (GH-109026) ↵Miss Islington (bot)2023-09-123-4/+19
| | | | | | | | | | (#109097) gh-108732: include comprehension locals in frame.f_locals (GH-109026) (cherry picked from commit f2584eade378910b9ea18072bb1dab3dd58e23bb) Co-authored-by: Carl Meyer <carl@oddbird.net> Co-authored-by: Radislav Chugunov <52372310+chgnrdv@users.noreply.github.com> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* [3.12] gh-106922: Fix error location for constructs with spaces and ↵Miss Islington (bot)2023-09-084-3/+68
| | | | | | parentheses (GH-108959) (#109147) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
* [3.12] gh-103186: Suppress RuntimeWarning about unclosed async iterator in ↵Miss Islington (bot)2023-09-081-4/+28
| | | | | | | | test_sys_settrace (GH-109075) (#109138) gh-103186: Suppress RuntimeWarning about unclosed async iterator in test_sys_settrace (GH-109075) (cherry picked from commit d485551c9d1792ff3539eef1d6374bd4c01dcd5d) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.12] Add version directives to ast docs (GH-108788) (#109106)Miss Islington (bot)2023-09-081-4/+42
| | | | | | Add version directives to ast docs (GH-108788) (cherry picked from commit 74fc96bc60f5c02bde50ff2f3516add99483e402) Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
* [3.12] gh-68403: Fix test_coverage in test_trace (GH-108910) (#109104)Miss Islington (bot)2023-09-081-3/+8
| | | | | | | | gh-68403: Fix test_coverage in test_trace (GH-108910) Its behavior no longer affected by test running options such as -m. (cherry picked from commit 7e1a7abb9831965cdec477e62dbe4f8415b8a582) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.12] gh-75743: Restore test_timeout.testConnectTimeout() (GH-109087) (#109103)Miss Islington (bot)2023-09-081-16/+10
| | | | | | | | | gh-75743: Restore test_timeout.testConnectTimeout() (GH-109087) This un-skips this test now that pythontest.net implements appropriate firewall rules for it. (cherry picked from commit 1829a3c9a3712b6a68a3a449e4a08787c73da51d) Co-authored-by: Ee Durbin <ewdurbin@gmail.com>
* [3.12] gh-107924: re-order os.sendfile() flag documentation (GH-107926) ↵Miss Islington (bot)2023-09-081-19/+20
| | | | | | | | | (#109099) gh-107924: re-order os.sendfile() flag documentation (GH-107926) (cherry picked from commit 403ab1306a6e9860197bce57eadcb83418966f21) Co-authored-by: Christoph Anton Mitterer <mail@christoph.anton.mitterer.name> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* [3.12] gh-102823: Document return type of floor division on floats ↵Miss Islington (bot)2023-09-082-3/+7
| | | | | | | | | (GH-102824) (#109092) gh-102823: Document return type of floor division on floats (GH-102824) (cherry picked from commit b72251de930c8ec6893f1b3f6fdf1640cc17dfed) Co-authored-by: Mark Dickinson <dickinsm@gmail.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* [3.12] socket documentation fix - rename triple to 3-tuple (GH-24722) (#109073)Miss Islington (bot)2023-09-081-2/+2
| | | | | | | socket documentation fix - rename triple to 3-tuple (GH-24722) (cherry picked from commit 6b15ff52351787644115a4dd9d5d6717d66b9806) Co-authored-by: Ori Hoch <ori@uumpa.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* [3.12] gh-71770: Add more details on behavior of configparser's ↵Miss Islington (bot)2023-09-081-2/+4
| | | | | | | | | default_section (GH-31562) (#109088) gh-71770: Add more details on behavior of configparser's default_section (GH-31562) (cherry picked from commit 891236f48263e2d4c650b7a127fc9bffb8327807) Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* [3.12] gh-103186: Remove debug print in test_sys_settrace (GH-109077) (#109084)Miss Islington (bot)2023-09-081-1/+0
| | | | | | gh-103186: Remove debug print in test_sys_settrace (GH-109077) (cherry picked from commit e4bb0026b9a21d066e7a5c4716ea4d755b95d2d5) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.12] GH-90915: Document that SystemExit doesn't trigger sys.excepthook ↵Miss Islington (bot)2023-09-081-1/+1
| | | | | | | | | | (GH-31357) (#109082) GH-90915: Document that SystemExit doesn't trigger sys.excepthook (GH-31357) (cherry picked from commit 1294fcede09af6c781553b7a3a6ff612c7dfa431) Co-authored-by: Colin Watson <cjwatson@debian.org> Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* [3.12] bpo-38157: Add example about per file output for mock_open. ↵Miss Islington (bot)2023-09-081-0/+24
| | | | | | | | | | | (GH-16090) (#109071) bpo-38157: Add example about per file output for mock_open. (GH-16090) (cherry picked from commit e183a71eef1ec3ac86bb4d81a158c21d6f1a783b) Co-authored-by: Karthikeyan Singaravelan <tir.karthi@gmail.com> Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* [3.12] gh-103186: Suppress and assert expected RuntimeWarnings in ↵Miss Islington (bot)2023-09-082-32/+43
| | | | | | | | | | test_sys_settrace (GH-103244) (#109066) gh-103186: Suppress and assert expected RuntimeWarnings in test_sys_settrace (GH-103244) Caused as a result of frame manipulation where locals are never assigned / initialised. (cherry picked from commit 3e53ac99038920550358c1ea0212c3907a8cb385) Co-authored-by: Ijtaba Hussain <ijtabahussain@live.com>
* [3.12] test.pythoninfo logs freedesktop_os_release() (GH-109057) (#109064)Miss Islington (bot)2023-09-081-1/+21
| | | | | | test.pythoninfo logs freedesktop_os_release() (GH-109057) (cherry picked from commit babdced23fc299b7607ac76abfdd7a81050f8359) Co-authored-by: Victor Stinner <vstinner@python.org>
* [3.12] gh-108915: Removes extra backslashes in str.split docstring ↵Shantanu2023-09-082-5/+5
| | | | | | | | | | | | | | (GH-109044). (#109061) * [3.12] gh-108915: Removes extra backslashes in str.split docstring (GH-109044). (cherry picked from commit e7d5433f944a5725aa82595f9251abfc8a63d333) Co-authored-by: Daniel Weiss <134341009+justdan6@users.noreply.github.com> * re-clinic --------- Co-authored-by: Daniel Weiss <134341009+justdan6@users.noreply.github.com>
* [3.12] gh-108740: Fix "make regen-all" race condition (#108741) (#109019)Victor Stinner2023-09-084-10/+38
| | | | | | | | | | | | | | | | | | | | | gh-108740: Fix "make regen-all" race condition (#108741) Fix a race condition in "make regen-all". The deepfreeze.c source and files generated by Argument Clinic are now generated or updated before generating "global objects". Previously, some identifiers may miss depending on the order in which these files were generated. * "make regen-global-objects": Make sure that deepfreeze.c is generated and up to date, and always run "make clinic". * "make clinic" no longer runs generate_global_objects.py script. * "make regen-deepfreeze" now only updates deepfreeze.c (C file). It doesn't build deepfreeze.o (object) anymore. * Remove misleading messages in "make regen-global-objects" and "make clinic". They are now outdated, these commands are now safe to use. * Document generates files in Doc/using/configure.rst. Co-authored-by: Erlend E. Aasland <erlend@python.org> (cherry picked from commit db1ee6a19ab62191c16ecb732cb4dcaede98a902)
* [3.12] gh-108851: Fix tomllib recursion tests (GH-108853) (#109012)Miss Islington (bot)2023-09-087-41/+177
| | | | | | | | | | | | | | | | gh-108851: Fix tomllib recursion tests (GH-108853) * Add get_recursion_available() and get_recursion_depth() functions to the test.support module. * Change infinite_recursion() default max_depth from 75 to 100. * Fix test_tomllib recursion tests for WASI buildbots: reduce the recursion limit and compute the maximum nested array/dict depending on the current available recursion limit. * test.pythoninfo logs sys.getrecursionlimit(). * Enhance test_sys tests on sys.getrecursionlimit() and sys.setrecursionlimit(). (cherry picked from commit 8ff11425783806f8cb78e99f667546b1f7f3428e) Co-authored-by: Victor Stinner <vstinner@python.org>
* [3.12] gh-89392: Use unittest test runner for doctests in test_getopt ↵Miss Islington (bot)2023-09-081-35/+36
| | | | | | | | (GH-108916) (#108919) gh-89392: Use unittest test runner for doctests in test_getopt (GH-108916) (cherry picked from commit f980cc19b9cafc09ef21e906871f810a1c89e62f) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.12] gh-89392: Use normal unittest runner in test_type_cache (GH-108911) ↵Miss Islington (bot)2023-09-081-1/+1
| | | | | | | | (#108913) gh-89392: Use normal unittest runner in test_type_cache (GH-108911) (cherry picked from commit eaabaac7c099884f92428a7bb04ffa1f1d6080dd) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.12] gh-91960: Skip test_gdb if gdb cannot retrive Python frames ↵Miss Islington (bot)2023-09-082-4/+10
| | | | | | | | | | | | | | | | | (GH-108999) (#109010) gh-91960: Skip test_gdb if gdb cannot retrive Python frames (GH-108999) Skip test_gdb if gdb is unable to retrieve Python frame objects: if a frame is "<optimized out>". When Python is built with "clang -Og", gdb can fail to retrive the 'frame' parameter of _PyEval_EvalFrameDefault(). In this case, tests like py_bt() are likely to fail. Without getting access to Python frames, python-gdb.py is mostly clueless on retrieving the Python traceback. Moreover, test_gdb is no longer skipped on macOS if Python is built with Clang. (cherry picked from commit fbce43a251488f666be9794c908a6613bf8ae260) Co-authored-by: Victor Stinner <vstinner@python.org>
* [3.12] gh-108983: Add more PEP 526 tests to `test_grammar` (GH-108984) (#109000)Miss Islington (bot)2023-09-081-0/+11
| | | | | | gh-108983: Add more PEP 526 tests to `test_grammar` (GH-108984) (cherry picked from commit 1fb20d42c58924e2e941622b3539645c7b843e0e) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* [3.12] gh-108962: Skip test_tempfile.test_flags() if not supported ↵Miss Islington (bot)2023-09-082-1/+20
| | | | | | | | | | | (GH-108964) (#108967) gh-108962: Skip test_tempfile.test_flags() if not supported (GH-108964) Skip test_tempfile.test_flags() if chflags() fails with "OSError: [Errno 45] Operation not supported" (ex: on FreeBSD 13). (cherry picked from commit cd2ef21b076b494224985e266c5f5f8b37c66618) Co-authored-by: Victor Stinner <vstinner@python.org>
* [3.12] gh-108834: Sync libregrtest with the main branch (#108966)Victor Stinner2023-09-0829-499/+892
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gh-108834: regrtest reruns failed tests in subprocesses (#108839) When using --rerun option, regrtest now re-runs failed tests in verbose mode in fresh worker processes to have more deterministic behavior. So it can write its final report even if a test killed a worker progress. Add --fail-rerun option to regrtest: exit with non-zero exit code if a test failed pass passed when re-run in verbose mode (in a fresh process). That's now more useful since tests can pass when re-run in a fresh worker progress, whereas they failed when run after other tests when tests are run sequentially. Rename --verbose2 option (-w) to --rerun. Keep --verbose2 as a deprecated alias. Changes: * Fix and enhance statistics in regrtest summary. Add "(filtered)" when --match and/or --ignore options are used. * Add RunTests class. * Add TestResult.get_rerun_match_tests() method * Rewrite code to serialize/deserialize worker arguments as JSON using a new WorkerJob class. * Fix stats when a test is run with --forever --rerun. * If failed test names cannot be parsed, log a warning and don't filter tests. * test_regrtest.test_rerun_success() now uses a marker file, since the test is re-run in a separated process. * Add tests on normalize_test_name() function. * Add test_success() and test_skip() tests to test_regrtest. (cherry picked from commit 31c2945f143c6b80c837fcf09a5cfb85fea9ea4c) * gh-108834: regrtest --fail-rerun exits with code 5 (#108896) When the --fail-rerun option is used and a test fails and then pass, regrtest now uses exit code 5 ("rerun) instead of 2 ("bad test"). (cherry picked from commit 1170d5a292b46f754cd29c245a040f1602f70301) * gh-108416: Mark slow but not CPU bound test methods with requires_resource('walltime') (GH-108480) (cherry picked from commit 1e0d62793a84001e92f1c80b511d3a212b435acc) * Manually sync Lib/test/libregrtest/ from main --------- Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.12] gh-107755: Document the correct default value of slice step ↵Miss Islington (bot)2023-09-081-1/+1
| | | | | | | | | | (GH-107756) (#108955) gh-107755: Document the correct default value of slice step (GH-107756) Document the correct default value of slice step. (cherry picked from commit 9bf350b0662fcf1a8b43b9293e6c8ecf3c711561) Co-authored-by: wim glenn <hey@wimglenn.com>
* [3.12] gh-107732: Mention dir support in importlib.resources docs ↵Hugo van Kemenade2023-09-082-5/+14
| | | | | | | | | | | (GH-107734) (#109058) gh-107732: Mention dir support in importlib.resources docs (#107734) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> (cherry picked from commit 9f0c0a46f00d687e921990ee83894b2f4ce8a6e7) Co-authored-by: Shahriar Heidrich <smheidrich@weltenfunktion.de>
* [3.12] gh-109015: Add test.support.socket_helper.tcp_blackhole() (GH-109016) ↵Miss Islington (bot)2023-09-087-0/+79
| | | | | | | | | | | (#109041) gh-109015: Add test.support.socket_helper.tcp_blackhole() (GH-109016) Skip test_asyncio, test_imaplib and test_socket tests if FreeBSD TCP blackhole is enabled (net.inet.tcp.blackhole=2). (cherry picked from commit a52a3509770f29f940cda9307704908949912276) Co-authored-by: Victor Stinner <vstinner@python.org>
* [3.12] Docs: Fix typo in datetime.tzinfo docstring (GH-107257) (#109032)Miss Islington (bot)2023-09-081-1/+1
| | | | | | | | Docs: Fix typo in datetime.tzinfo docstring (GH-107257) (cherry picked from commit 60a9eea3f56c002356998f5532b3ad870a1ffa8e) Co-authored-by: Mikhail Samylov <Samylov-Mikhail@yandex.com> Co-authored-by: Paul Ganssle <1377457+pganssle@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* [3.12] GH-108202: Document ``calendar``'s command-line interface (GH-109020) ↵Miss Islington (bot)2023-09-082-1/+144
| | | | | | | | | (#109030) GH-108202: Document ``calendar``'s command-line interface (GH-109020) (cherry picked from commit f0f96a9f40762499811681d405b6f922b6ed7a55) 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-90690: Mention removal of ``PRECALL`` in What's New (GH-103910) ↵Miss Islington (bot)2023-09-081-0/+3
| | | | | | | | | | (#109027) GH-90690: Mention removal of ``PRECALL`` in What's New (GH-103910) (cherry picked from commit f9bd6e49ae58e0ba2934f29dd0f3299ba844cc8d) Co-authored-by: Anthony Shaw <anthony.p.shaw@gmail.com> 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] C API tests: use special markers to test that output parameters were ↵Serhiy Storchaka2023-09-086-20/+50
| | | | | | set (GH-109014) (#109023) [3.12] C API tests: use special markers to test that output parameters were set (GH-109014). (cherry picked from commit bf414b7fcb7c8ba780a5e1d9f320ecef0c7f9488)
* [3.12] gh-109002: Ensure only one wheel for each vendored package ↵Miss Islington (bot)2023-09-061-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | (GH-109003) (#109005) Output with one wheel: ``` ❯ GITHUB_ACTIONS=true ./Tools/build/verify_ensurepip_wheels.py Verifying checksum for /Volumes/RAMDisk/cpython/Lib/ensurepip/_bundled/pip-23.2.1-py3-none-any.whl. Expected digest: 7ccf472345f20d35bdc9d1841ff5f313260c2c33fe417f48c30ac46cccabf5be Actual digest: 7ccf472345f20d35bdc9d1841ff5f313260c2c33fe417f48c30ac46cccabf5be ::notice file=/Volumes/RAMDisk/cpython/Lib/ensurepip/_bundled/pip-23.2.1-py3-none-any.whl::Successfully verified the checksum of the pip wheel. ``` Output with two wheels: ``` ❯ GITHUB_ACTIONS=true ./Tools/build/verify_ensurepip_wheels.py ::error file=/Volumes/RAMDisk/cpython/Lib/ensurepip/_bundled/pip-22.0.4-py3-none-any.whl::Found more than one wheel for package pip. ::error file=/Volumes/RAMDisk/cpython/Lib/ensurepip/_bundled/pip-23.2.1-py3-none-any.whl::Found more than one wheel for package pip. ``` Output without wheels: ``` ❯ GITHUB_ACTIONS=true ./Tools/build/verify_ensurepip_wheels.py ::error file=::Could not find a pip wheel on disk. ``` (cherry picked from commit f8a047941f2e4a1848700c21d58a08c9ec6a9c68) Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* Merge branch '3.12' of https://github.com/python/cpython into 3.12Thomas Wouters2023-09-061-1/+1
|\
| * [3.12] gh-108857: improve markup in inspect.Signature.replace() docs ↵Miss Islington (bot)2023-09-061-1/+1
| | | | | | | | | | | | | | | | (GH-108862) (#108971) gh-108857: improve markup in inspect.Signature.replace() docs (GH-108862) (cherry picked from commit 6f8411cfd68134ccae01b0b4cb332578008a69e3) Co-authored-by: nabin2004 <107109731+nabin2004@users.noreply.github.com>
* | Post 3.12.0rc2Thomas Wouters2023-09-061-1/+1
| |
* | Python 3.12.0rc2v3.12.0rc2Thomas Wouters2023-09-0552-1076/+1499
|/
* [3.12] gh-108469: Update ast.unparse for unescaped quote support from PEP701 ↵Miss Islington (bot)2023-09-054-28/+31
| | | | | | | [3.12] (GH-108553) (#108960) Co-authored-by: Anthony Shaw <anthony.p.shaw@gmail.com> Co-authored-by: sunmy2019 <59365878+sunmy2019@users.noreply.github.com>
* [3.12] gh-108927: Fix test_import + test_importlib + test_unittest problem ↵Miss Islington (bot)2023-09-051-2/+3
| | | | | | | | (GH-108929) (#108954) gh-108927: Fix test_import + test_importlib + test_unittest problem (GH-108929) (cherry picked from commit 3f89b257639dd817a32079da2ae2c4436b8e82eb) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* [3.12] gh-107565: Update Windows build to use OpenSSL 3.0.10 (GH-108928) ↵Miss Islington (bot)2023-09-053-4/+5
| | | | | | | | (#108930) gh-107565: Update Windows build to use OpenSSL 3.0.10 (GH-108928) (cherry picked from commit deea7c82682848b2a0db971a4dcc3a32c73a9f8c) Co-authored-by: Zachary Ware <zach@python.org>
* [3.12] GH-103082: Document PEP-669: Low Impact Monitoring for CPython ↵Miss Islington (bot)2023-09-054-0/+323
| | | | | | | | (GH-107772) (#108909) GH-103082: Document PEP-669: Low Impact Monitoring for CPython (GH-107772) (cherry picked from commit 8b515f60ee1dec65cb3d64f1cc1d4b32aa2f4184) Co-authored-by: Mark Shannon <mark@hotpy.org>
* [3.12] GH-108390: Prevent non-local events being set with ↵Mark Shannon2023-09-058-2966/+3066
| | | | | | | | | | | `sys.monitoring.set_local_events()` (GH-108420) (#108899) * GH-108390: Prevent non-local events being set with `sys.monitoring.set_local_events()` (GH-108420) * Restore generated objects * Restore size of monitoring arrays in code object for 3.12 ABI compatibility. * Update ABI file