-
-
Notifications
You must be signed in to change notification settings - Fork 33.2k
Closed
Labels
extension-modulesC modules in the Modules dirC modules in the Modules dirtopic-free-threadingtopic-regextype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
Concurrent accesses to module_state->compile_template in the free threaded build
Lines 1169 to 1177 in 1feaecc
| /* delegate to Python code */ | |
| PyObject *func = module_state->compile_template; | |
| if (func == NULL) { | |
| func = PyImport_ImportModuleAttrString("re", "_compile_template"); | |
| if (func == NULL) { | |
| return NULL; | |
| } | |
| Py_XSETREF(module_state->compile_template, func); | |
| } |
Linked PRs
Metadata
Metadata
Assignees
Labels
extension-modulesC modules in the Modules dirC modules in the Modules dirtopic-free-threadingtopic-regextype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error