Skip to content

Commit 4b7c6ae

Browse files
gpsheadclaude
andcommitted
Add 'canonical' to global strings tables
The _Py_ID(canonical) identifier used by the clinic-generated argument parsing code needs to be registered in the global strings. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 819e14e commit 4b7c6ae

File tree

4 files changed

+7
-0
lines changed

4 files changed

+7
-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
@@ -359,6 +359,7 @@ struct _Py_global_strings {
359359
STRUCT_FOR_ID(callable)
360360
STRUCT_FOR_ID(callback)
361361
STRUCT_FOR_ID(cancel)
362+
STRUCT_FOR_ID(canonical)
362363
STRUCT_FOR_ID(capath)
363364
STRUCT_FOR_ID(capitals)
364365
STRUCT_FOR_ID(category)

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.

0 commit comments

Comments
 (0)