Skip to content

Commit 81e7a6c

Browse files
gh-132578: Add news blurb to Library and fix test layout spacing
1 parent dd0c198 commit 81e7a6c

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

Lib/test/test_threading.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2862,7 +2862,7 @@ def run(self):
28622862
t = CustomThread()
28632863
t.start()
28642864
t.join()
2865-
2865+
28662866
# Assert that our custom handle parameter was preserved and did not break the thread run lifecycle
28672867
self.assertEqual(t._handle, "custom_third_party_handle_value")
28682868

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add a regression test to ensure that custom user-defined subclasses of threading.Thread can safely define or override a custom _handle attribute without colliding with internal state-tracking implementations.

0 commit comments

Comments
 (0)