summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* GH-104898: Revert pathlib os.PathLike registration change. (GH-105073)Barney Gale2023-05-291-1/+5
| | | | | | | | Subclassing `os.PathLike` rather than using `register()` makes initialisation slower, due to the additional `__isinstance__` work. This partially reverts commit bd1b6228d132b8e9836fe352cd8dca2b6c1bd98c. Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* GH-89455: Add missing attributes (added in 3.11) to traceback module docs ↵Jakub Kuczys2023-05-293-1/+23
| | | | (#105044)
* gh-103646: Remove --include-pip-user from default APPX package build (GH-105064)Steve Dower2023-05-292-1/+5
|
* GH-77609: Add follow_symlinks argument to `pathlib.Path.glob()` (GH-102616)Barney Gale2023-05-295-21/+130
| | | | | Add a keyword-only *follow_symlinks* parameter to `pathlib.Path.glob()` and`rglob()`. When *follow_symlinks* is `None` (the default), these methods follow symlinks except when evaluating "`**`" wildcards. When set to true or false, symlinks are always or never followed, respectively.
* gh-97908: CAPI docs: Remove repeated struct names from member docs (GH-100054)Petr Viktorin2023-05-292-8/+23
| | | | And add raw HTML fragments to keep old links working.
* gh-104803: Implement ntpath.isdevdrive for checking whether a path is on a ↵Steve Dower2023-05-296-1/+216
| | | | Windows Dev Drive (GH-104805)
* Fix compiler warning in unicodeobject.c (#105050)Inada Naoki2023-05-291-1/+1
|
* Document PEP 698 and other new typing features in What's New (#104957)Jelle Zijlstra2023-05-281-6/+37
|
* Convert `doc.yml` workflow to be reusable (#103914)Sviatoslav Sydorenko2023-05-282-25/+25
| | | | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* gh-105017: Include CRLF lines in strings and column numbers (#105030)Marta Gómez Macías2023-05-286-26/+74
| | | Co-authored-by: Pablo Galindo <pablogsal@gmail.com>
* gh-104992: [What's New in 3.12] Document unittest.TestProgram.usageExit's ↵Hugo van Kemenade2023-05-281-1/+2
| | | | deprecation (#104995)
* gh-105013: Fix inspect.getsource with parenthesized multiline lambdas (#105021)Pablo Galindo Salgado2023-05-274-0/+43
|
* gh-104992: Remove deprecated unittest.TestProgram.usageExit (#104993)Hugo van Kemenade2023-05-274-11/+8
|
* gh-104497: Make tkinter test pass with tk 8.7 (#104789)Terry Jan Reedy2023-05-271-1/+4
| | | | | | | | | | | | | | * gh-104497: Make tkinter test pass with tk 8.7 For test_widgets.MenuTest.test_configure_type, the options in the error message change to alphabetical order. * Update Lib/test/test_tkinter/test_widgets.py Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> --------- Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* gh-75552: Remove deprecated tkinter.tix module (GH-104902)Zachary Ware2023-05-2722-2719/+18
|
* gh-105017: Fix including additional NL token when using CRLF (#105022)Marta Gómez Macías2023-05-273-1/+10
| | | | Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
* Fix indentation in Parser/tokenizer.c (#105012)Petr Vaněk2023-05-271-1/+1
|
* CI: Precompute hash for config cache key in check_source job (#105008)Itamar Ostricher2023-05-271-6/+11
|
* gh-104992: [What's New in 3.11] Document unittest.TestProgram.usageExit's ↵Hugo van Kemenade2023-05-271-0/+4
| | | | | deprecation (#104994) Document unittest.TestProgram.usageExit's pending removal in 3.13
* gh-104839: Prevent test_venv AddressSanitizer spam (#105005)Gregory P. Smith2023-05-271-9/+8
| | | | | Pass any ASAN_OPTIONS environment variable through to the child process so that leak sanitizer being disabled on our CI and buildbots stays true in the children.
* gh-104976: Ensure trailing dedent tokens are emitted as the previous ↵Pablo Galindo Salgado2023-05-264-15/+34
| | | | | tokenizer (#104980) Signed-off-by: Pablo Galindo <pablogsal@gmail.com>
* GH-101588: Deprecate pickle/copy/deepcopy support in itertools (GH-104965)Raymond Hettinger2023-05-264-3/+97
|
* GH-103631: Fix `PurePosixPath(PureWindowsPath(...))` separator handling ↵Barney Gale2023-05-263-0/+11
| | | | | | | | | (GH-104949) For backwards compatibility, accept backslashes as path separators in `PurePosixPath` if an instance of `PureWindowsPath` is supplied. This restores behaviour from Python 3.11. Co-authored-by: Gregory P. Smith <greg@krypto.org>
* GH-104947: Make pathlib.PureWindowsPath comparisons consistent across ↵Barney Gale2023-05-263-1/+7
| | | | | | | | platforms (GH-104948) Use `str.lower()` rather than `ntpath.normcase()` to normalize case of Windows paths. This restores behaviour from Python 3.11. Co-authored-by: Gregory P. Smith <greg@krypto.org>
* gh-103921: Document PEP 695 (#104642)Jelle Zijlstra2023-05-2611-302/+1234
| | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* gh-104983: Fix test_peg_generator (#104985)Lysandros Nikolaou2023-05-261-71/+72
|
* gh-104984: remove kwargs and starargs from Call & ClassDef (#104986)Shaygan Hooshyari2023-05-261-6/+3
| | | These fields are removed in https://github.com/python/cpython/commit/025e9ebd0a0a19f50ca83af6ada0ac65be1fa2a1
* gh-104972: Ensure that line attributes in tokens in the tokenize module are ↵Pablo Galindo Salgado2023-05-264-9/+21
| | | | correct (#104975)
* Remove raw asserts in test_typing.py (#104951)Jelle Zijlstra2023-05-261-22/+30
|
* gh-104804: Remove webbrowser.MacOSX class, deprecated in Python 3.11 (#104816)Hugo van Kemenade2023-05-266-79/+37
| | | | | Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> Co-authored-by: Victor Stinner <vstinner@python.org>
* gh-100238: Use setuptools in peg-generator and reenable tests (#104798)Lysandros Nikolaou2023-05-266-102/+163
|
* gh-104773: PEP 594: Remove the imghdr module (#104777)Victor Stinner2023-05-2628-425/+21
| | | | | | * Remove the Lib/test/imghdrdata/ directory. * Copy 5 pictures (gif, png, ppm, pgm, xbm) from removed Lib/test/imghdrdata/ to a new Lib/test/tkinterdata/ directory. * Update Sphinx from 4.5 to 6.2 in Doc/requirements.txt.
* gh-104799: Move location of type_params AST fields (#104828)Jelle Zijlstra2023-05-269-266/+297
| | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* gh-104955: Fix __release_buffer__ signature (#104956)Jelle Zijlstra2023-05-263-1/+8
| | | Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
* gh-104924: Fix `read()able` in `http.client` log messages (gh-104926)Oleg Iarygin2023-05-261-2/+2
|
* GH-89091: raise `RuntimeWarning` for unawaited async generator methods (#104611)Kumar Aditya2023-05-269-2/+96
|
* gh-104943: Remove mentions of old Python versions (#104945)Tomas R2023-05-262-4/+2
|
* gh-104479: Update outdated tutorial floating-point reference (#104681)Mark Dickinson2023-05-261-10/+13
|
* 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
|