Skip to content
Permalink
Browse files
gh-90868: Adjust the Generated Objects (gh-99223)
We do the following:

* move the generated _PyUnicode_InitStaticStrings() to its own file
* move the generated _PyStaticObjects_CheckRefcnt() to its own file
* include pycore_global_objects.h in extension modules instead of pycore_runtime_init.h

These changes help us avoid including things that aren't needed.

#90868
  • Loading branch information
ericsnowcurrently committed Nov 8, 2022
1 parent d45cc80 commit 52f91c642b72003c57fc1fb855beab6dfab155b7
Show file tree
Hide file tree
Showing 15 changed files with 7,193 additions and 7,098 deletions.
@@ -69,7 +69,7 @@ Doc/library/token-list.inc generated
Include/internal/pycore_ast.h generated
Include/internal/pycore_ast_state.h generated
Include/internal/pycore_opcode.h generated
Include/internal/pycore_runtime_init_generated.h generated
Include/internal/pycore_*_generated.h generated
Include/opcode.h generated
Include/token.h generated
Lib/keyword.py generated

Large diffs are not rendered by default.

0 comments on commit 52f91c6

Please sign in to comment.