summaryrefslogtreecommitdiffstats
path: root/Include/internal/pycore_runtime_init_generated.h
diff options
context:
space:
mode:
authorNikita Sobolev <mail@sobolevn.me>2022-10-07 18:06:23 (GMT)
committerGitHub <noreply@github.com>2022-10-07 18:06:23 (GMT)
commit24a664589448d99a62386d5afa180cfb52733a7e (patch)
treed222c187c9a8dcef1fd5c379036accdf6e7808f2 /Include/internal/pycore_runtime_init_generated.h
parent002252c4ade6a5aeb7a397776dbe3c1de0740e84 (diff)
downloadcpython-24a664589448d99a62386d5afa180cfb52733a7e.zip
cpython-24a664589448d99a62386d5afa180cfb52733a7e.tar.gz
cpython-24a664589448d99a62386d5afa180cfb52733a7e.tar.bz2
gh-97955: Migrate `zoneinfo` to Argument Clinic (#97958)
Diffstat (limited to 'Include/internal/pycore_runtime_init_generated.h')
-rw-r--r--Include/internal/pycore_runtime_init_generated.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Include/internal/pycore_runtime_init_generated.h b/Include/internal/pycore_runtime_init_generated.h
index ea01fc0..617582f 100644
--- a/Include/internal/pycore_runtime_init_generated.h
+++ b/Include/internal/pycore_runtime_init_generated.h
@@ -1003,6 +1003,7 @@ extern "C" {
INIT_ID(offset_src), \
INIT_ID(on_type_read), \
INIT_ID(onceregistry), \
+ INIT_ID(only_keys), \
INIT_ID(oparg), \
INIT_ID(opcode), \
INIT_ID(open), \
@@ -2313,6 +2314,8 @@ _PyUnicode_InitStaticStrings(void) {
PyUnicode_InternInPlace(&string);
string = &_Py_ID(onceregistry);
PyUnicode_InternInPlace(&string);
+ string = &_Py_ID(only_keys);
+ PyUnicode_InternInPlace(&string);
string = &_Py_ID(oparg);
PyUnicode_InternInPlace(&string);
string = &_Py_ID(opcode);
@@ -6554,6 +6557,10 @@ _PyStaticObjects_CheckRefcnt(void) {
_PyObject_Dump((PyObject *)&_Py_ID(onceregistry));
Py_FatalError("immortal object has less refcnt than expected _PyObject_IMMORTAL_REFCNT");
};
+ if (Py_REFCNT((PyObject *)&_Py_ID(only_keys)) < _PyObject_IMMORTAL_REFCNT) {
+ _PyObject_Dump((PyObject *)&_Py_ID(only_keys));
+ Py_FatalError("immortal object has less refcnt than expected _PyObject_IMMORTAL_REFCNT");
+ };
if (Py_REFCNT((PyObject *)&_Py_ID(oparg)) < _PyObject_IMMORTAL_REFCNT) {
_PyObject_Dump((PyObject *)&_Py_ID(oparg));
Py_FatalError("immortal object has less refcnt than expected _PyObject_IMMORTAL_REFCNT");