summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* [3.12] gh-111157: Mention `__notes__` in `traceback.format_exception_only` ↵Miss Islington (bot)2023-10-211-15/+12
| | | | | | | | docstring (GH-111158) (#111163) gh-111157: Mention `__notes__` in `traceback.format_exception_only` docstring (GH-111158) (cherry picked from commit 5e7727b05232b43589d177c15263d7f4f8c584a0) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* [3.12] gh-110572: Fix potential leaks in test_*_code in _testcapi/getargs.c ↵Miss Islington (bot)2023-10-211-33/+57
| | | | | | | (GH-110573) (GH-111161) (cherry picked from commit f71cd5394efe154ba92228b2b67be910cc1ede95) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* [3.12] gh-110932: Fix regrtest for SOURCE_DATE_EPOCH (GH-111143) (#111154)Miss Islington (bot)2023-10-214-22/+75
| | | | | | | | | gh-110932: Fix regrtest for SOURCE_DATE_EPOCH (GH-111143) If the SOURCE_DATE_EPOCH environment variable is defined, use its value as the random seed. (cherry picked from commit 7237fb578dc9db9dc557759a24d8083425107b91) Co-authored-by: Victor Stinner <vstinner@python.org>
* [3.12] gh-111046: for wasi-threads, export memory as well via the linker ↵Miss Islington (bot)2023-10-203-0/+11
| | | | | | | | (GH-111099) (GH-111141) gh-111046: for wasi-threads, export memory as well via the linker (GH-111099) (cherry picked from commit 5dfa71769f547fffa893a89b0b04d963a41b2441) Co-authored-by: YAMAMOTO Takashi <yamamoto@midokura.com>
* [3.12] gh-111126: Use `isinstance` instead of `assert[Not]IsInstance` in ↵Miss Islington (bot)2023-10-201-4/+4
| | | | | | | | `test_typing` (GH-111127) (#111130) gh-111126: Use `isinstance` instead of `assert[Not]IsInstance` in `test_typing` (GH-111127) (cherry picked from commit ea7c26e4b89c71234c4a603567a93f0a44c9cc97) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* gh-110913: Fix WindowsConsoleIO chunking of UTF-8 text (GH-111007)Miss Islington (bot)2023-10-202-16/+21
| | | | | (cherry picked from commit 11312eae6ec3acf51aacafce4cb6d1a5edfd5f2e) Co-authored-by: Tamás Hegedűs <sorgloomer@users.noreply.github.com>
* [3.12] Add tests for failing PyUnicode_AsUTF8AndSize() with psize=NULL ↵Miss Islington (bot)2023-10-201-0/+4
| | | | | | | (GH-111100) (GH-111105) (cherry picked from commit b60f05870816019cfd9b2f7d104364613e66fc78) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.12] gh-101100: Fix sphinx warnings in `library/codecs.rst` (GH-110979) ↵Miss Islington (bot)2023-10-202-34/+38
| | | | | | | (#111070) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* [3.12] gh-101100: Fix Sphinx warnings in `library/tty.rst` (GH-111079) (#111097)Miss Islington (bot)2023-10-202-5/+14
| | | | | | | | gh-101100: Fix Sphinx warnings in `library/tty.rst` (GH-111079) Fix Sphinx warnings in library/tty.rst (cherry picked from commit c42c68aa7bd19b0de7f2132ed468bc4ce83d8aa9) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* [3.12] gh-111092: Make turtledemo run without default root enabled ↵Miss Islington (bot)2023-10-202-1/+2
| | | | | | | | | | | (GH-111093) (#111095) gh-111092: Make turtledemo run without default root enabled (GH-111093) Add missing 'root' argument to PanedWindow call. Other root children already have it. (cherry picked from commit b802882fb2bff8b431df661322908c07491f3ce7) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* [3.12] gh-101100: Fix sphinx warnings in `library/getpass.rst` (GH-110461) ↵Hugo van Kemenade2023-10-192-2/+1
| | | | | | (#111080) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* [3.12] gh-109510: Clearly explain "Which Docstrings Are Examined" ↵Miss Islington (bot)2023-10-191-3/+24
| | | | | | | | | | (GH-109696) (#111077) Co-authored-by: Unique-Usman <86585626+Unique-Usman@users.noreply.github.com> Co-authored-by: Mariatta <Mariatta@users.noreply.github.com> Co-authored-by: Jacob Coffee <jacob@z7x.org> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
* [3.12] GH-101100: Fix reference warnings for ``__enter__`` and ``__exit__`` ↵Miss Islington (bot)2023-10-1911-58/+58
| | | | | | (GH-110112) (#111075) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* [3.12] GH-101100: Fix reference warnings for ``__getitem__`` (GH-110118) ↵Miss Islington (bot)2023-10-1920-38/+38
| | | | | | (#111073) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* [3.12] gh-108791: Fix pdb CLI invalid argument handling (GH-108816) (#111064)Radislav Chugunov2023-10-193-2/+24
| | | | | | | * [3.12] gh-108791: Fix `pdb` CLI invalid argument handling (GH-108816) (cherry picked from commit 162213f2db3835e1115178d38741544f4b4db416) Co-authored-by: Radislav Chugunov <52372310+chgnrdv@users.noreply.github.com>
* [3.12] gh-111031: Check more files in `test_tokenize` (GH-111032) (#111061)Miss Islington (bot)2023-10-191-10/+0
| | | | | | gh-111031: Check more files in `test_tokenize` (GH-111032) (cherry picked from commit e9b5399bee7106beeeb38a45cfef3f0ed3fdd703) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* [3.12] gh-111050: IDLE - Simplify configdialog.HighPage.theme_elements ↵Miss Islington (bot)2023-10-192-24/+22
| | | | | | | | | | | | (GH-111053) (#111055) gh-111050: IDLE - Simplify configdialog.HighPage.theme_elements (GH-111053) Replace tuple value with internal name, removing numbers. Remove sorting of already ordered dislay names. Remove '[0]' indexing into now-gone tuple. (cherry picked from commit 642eb8df951f2f1d4bf4d93ee568707c5bf40a96) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* [3.12] GH-103082: Clean up the sys.monitoring docs (GH-111048)Brandt Bucher2023-10-182-101/+165
| | | (cherry picked from commit 19916941172844f9c52d7a6dce95efaa23035772)
* [3.12] GH-104232: Fix statement about trace return values (GH-111047)Miss Islington (bot)2023-10-181-3/+2
| | | (cherry picked from commit d9246c7b734b8958da03494045208681d95f5b74)
* [3.12] gh-111015: Install IDLE.app and Python Launcher.app on macOS with ↵Miss Islington (bot)2023-10-183-0/+5
| | | | | | | | correct permissions (gh-111037) (cherry picked from commit cb1bf89c4066f30c80f7d1193b586a2ff8c40579) Co-authored-by: Joshua Root <jmr@macports.org> Co-authored-by: Ned Deily <nad@python.org>
* [3.12] gh-103737: IDLE - Remove unneeded .keys() for dict iteration ↵Miss Islington (bot)2023-10-188-26/+28
| | | | | | | | | | | | (GH-110960) (#111026) gh-103737: IDLE - Remove unneeded .keys() for dict iteration (GH-110960) Add comments where .keys() is needed. Leave debugger usages along because situation is unclear as indicated in expanded comment. Most testing is manual. (cherry picked from commit baefbb21d91db2d950706737a6ebee9b2eff5c2d) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* [3.12] gh-111019: Align expected and actual titles in test output ↵Miss Islington (bot)2023-10-182-10/+10
| | | | | | | | | | | (GH-111020) (#111024) gh-111019: Align expected and actual titles in test output (GH-111020) Align expected and actual titles in output from assert_has_calls/assert_called_with for greater readability (cherry picked from commit 77dbd956090aac66e264d9d640f6adb6b0930b87) Co-authored-by: James <morisja@gmail.com>
* [3.12] gh-110938: More syntax tests for PEP695 funcs and classes (GH-110986) ↵Miss Islington (bot)2023-10-181-0/+15
| | | | | | | | (#111023) gh-110938: More syntax tests for PEP695 funcs and classes (GH-110986) (cherry picked from commit 220bcc9e27c89bf3b3609b80a31b1398840f195e) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* [3.12] gh-110938: Fix error messages for indented blocks with functio… ↵Jelle Zijlstra2023-10-184-22/+46
| | | | | | | | (#110990) [3.12] gh-110938: Fix error messages for indented blocks with functions and classes with generic type parameters (GH-110973) (cherry picked from commit 24e4ec7766fd471deb5b7e5087f0e7dba8576cfb) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
* [3.12] Regen Doc/requirements-oldest-sphinx.txt (GH-111012) (#111022)Miss Islington (bot)2023-10-181-2/+1
| | | | | | | | | Regen Doc/requirements-oldest-sphinx.txt (GH-111012) Fix https://github.com/python/cpython/security/dependabot/4: use urllib3 version 2.0.7. (cherry picked from commit e7ae43ad7dde74e731a9d258e372d17f3b2eb893) Co-authored-by: Victor Stinner <vstinner@python.org>
* [3.12] gh-107457: update dis documentation with changes in 3.12 (GH-108900) ↵Miss Islington (bot)2023-10-171-16/+43
| | | | | | | | (#110985) gh-107457: update dis documentation with changes in 3.12 (GH-108900) (cherry picked from commit 198aa67d4ceb5298c3c60f7a77524f5ba084c121) Co-authored-by: Matthieu Dartiailh <m.dartiailh@gmail.com>
* [3.12] gh-110995: Fix test_gdb check_usable_gdb() (GH-110998) (#111003)Miss Islington (bot)2023-10-172-6/+13
| | | | | | | | | | | | gh-110995: Fix test_gdb check_usable_gdb() (GH-110998) Fix detection of gdb built without Python scripting support. * check_usable_gdb() doesn't check gdb exit code when calling run_gdb(). * Use shutil.which() to get the path to the gdb program. (cherry picked from commit 920b3dfacad615c7bb9bd9a35774469f8809b453) Co-authored-by: Victor Stinner <vstinner@python.org>
* [3.12] Bump test deps: `ruff` and `pre-commit-hooks` (GH-110972) (#110980)Nikita Sobolev2023-10-172-3/+3
| | | (cherry picked from commit b75b1f389f083db8568bff573c33ab4ecf29655a)
* [3.12] gh-110695: test_asyncio uses 50 ms for clock resolution (GH-110952) ↵Miss Islington (bot)2023-10-171-2/+2
| | | | | | | | | | | (#110970) gh-110695: test_asyncio uses 50 ms for clock resolution (GH-110952) Before utils.CLOCK_RES constant was added (20 ms), test_asyncio already used 50 ms. (cherry picked from commit 9a9fba825f8aaee4ea9b3429875c6c6324d0dee0) Co-authored-by: Victor Stinner <vstinner@python.org>
* [3.12] Bump sphinx-lint to v0.8.1 (GH-110933) (#110957)Miss Islington (bot)2023-10-171-3/+2
| | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* [3.12] C-API docs: Clarify the size of arenas (GH-110895) (#110946)Miss Islington (bot)2023-10-161-1/+2
| | | | | | | | | | | C-API docs: Clarify the size of arenas (GH-110895) Clarify the size of arenas From 3.10.0 alpha 7, the pymalloc allocator uses arenas with a fixed size of 1 MiB on 64-bit platforms instead of 256 KiB on 32-bit platforms. (cherry picked from commit f07ca27709855d4637b43bba23384cc795143ee3) Co-authored-by: Mienxiu <82512658+mienxiu@users.noreply.github.com>
* [3.12] gh-107450: Check for overflow in the tokenizer and fix overflow test ↵Lysandros Nikolaou2023-10-164-29/+40
| | | | | | | | | (GH-110832) (#110931) (cherry picked from commit a1ac5590e0f8fe008e5562d22edab65d0c1c5507) Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com> Co-authored-by: Filipe Laíns <lains@riseup.net> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.12] Enable ruff on several more files in `Lib/test` (#110929) (#110934)Alex Waygood2023-10-166-21/+16
| | | (cherry-picked from commit 02d26c4bef3ad0f9c97e47993a7fa67898842e5c)
* [3.12] regrtest: Prepend 'use' options in --{fast,slow}-ci (GH-110363) (#110925)Miss Islington (bot)2023-10-162-7/+11
| | | | | | | | regrtest: Prepend 'use' options in --{fast,slow}-ci (GH-110363) This allows individual resources to be disabled without having to explicitly re-enable all others. (cherry picked from commit b75186f69edcf54615910a5cd707996144163ef7) Co-authored-by: Zachary Ware <zach@python.org>
* [3.12] gh-110527: Improve `PySet_Clear` docs (GH-110528) (#110928)Miss Islington (bot)2023-10-161-1/+3
| | | | | | gh-110527: Improve `PySet_Clear` docs (GH-110528) (cherry picked from commit bfc1cd8145db00df23fbbd2ed95324bb96c0b25b) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* [3.12] Lint: Include test_monitoring.py for Ruff (GH-110898) (#110899)Miss Islington (bot)2023-10-151-2/+0
| | | | | | | Lint: Include test_monitoring.py for Ruff (GH-110898) (cherry picked from commit 9608704cde4441c76c1b8b765e3aea072bca3b0d) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* [3.12] gh-106193: Rename and fix duplicated tests in `test_monitoring` ↵Hugo van Kemenade2023-10-151-7/+7
| | | | (GH-109139) (#110897)
* [3.12] gh-110886 Doc: add a link to BNF Wikipedia article (GH-110887) (#110900)Miss Islington (bot)2023-10-151-1/+2
| | | | | Co-authored-by: partev <petrosyan@gmail.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* [3.12] bpo-42663: Fix parsing TZ strings in zoneinfo module (GH-23825) ↵Serhiy Storchaka2023-10-154-258/+326
| | | | | | | | | | (GH-110882) zipinfo now supports the full range of values in the TZ string determined by RFC 8536 and detects all invalid formats. Both Python and C implementations now raise exceptions of the same type on invalid data. (cherry picked from commit ab08ff7882b6181fb785eed7410dbf8030aded70)
* [3.12] gh-109216: Fix possible memory leak in `BUILD_MAP` (#109324)Nikita Sobolev2023-10-153-255/+251
|
* [3.12] gh-101100: Fix sphinx warnings in `library/time.rst` (GH-110862) ↵Miss Islington (bot)2023-10-142-34/+60
| | | | | | | | (#110877) gh-101100: Fix sphinx warnings in `library/time.rst` (GH-110862) (cherry picked from commit 12deda763359d46d4eccbb8991afed71fa31a68b) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* [3.12] remove redundant call to attach_loop in watcher (GH-110847) (#110867)Miss Islington (bot)2023-10-141-2/+0
| | | | | (cherry picked from commit 596589104fe5a4d90cb145b2cc69b71cc9aa9f07) Co-authored-by: Thomas Grainger <tagrain@gmail.com>
* [3.12] gh-110715: Add missing import in zipfile (gh-110822) (gh-110861)Miss Islington (bot)2023-10-142-7/+19
| | | | | | gh-110715: Add missing import in zipfile (gh-110822) (cherry picked from commit 4110cfec1233139b4e7c63459ba465ab80554e3e) Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
* [3.12] gh-110628: Add tests for PyLong C API (GH-110629) (GH-110854)Serhiy Storchaka2023-10-143-0/+590
| | | (cherry picked from commit 9d40ebf1902812fad6aa85ede7b6f1fdff3c1291)
* [3.12] gh-107705: Fix file leak in test_tkinter in the C locale (GH-110507) ↵Miss Islington (bot)2023-10-141-5/+10
| | | | | | | (GH-110857) (cherry picked from commit ca0f3d858d069231ce7c5b382790a774f385b467) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.12] gh-109747: Improve errors for unsupported look-behind patterns ↵Miss Islington (bot)2023-10-146-13/+46
| | | | | | | | | | | (GH-109859) (GH-110859) Now re.error is raised instead of OverflowError or RuntimeError for too large width of look-behind pattern. The limit is increased to 2**32-1 (was 2**31-1). (cherry picked from commit e2b3d831fd2824d8a5713e3ed2a64aad0fb6b62d) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.12] gh-101100: Fix sphinx warnings in `usage/cmdline.rst` (GH-110841) ↵Miss Islington (bot)2023-10-142-9/+9
| | | | | | (#110855) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* [3.12] gh-110392: Fix tty functions (GH-110642) (GH-110853)Miss Islington (bot)2023-10-143-2/+12
| | | | | | | | | | | | * tty.setraw() and tty.setcbreak() previously returned partially modified list of the original tty attributes. Now they return the correct list of the original tty attributes * tty.cfmakeraw() and tty.cfmakecbreak() now make a copy of the list of special characters before modifying it. (cherry picked from commit 84e2096fbdea880799f2fdb3f0992a8961106bed) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.12] gh-108303: Move all inspect test files to `test_inspect/` (GH-109607) ↵Nikita Sobolev2023-10-1311-7/+15
| | | | | (#110732) (cherry picked from commit 732532b0af9d1b5c7ae4932526c8d20d86c15507)
* [3.12] Bump sphinx-lint to 0.7.0 (GH-110830) (#110833)Miss Islington (bot)2023-10-131-3/+2
| | | | | | Bump sphinx-lint to 0.7.0 (GH-110830) (cherry picked from commit 0ed2329a1627fc8ae97b009114cd960c25567f75) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>