There was an error while loading. Please reload this page.
1 parent 616b745 commit 2ba2c14Copy full SHA for 2ba2c14
2 files changed
Objects/codeobject.c
@@ -390,11 +390,9 @@ init_code(PyCodeObject *co, struct _PyCodeConstructor *con)
390
co->co_filename = Py_NewRef(con->filename);
391
co->co_name = Py_NewRef(con->name);
392
co->co_qualname = Py_NewRef(con->qualname);
393
-#ifdef Py_GIL_DISABLED
394
PyUnicode_InternInPlace(&co->co_filename);
395
PyUnicode_InternInPlace(&co->co_name);
396
PyUnicode_InternInPlace(&co->co_qualname);
397
-#endif
398
co->co_flags = con->flags;
399
400
co->co_firstlineno = con->firstlineno;
Programs/test_frozenmain.h
0 commit comments