]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-132578: Rename the `threading.Thread._handle` field (#132696)
authormpage <mpage@meta.com>
Mon, 21 Apr 2025 23:07:54 +0000 (16:07 -0700)
committerGitHub <noreply@github.com>
Mon, 21 Apr 2025 23:07:54 +0000 (16:07 -0700)
commit3cfab449ab1e3c1472d2a33dc3fae3dc06c39f7b
tree8ffd309d6e382d78cd0fd2069891b281d4b4ee5e
parent2b47f46d7dc30d27b2486991fea4acd83553294b
gh-132578: Rename the `threading.Thread._handle` field (#132696)

Commit `0e9c364f` introduced the `_handle` field on instances of
`threading.Thread`. Unfortunately it's fairly common for subclasses
of `threading.Thread` to define a `_handle()` method, which is shadowed
by the new field.
Lib/threading.py
Misc/NEWS.d/next/Library/2025-04-18-10-00-09.gh-issue-132578.ruNvF-.rst [new file with mode: 0644]