-
-
Notifications
You must be signed in to change notification settings - Fork 33.4k
Closed
Labels
interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)topic-free-threadingtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
Bug description:
There are some additional data races (producing TSAN warnings) for typeobject.c in the free-threaded build.
The following stores are unsafe:
- _Py_slot_tp_getattr_hook re-assigns tp_getattro
- slot_tp_descr_get assigns to tp_descr_get
- type_set_name assigns to tp_name
- tp_base and tp_bases are assigned in likely unsafe ways
CPython versions tested on:
CPython main branch
Operating systems tested on:
No response
Linked PRs
- gh-133467: Add TSAN suppressions for races in typeobject #133534
- [3.14] gh-133467: Add TSAN suppressions for races in typeobject (gh-133534) #133717
- gh-133467: fix data race in type_set_name #137302
- [3.14] gh-133467: fix data race in
type_set_name(GH-137302) #137303 - gh-133467: Fix typeobject
tp_baserace in free threading #140549
Metadata
Metadata
Assignees
Labels
interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)topic-free-threadingtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error