summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* gh-104773: PEP 594: Remove the spwd module (#104871)Victor Stinner2023-05-2419-581/+16
| | | Remove spwd from the configure script and Modules/Setup.
* gh-99108: Refresh HACL* (#104808)Jonathan Protzenko2023-05-2418-149/+225
| | | Refresh HACL* from upstream to improve SHA2 performance and fix a 32-bit issue in SHA3.
* gh-104879: Fix TypeAliasType.__module__ in exec() (#104881)Jelle Zijlstra2023-05-244-2/+52
|
* Improve test coverage for is_typeddict (#104884)Jelle Zijlstra2023-05-241-3/+22
| | | | | In particular, it's important to test that is_typeddict(TypedDict) returns False.
* gh-104866: Tokenize should emit NEWLINE after exiting block with comment ↵Lysandros Nikolaou2023-05-242-3/+23
| | | | (#104870)
* gh-104773: PEP 594: Remove the mailcap module (#104867)Victor Stinner2023-05-2412-715/+9
| | | Remove Lib/test/mailcap.txt test file.
* gh-104773: Remove OSSAUDIODEV_LIBS variable (#104864)Victor Stinner2023-05-242-14/+0
| | | | Update configure script for ossaudiodev removal: remove the OSSAUDIODEV_LIBS variable.
* RtD docs previews: Cancel building PRs if no changes in Doc dir (#104100)Hugo van Kemenade2023-05-242-1/+15
| | | | | | Co-authored-by: Nikita Sobolev <mail@sobolevn.me> Co-authored-by: Manuel Kaufmann <humitos@gmail.com> Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
* gh-104773: PEP 594: Remove the sunau module (#104863)Victor Stinner2023-05-2421-981/+16
| | | | * Remove Lib/test/audiodata/pluck-*.au files. * Remove Lib/test/audiotest.au file.
* gh-102856: Update "Formatted string literals" docs section after PEP701 ↵Lysandros Nikolaou2023-05-241-17/+35
| | | | (#104861)
* gh-104773: PEP 594: Remove the ossaudiodev module (#104862)Victor Stinner2023-05-2418-2119/+12
| | | | | * Remove ossaudiodev extension in configure.ac and regenerate the configure script. * Remove ossaudiodev in Modules/Setup and Modules/Setup.stdlib.in.
* gh-104773: PEP 594: Remove the pipes module (#104848)Victor Stinner2023-05-2410-568/+9
|
* gh-102856: Add missing quote to fix doctest (#104852)Hugo van Kemenade2023-05-241-1/+1
|
* gh-101282: Enclose BOLT_APPLY_FLAGS value in double quotes (gh-104752)Dong-hee Na2023-05-242-19/+18
|
* gh-104825: Remove implicit newline in the line attribute in tokens emitted ↵Pablo Galindo Salgado2023-05-245-8/+14
| | | | in the tokenize module (#104846)
* gh-102856: Add changes related to PEP 701 in 3.12 What's New docs (#104824)Marta Gómez Macías2023-05-241-16/+135
| | | | Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* gh-104773: PEP 594: Remove the sndhdr module (#104774)Victor Stinner2023-05-2420-426/+10
| | | Remove the Lib/test/sndhdrdata/ directory.
* gh-104773: PEP 594: Remove cgi and cgitb modules (#104775)Victor Stinner2023-05-2424-2739/+52
| | | | | * Replace "cgi" with "!cgi" in the Sphinx documentation to avoid warnings on broken references. * test_pyclbr no longer tests the cgi module.
* gh-104719: IDLE - test existence of all tokenize references. (#104767)Terry Jan Reedy2023-05-245-12/+54
| | | | | | Class editor.IndentSearcher contains all editor references to tokenize module. Module io tokenize reference cover those other modules. Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* Fix test_importlib.test_side_effect_import() (#104840)Victor Stinner2023-05-241-1/+2
| | | | | | Wait until the thread spawn by the import completes to avoid dangling threads. With this fix, the following command no longer fails: ./python -m test --fail-env-changed test_importlib -m test_side_effect_import -F -j20
* gh-104797: Allow Protocols to inherit from collections.abc.Buffer (#104827)Jelle Zijlstra2023-05-243-1/+19
|
* gh-104837: Revert "gh-104341: Add a Separate "Running" Lock for Each Thread ↵Gregory P. Smith2023-05-242-53/+41
| | | | | | | (gh-104754) (#104838) gh-104837: Revert "gh-104341: Add a Separate "Running" Lock for Each Thread (gh-104754)" This reverts commit 097b7830cd67f039ff36ba4fa285d82d26e25e84.
* gh-104372: use == -1 before PyErr_Occurred (#104831)Gregory P. Smith2023-05-241-1/+1
| | | The ideal pattern for this. (already in the 3.11 backport)
* gh-85934: Use getattr_static when adding mock spec (#22209)melanie witt2023-05-233-1/+40
| | | | Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
* GH-83863: Drop support for using `pathlib.Path` objects as context managers ↵Barney Gale2023-05-234-39/+7
| | | | | | | | | | (GH-104807) In Python 3.8 and prior, `pathlib.Path.__exit__()` marked a path as closed; some subsequent attempts to perform I/O would raise an IOError. This functionality was never documented, and had the effect of making `Path` objects mutable, contrary to PEP 428. In Python 3.9 we made `__exit__()` a no-op, and in 3.11 `__enter__()` began raising deprecation warnings. Here we remove both methods.
* gh-103295: fix stack overwrite on 32-bit in perf map test harness (#104811)Carl Meyer2023-05-231-4/+9
|
* gh-104770: Let generator.close() return value (#104771)Nicolas Tessore2023-05-234-9/+105
| | | | Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
* gh-102120: [TarFile] Add an iter function that doesn't cache (GH-102128)Robert O'Shea2023-05-234-7/+42
|
* gh-104341: Add a Separate "Running" Lock for Each Thread (gh-104754)Eric Snow2023-05-232-41/+53
| | | | | Having a separate lock means Thread.join() doesn't need to wait for the thread to be cleaned up first. It can wait for the thread's Python target to finish running. This gives us some flexibility in how we clean up threads. (This is a minor cleanup as part of a fix for gh-104341.)
* Remove gh-103207 changelog item as it was never part of any release. (GH-104814)Ned Deily2023-05-231-10/+0
|
* Fix missing/incomplete NULL checks in multiple source files (#104564)chgnrdv2023-05-235-1/+20
| | | Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
* gh-104780: Remove 2to3 program and lib2to3 module (#104781)Victor Stinner2023-05-23135-21000/+26
| | | | | | | | | * Remove the Tools/scripts/2to3 script. * Remove the Lib/test/test_lib2to3/ directory. * Doc/tools/extensions/pyspecific.py: remove the "2to3fixer" object type. * Makefile and PC/layout/main.py no longer compile lib2to3 grammar files. * Update Makefile for 2to3 removal.
* gh-81005: Refactor str tests to reflect that str and unicode are merged in ↵Daniel Fortunov2023-05-235-39/+31
| | | | | | Python 3 (#13172) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* gh-104469: Convert _testcapi/long to use AC (gh-104720)Dong-hee Na2023-05-232-35/+250
|
* gh-92871: Remove typing.{io,re} namespaces (#92873)Sebastian Rittau2023-05-235-76/+7
| | | | | | Closes #92871 Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* gh-104773: PEP 594: Remove the telnetlib module (#104778)Victor Stinner2023-05-2314-1355/+11
|
* gh-104764: [Enum] fix 3.13-specific tests (GH-104779)Ethan Furman2023-05-232-43/+19
|
* gh-99108: Release the GIL around hashlib built-in computation (#104675)Gregory P. Smith2023-05-237-15/+207
| | | | | | | This matches the GIL releasing behavior of our existing `_hashopenssl` module, extending it to the HACL* built-ins. Includes adding comments to better describe the ENTER/LEAVE macros purpose and explain the lock strategy in both existing and new code.
* Add codeowners for the tokenizer module (#104753)Pablo Galindo Salgado2023-05-221-0/+2
|
* gh-104764: Skip failing tests in test_enum that started failing. (#104765)T. Wouters2023-05-221-7/+7
| | | Skip failing tests in test_enum that started failing when the version was bumped to 3.13.
* Add the 3.12 branch to the github workflows. (#104768)T. Wouters2023-05-222-0/+4
|
* gh-102304: Temporarily Bump Py_LIMITED_API for 2 New Functions (#104766)Eric Snow2023-05-221-1/+1
| | | Quick and dirty.
* Update Windows library names for the Python version bump (#104755)Kirill Podoprigora2023-05-221-2/+2
|
* Regenerate configure after the Python version bump (#104757)T. Wouters2023-05-221-13/+13
| | | Regenerate configure after the Python version bump.
* Fix whatsnew for 3.13. (GH-104756)Ned Deily2023-05-222-0/+1
|
* GH-104668: Don't call PyOS_* hooks in subinterpreters (GH-104674)Brandt Bucher2023-05-224-7/+47
|
* Merge branch 'main' of https://github.com/python/cpython into mainThomas Wouters2023-05-222-9/+3
|\
| * GH-101291: Avoid using macros with casts in low-level long API. (#104742)Mark Shannon2023-05-221-2/+3
| |
| * howto/urllib2: remove link to an outdated french translation (GH-104193)Mathieu Dupuy2023-05-221-7/+0
| | | | | | We now have our own translation and it's not outdated
* | Python 3.13.0a0Thomas Wouters2023-05-225-17/+149
| |