Skip to content

Commit d7f80dd

Browse files
committed
Restore and keep _Py_ID for now
1 parent 0b01f51 commit d7f80dd

File tree

5 files changed

+9
-0
lines changed

5 files changed

+9
-0
lines changed

Include/internal/pycore_global_objects_fini_generated.h

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Include/internal/pycore_global_strings.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,7 @@ struct _Py_global_strings {
326326
STRUCT_FOR_ID(c_call)
327327
STRUCT_FOR_ID(c_exception)
328328
STRUCT_FOR_ID(c_return)
329+
STRUCT_FOR_ID(cached_datetime_module)
329330
STRUCT_FOR_ID(cached_statements)
330331
STRUCT_FOR_ID(cadata)
331332
STRUCT_FOR_ID(cafile)

Include/internal/pycore_runtime_init_generated.h

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Include/internal/pycore_unicodeobject_generated.h

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Modules/_datetimemodule.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,8 @@ get_module_state(PyObject *module)
125125
}
126126

127127

128+
#define INTERP_KEY ((PyObject *)&_Py_ID(cached_datetime_module)) // unused
129+
128130
static PyObject *
129131
get_current_module(PyInterpreterState *interp, int *p_reloading)
130132
{

0 commit comments

Comments
 (0)