105,097 issues in python/cpython
When specializing some Python calls, we assert that we don t have more defaults than we have arguments. This isn t always true, though: def f(): ... pass ... f.__defaults__ = (None,) ...
(cherry picked from commit a4056c8f9c2d9970d39e3cb6bffb255cd4b8a42c) Co-authored-by: Brandt Bucher [email protected] !-- gh-issue-number: gh-105588 -- - Issue: gh-105588 !-- /gh-issue-number ...
(cherry picked from commit a4056c8f9c2d9970d39e3cb6bffb255cd4b8a42c) Co-authored-by: Brandt Bucher [email protected] !-- gh-issue-number: gh-105588 -- - Issue: gh-105588 !-- /gh-issue-number ...
Bug report Follow up to https://github.com/python/cpython/issues/105332 Following the changes to fix that issue enum.IntFlag appears to pickle correctly on the latest Python 3.12 commit (dd36656ada05731c069ecd5b1878380294fb1f3e) ...
Bug report When an asyncio task is created from another thread via asyncio.run_coroutine_threadsafe, a concurrent.futures.Future is returned, which wraps an underlying asyncio.Task. In a typical use ...
typing.py
(#105835)
Closes #105834 !-- gh-issue-number: gh-105834 -- - Issue: gh-105834 !-- /gh-issue-number --
typing.py
(#105834)
Bug report If you apply this diff to typing.py, all tests continue to pass: diff --git a/Lib/typing.py b/Lib/typing.py index 1dd9398344..98e19644a2 100644 --- a/Lib/typing.py +++ b/Lib/typing.py @@ -1931,6 ...
!-- Thanks for your contribution! Please read this comment in its entirety. It s quite important. Pull Request title It should be in the following format: gh-NNNNN: Summary of the changes made Where: ...
(cherry picked from commit d382ad49157b3802fc5619f68d96810def517869) Co-authored-by: Lysandros Nikolaou [email protected] !-- gh-issue-number: gh-105820 -- - Issue: gh-105820 !-- /gh-issue-number ...
Where there s an f-string that has a debug expression in the last line of a file, the debug expression buffer is one character too short. For example: ```python3 cpython on main via C v14.0.3-clang ...