[3.12] gh-120198: Fix race condition when editing __class__ with an audit hook active (GH-120195) by Fidget-Spinner · Pull Request #120393 · python/cpython · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 34 additions & 1 deletion Lib/test/test_super.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix a crash when multiple threads read and write to the same ``__class__`` of an object concurrently.
3 changes: 2 additions & 1 deletion Objects/typeobject.c