-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
Open
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
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