| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
gh-111031: Check more files in `test_tokenize` (GH-111032)
(cherry picked from commit e9b5399bee7106beeeb38a45cfef3f0ed3fdd703)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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>
|
|
|
| |
(cherry picked from commit 19916941172844f9c52d7a6dce95efaa23035772)
|
|
|
| |
(cherry picked from commit d9246c7b734b8958da03494045208681d95f5b74)
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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>
|
|
|
|
|
|
|
|
|
|
|
| |
(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>
|
|
|
|
|
|
|
|
| |
(#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>
|
|
|
|
|
|
|
|
| |
(#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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
(#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>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
| |
(cherry picked from commit b75b1f389f083db8568bff573c33ab4ecf29655a)
|
|
|
|
|
|
|
|
|
|
|
| |
(#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>
|
|
|
|
| |
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
(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>
|
|
|
| |
(cherry-picked from commit 02d26c4bef3ad0f9c97e47993a7fa67898842e5c)
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
gh-110527: Improve `PySet_Clear` docs (GH-110528)
(cherry picked from commit bfc1cd8145db00df23fbbd2ed95324bb96c0b25b)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
(GH-109139) (#110897)
|
|
|
|
|
| |
Co-authored-by: partev <petrosyan@gmail.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
| |
(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)
|
| |
|
|
|
|
|
|
|
|
| |
(#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>
|
|
|
|
|
| |
(cherry picked from commit 596589104fe5a4d90cb145b2cc69b71cc9aa9f07)
Co-authored-by: Thomas Grainger <tagrain@gmail.com>
|
|
|
|
|
|
| |
gh-110715: Add missing import in zipfile (gh-110822)
(cherry picked from commit 4110cfec1233139b4e7c63459ba465ab80554e3e)
Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
|
|
|
| |
(cherry picked from commit 9d40ebf1902812fad6aa85ede7b6f1fdff3c1291)
|
|
|
|
|
|
|
| |
(GH-110857)
(cherry picked from commit ca0f3d858d069231ce7c5b382790a774f385b467)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
(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>
|
|
|
|
|
|
| |
(#110855)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
| |
(#110732)
(cherry picked from commit 732532b0af9d1b5c7ae4932526c8d20d86c15507)
|
|
|
|
|
|
| |
Bump sphinx-lint to 0.7.0 (GH-110830)
(cherry picked from commit 0ed2329a1627fc8ae97b009114cd960c25567f75)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
|
|
|
|
|
|
|
| |
(GH-110817) (GH-110825)
(cherry picked from commit 548ce0923b9ef93b1c1df59f8febc4bb3daff28a)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#110826)
gh-110703: Add asyncio.wait_for() change notes for 3.11 (GH-110818)
* Remove redundant versionchanged
* Add missing versionchanged
* Update Doc/library/asyncio-task.rst
---------
(cherry picked from commit f81e36f700ac8c6766207fcf3bc2540692af868b)
Co-authored-by: paskozdilar <53006174+paskozdilar@users.noreply.github.com>
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(GH-110813) (#110823)
gh-110803: Reorganize docs for what PyType_Slot doesn't cover (GH-110813)
* gh-110803: Reorganize docs for what PyType_Slot doesn't cover
- Cover the offset fields first
- Mention the old alternative for MANAGED flags, which is needed
to support older Pythons
- De-emphasize the internal flags: use an inline list.
- Add a note to PyMemberDef saying what to do with it
* Remove an older draft...
(cherry picked from commit 2ab34f0e425d90d0a153104ef2f4343dce2a414d)
Co-authored-by: Petr Viktorin <encukou@gmail.com>
|
|
|
|
|
|
|
|
| |
(GH-110768) (#110808)
(cherry picked from commit 05439d308740b621d03562451a7608eb725937ae)
Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
|
|
|
|
|
|
|
|
| |
(GH-110784) (#110787)
gh-110782: Fix crash when TypeVar is constructed with keyword args (GH-110784)
(cherry picked from commit d2a536b1706d4a79303b7ac53684bb82eac2de23)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
|
|
|
|
|
|
| |
gh-110756: Sync regrtest with main branch
* Remove runtest.py and runtest_mp.py of Lib/test/libregrtest/.
* Backport support._parse_memlimit().
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
gh-110756: Sync regrtest with main branch
Copy files from main to this branch:
* Lib/test/libregrtest/*.py
* Lib/test/__init__.py
* Lib/test/__main__.py
* Lib/test/autotest.py
* Lib/test/pythoninfo.py
* Lib/test/regrtest.py
* Lib/test/test_regrtest.py
Do not modify scripts running tests such as Makefile.pre.in,
.github/workflows/build.yml or Tools/scripts/run_tests.py: do not use
--fast-ci and --slow-ci in this change.
Changes:
* SPLITTESTDIRS: don't include test_inspect.
* Add utils.process_cpu_count() using len(os.sched_getaffinity(0)).
* test_regrtest doesn't use @support.without_optimizer which doesn't
exist in Python 3.12.
* Add support.set_sanitizer_env_var().
* Update test_faulthandler to use support.set_sanitizer_env_var().
|
|
|
|
|
| |
unpacking (GH-110706) (#110765)
(cherry picked from commit 3d180347ae73119bb51500efeeafdcd62bcc6f78)
|
|
|
|
|
|
|
| |
(GH-110754) (#110762)
(cherry picked from commit fb7843ee895ac7f6eeb58f356b1a320eea081cfc)
Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
|
|
|
|
|
|
|
|
|
| |
(cherry picked from commit d1f7fae424d51b0374c8204599583c4a26c1a992)
* Remove the content of the Argument Clinic HOWTO
* Update cross-references to the Argument Clinic
* Add a note directing readers to the devguide
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
| |
gh-110673: test_pty raises on short write (GH-110677)
Add write_all() helper function to test_pty to raise an exception on
short write: if os.writes() does not write all bytes. It should not
happen for a PTY.
(cherry picked from commit b4e8049766a46a9e6548b18d7e9a0c9f573cd122)
Co-authored-by: Victor Stinner <vstinner@python.org>
|
|
|
|
|
|
|
|
| |
gh-110631: Fix reST indentation in `Doc/reference` (GH-110708)
Fix wrong indentation in the Doc/reference dir.
(cherry picked from commit 41d8ec5a1bae1e5d4452da0a1a0649ace4ecb7b0)
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
|
|
|
|
|
|
| |
* Fix wrong indentation in the other dirs.
* Fix more wrong indentation..
(cherry picked from commit 718391f475f2550d99dd794069ca76312f7f6aa6)
|
|
|
|
|
|
|
|
| |
gh-110631: Fix reST indentation in `Doc/library` (GH-110685)
Fix wrong indentation in the Doc/library dir.
(cherry picked from commit bb7923f556537a463c403dc1097726d8a8e1a6f2)
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
|
|
|
|
|
|
|
|
| |
`main` (#108827) (#110681)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Radislav Chugunov <52372310+chgnrdv@users.noreply.github.com>
|