Hugo van Kemenade
b225c08de8
gh-104992: Remove deprecated unittest.TestProgram.usageExit ( #104993 )
2023-05-27 21:34:14 +00:00
Terry Jan Reedy
897e716d03
gh-104497: Make tkinter test pass with tk 8.7 ( #104789 )
...
* 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>
2023-05-27 19:23:56 +00:00
Zachary Ware
a989b73e8e
gh-75552: Remove deprecated tkinter.tix module (GH-104902)
2023-05-27 12:34:19 -05:00
Marta Gómez Macías
86d8f48935
gh-105017: Fix including additional NL token when using CRLF ( #105022 )
...
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
2023-05-27 16:50:43 +00:00
Petr Vaněk
6e62eb2e70
Fix indentation in Parser/tokenizer.c ( #105012 )
2023-05-27 12:41:50 +01:00
Itamar Ostricher
949f0f5bb0
CI: Precompute hash for config cache key in check_source job ( #105008 )
2023-05-27 03:43:50 -06:00
Hugo van Kemenade
7df861c23c
gh-104992: [What's New in 3.11] Document unittest.TestProgram.usageExit's deprecation ( #104994 )
...
Document unittest.TestProgram.usageExit's pending removal in 3.13
2023-05-26 19:09:47 -07:00
Gregory P. Smith
a17f160376
gh-104839: Prevent test_venv AddressSanitizer spam ( #105005 )
...
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.
2023-05-26 18:15:13 -07:00
Pablo Galindo Salgado
46b52e6e2b
gh-104976: Ensure trailing dedent tokens are emitted as the previous tokenizer ( #104980 )
...
Signed-off-by: Pablo Galindo <pablogsal@gmail.com>
2023-05-26 22:02:26 +01:00
Raymond Hettinger
402ee5a68b
GH-101588: Deprecate pickle/copy/deepcopy support in itertools (GH-104965)
2023-05-26 15:32:53 -05:00
Barney Gale
328422ce61
GH-103631: Fix `PurePosixPath(PureWindowsPath(...))` separator handling (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>
2023-05-26 18:05:43 +00:00
Barney Gale
ad0be361c9
GH-104947: Make pathlib.PureWindowsPath comparisons consistent across 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>
2023-05-26 18:04:02 +00:00
Jelle Zijlstra
060277d96b
gh-103921: Document PEP 695 ( #104642 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-05-26 10:48:17 -07:00
Lysandros Nikolaou
95f1b1fef7
gh-104983: Fix test_peg_generator ( #104985 )
2023-05-26 18:06:45 +01:00
Shaygan Hooshyari
61c1d6760f
gh-104984: remove kwargs and starargs from Call & ClassDef ( #104986 )
...
These fields are removed in 025e9ebd0a
2023-05-26 10:43:58 -06:00
Pablo Galindo Salgado
3fdb55c482
gh-104972: Ensure that line attributes in tokens in the tokenize module are correct ( #104975 )
2023-05-26 15:46:22 +01:00
Jelle Zijlstra
2cb445635e
Remove raw asserts in test_typing.py ( #104951 )
2023-05-26 15:03:02 +01:00
Hugo van Kemenade
5ab4bc05c4
gh-104804: Remove webbrowser.MacOSX class, deprecated in Python 3.11 ( #104816 )
...
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Victor Stinner <vstinner@python.org>
2023-05-26 16:54:15 +03:00
Lysandros Nikolaou
afa759fb80
gh-100238: Use setuptools in peg-generator and reenable tests ( #104798 )
2023-05-26 15:32:03 +02:00
Victor Stinner
e399f46a77
gh-104773: PEP 594: Remove the imghdr module ( #104777 )
...
* 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.
2023-05-26 13:29:45 +00:00
Jelle Zijlstra
ba73473f4c
gh-104799: Move location of type_params AST fields ( #104828 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-05-26 05:54:37 -07:00
Jelle Zijlstra
6e1eccdcce
gh-104955: Fix __release_buffer__ signature ( #104956 )
...
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
2023-05-26 05:44:23 -07:00
Oleg Iarygin
6c81d7572e
gh-104924: Fix `read()able` in `http.client` log messages (gh-104926)
2023-05-26 20:39:51 +09:00
Kumar Aditya
7fc542c88d
GH-89091: raise `RuntimeWarning` for unawaited async generator methods ( #104611 )
2023-05-26 16:53:29 +05:30
Tomas R
46857d0b2a
gh-104943: Remove mentions of old Python versions ( #104945 )
2023-05-25 23:34:17 -07:00
Mark Dickinson
2cf04e455d
gh-104479: Update outdated tutorial floating-point reference ( #104681 )
2023-05-25 23:26:16 -07:00
Hugo van Kemenade
3f9c60f51e
gh-104886: Remove deprecated configparser.LegacyInterpolation ( #104887 )
...
Co-authored-by: Victor Stinner <vstinner@python.org>
2023-05-26 06:06:32 +00:00
Andrii Kuzmin
0242e9a57a
gh-102024: Reduced _idle_semaphore.release calls ( #102025 )
...
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>
2023-05-25 22:48:40 -07:00
Kumar Aditya
72c3d2e105
GH-104787: use managed dict in `_asyncio` ( #104795 )
2023-05-26 10:30:27 +05:30
Hugo van Kemenade
10c45838e1
gh-104876: Remove deprecated turtle.RawTurtle.settiltangle ( #104877 )
...
Co-authored-by: Victor Stinner <vstinner@python.org>
2023-05-26 07:25:52 +03:00
Stepfen Shawn
705e387dd8
Fix typo in the tokenizer ( #104950 )
2023-05-26 02:50:33 +00:00
Barney Gale
bd1b6228d1
GH-104898: Add __slots__ to os.PathLike (GH-104899)
2023-05-25 21:24:20 +01:00
Tomas R
fea8632ec6
gh-104786: Remove kwargs-based TypedDict creation ( #104891 )
...
Deprecated since Python 3.11.
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-05-25 21:14:58 +01:00
Gregory P. Smith
d08679212d
gh-104372: Drop the GIL around the vfork() call. ( #104782 )
...
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 .
2023-05-25 20:14:09 +00:00
Brett Cannon
08888650aa
Fix umask test failures under Codespaces ( #104913 )
...
Also turn on the Python extension for Python code completions and bump the installed versions of wasmtime and the WASI SDK.
2023-05-25 13:03:55 -07:00
Jelle Zijlstra
2b7027d0b2
gh-104935: typing: Fix interactions between `@runtime_checkable` and `Generic` ( #104939 )
...
---------
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-05-25 16:43:40 +00:00
Victor Stinner
77d7ec5aa9
gh-104773: PEP 594: Remove the chunk module ( #104868 )
...
The module had no tests.
2023-05-25 16:27:55 +00:00
Victor Stinner
f66be6b11a
gh-104773: PEP 594: Remove the audioop module ( #104937 )
2023-05-25 17:59:00 +02:00
Victor Stinner
036da3bd43
gh-104773: PEP 594: Remove the aifc module ( #104933 )
...
* Remove .aifc and .aiff test files of Lib/test/audiodata/
* Remove Lib/test/Sine-1000Hz-300ms.aif test file
2023-05-25 17:20:48 +02:00
Shantanu
076b6204cb
gh-84976: Add back UTC to datetime.__all__ ( #104920 )
...
gh-84796: Add back UTC to datetime.__all__
This was mistakenly dropped in #103637
Noticed when updating typeshed for Python 3.12
2023-05-25 11:18:56 -04:00
Steve Dower
569b2b8d61
Improves the Windows MSI test run on PR (GH-104929)
...
Correctly set the exit code when builds fail
Also build docs as part of the test
2023-05-25 16:17:12 +01:00
Victor Stinner
dbc8216f4c
gh-104773: PEP 594: Remove the uu module ( #104932 )
...
Doc/license.rst: Keep the UUencode and UUdecode license since it's
also used by the uu codec.
2023-05-25 16:25:27 +02:00
Victor Stinner
e4127eaa1e
gh-104773: PEP 594: Remove the crypt module ( #104908 )
...
Remove the crypt module and its private _crypt extension, deprecated
in Python 3.11.
2023-05-25 15:45:46 +02:00
Alex Waygood
38539ef126
Fix indentation in `json.AttrDict` REPL example ( #104930 )
...
This is causing the docs to be rendered incorrectly.
2023-05-25 14:05:43 +01:00
Hugo van Kemenade
1080c4386d
CI: Cache config.cache across runs to speed up build ( #104800 )
2023-05-25 14:09:57 +03:00
Raymond Hettinger
278030a17d
Misc improvements to the itertools docs (GH-104916)
2023-05-24 22:31:02 -05:00
Raymond Hettinger
8557a97078
Misc updates to Whatsnew 3.12 ( #104912 )
2023-05-24 20:59:51 -05:00
Zachary Ware
98c4333e88
gh-104773: Remove the msilib package (GH-104911)
2023-05-24 20:06:00 -05:00
Jelle Zijlstra
41768a2bd3
gh-104874: Document NewType.__supertype__ ( #104875 )
2023-05-25 00:23:28 +01:00
Victor Stinner
dbcdbf1814
gh-104773: Fix PY_STDLIB_MOD_SET_NA() on macOS ( #104901 )
...
The _scproxy is available on macOS: fix configure script.
2023-05-25 01:19:50 +02:00