colesbury · GitHub

Description

@colesbury

Bug report

Concurrent accesses to module_state->compile_template in the free threaded build

/* 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

No one assigned

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

Read the original on github.com ↗