summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* gh-104886: Remove deprecated configparser.LegacyInterpolation (#104887)Hugo van Kemenade2023-05-265-91/+12
| | | | Co-authored-by: Victor Stinner <vstinner@python.org>
* gh-102024: Reduced _idle_semaphore.release calls (#102025)Andrii Kuzmin2023-05-262-8/+12
| | | | | | | | | Reduced _idle_semaphore.release calls in concurrent.futures.thread._worker _idle_semaphore.release() is now only called if only work_queue is empty. --------- Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
* GH-104787: use managed dict in `_asyncio` (#104795)Kumar Aditya2023-05-261-9/+5
|
* gh-104876: Remove deprecated turtle.RawTurtle.settiltangle (#104877)Hugo van Kemenade2023-05-266-60/+12
| | | Co-authored-by: Victor Stinner <vstinner@python.org>
* Fix typo in the tokenizer (#104950)Stepfen Shawn2023-05-261-1/+1
|
* GH-104898: Add __slots__ to os.PathLike (GH-104899)Barney Gale2023-05-254-5/+10
|
* gh-104786: Remove kwargs-based TypedDict creation (#104891)Tomas R2023-05-255-63/+17
| | | | | Deprecated since Python 3.11. Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* gh-104372: Drop the GIL around the vfork() call. (#104782)Gregory P. Smith2023-05-253-6/+31
| | | | | | | | | On Linux where the `subprocess` module can use the `vfork` syscall for faster spawning, prevent the parent process from blocking other threads by dropping the GIL while it waits for the vfork'ed child process `exec` outcome. This prevents spawning a binary from a slow filesystem from blocking the rest of the application. Fixes #104372.
* Fix umask test failures under Codespaces (#104913)Brett Cannon2023-05-252-7/+14
| | | Also turn on the Python extension for Python code completions and bump the installed versions of wasmtime and the WASI SDK.
* gh-104935: typing: Fix interactions between `@runtime_checkable` and ↵Jelle Zijlstra2023-05-253-3/+48
| | | | | | | `Generic` (#104939) --------- Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* gh-104773: PEP 594: Remove the chunk module (#104868)Victor Stinner2023-05-2510-321/+8
| | | The module had no tests.
* gh-104773: PEP 594: Remove the audioop module (#104937)Victor Stinner2023-05-2524-4255/+14
|
* gh-104773: PEP 594: Remove the aifc module (#104933)Victor Stinner2023-05-2525-1688/+20
| | | | * Remove .aifc and .aiff test files of Lib/test/audiodata/ * Remove Lib/test/Sine-1000Hz-300ms.aif test file
* gh-84976: Add back UTC to datetime.__all__ (#104920)Shantanu2023-05-251-1/+1
| | | | | | | gh-84796: Add back UTC to datetime.__all__ This was mistakenly dropped in #103637 Noticed when updating typeshed for Python 3.12
* Improves the Windows MSI test run on PR (GH-104929)Steve Dower2023-05-252-35/+27
| | | | Correctly set the exit code when builds fail Also build docs as part of the test
* gh-104773: PEP 594: Remove the uu module (#104932)Victor Stinner2023-05-2514-589/+12
| | | | Doc/license.rst: Keep the UUencode and UUdecode license since it's also used by the uu codec.
* gh-104773: PEP 594: Remove the crypt module (#104908)Victor Stinner2023-05-2528-991/+35
| | | | Remove the crypt module and its private _crypt extension, deprecated in Python 3.11.
* Fix indentation in `json.AttrDict` REPL example (#104930)Alex Waygood2023-05-251-8/+8
| | | This is causing the docs to be rendered incorrectly.
* CI: Cache config.cache across runs to speed up build (#104800)Hugo van Kemenade2023-05-251-6/+45
|
* Misc improvements to the itertools docs (GH-104916)Raymond Hettinger2023-05-251-7/+24
|
* Misc updates to Whatsnew 3.12 (#104912)Raymond Hettinger2023-05-252-3/+36
|
* gh-104773: Remove the msilib package (GH-104911)Zachary Ware2023-05-2531-4650/+22
|
* gh-104874: Document NewType.__supertype__ (#104875)Jelle Zijlstra2023-05-242-0/+14
|
* gh-104773: Fix PY_STDLIB_MOD_SET_NA() on macOS (#104901)Victor Stinner2023-05-242-0/+4
| | | The _scproxy is available on macOS: fix configure script.
* gh-104820: Fixes os.stat on Windows to better handle file systems that do ↵Steve Dower2023-05-243-5/+12
| | | | not support FileIdInformation (GH-104892)
* gh-104773: PEP 594: Remove the xdrlib module (#104900)Victor Stinner2023-05-2413-615/+8
| | | pickle documentation no longer mentions the XDR format.
* gh-104773: PEP 594: Remove the nis module (#104897)Victor Stinner2023-05-2421-1023/+13
|
* gh-104835: Remove unittest's deprecated getTestCaseNames, makeSuite, ↵Hugo van Kemenade2023-05-247-88/+30
| | | | findTestCases (#104836)
* gh-104773: PEP 594: Remove the nntplib module (#104894)Victor Stinner2023-05-2426-3364/+33
| | | | | | | | * socket_helper.transient_internet() no longer imports nntplib to catch nntplib.NNTPTemporaryError. * ssltests.py no longer runs test_nntplib. * "make quicktest" no longer runs test_nntplib. * WASM: remove nntplib from OMIT_NETWORKING_FILES. * Remove mentions to nntplib in the email documentation.
* 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
|