diff options
| author | Eric Snow <ericsnowcurrently@gmail.com> | 2022-11-08 10:03:03 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-08 10:03:03 -0700 |
| commit | 52f91c642b72003c57fc1fb855beab6dfab155b7 (patch) | |
| tree | 051abac024b2749d6e54c7c933a5c46fea3e2b63 /PCbuild | |
| parent | d45cc80452b11d5ffc5c9721f74a3e3df8ecad8b (diff) | |
| download | cpython-git-52f91c642b72003c57fc1fb855beab6dfab155b7.tar.gz | |
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.
https://github.com/python/cpython/issues/90868
Diffstat (limited to 'PCbuild')
| -rw-r--r-- | PCbuild/pythoncore.vcxproj | 2 | ||||
| -rw-r--r-- | PCbuild/pythoncore.vcxproj.filters | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/PCbuild/pythoncore.vcxproj b/PCbuild/pythoncore.vcxproj index 111ad67f7d..6d4d859181 100644 --- a/PCbuild/pythoncore.vcxproj +++ b/PCbuild/pythoncore.vcxproj @@ -219,6 +219,7 @@ <ClInclude Include="..\Include\internal\pycore_getopt.h" /> <ClInclude Include="..\Include\internal\pycore_gil.h" /> <ClInclude Include="..\Include\internal\pycore_global_objects.h" /> + <ClInclude Include="..\Include\internal\pycore_global_objects_fini_generated.h" /> <ClInclude Include="..\Include\internal\pycore_hamt.h" /> <ClInclude Include="..\Include\internal\pycore_hashtable.h" /> <ClInclude Include="..\Include\internal\pycore_import.h" /> @@ -254,6 +255,7 @@ <ClInclude Include="..\Include\internal\pycore_ucnhash.h" /> <ClInclude Include="..\Include\internal\pycore_unionobject.h" /> <ClInclude Include="..\Include\internal\pycore_unicodeobject.h" /> + <ClInclude Include="..\Include\internal\pycore_unicodeobject_generated.h" /> <ClInclude Include="..\Include\internal\pycore_warnings.h" /> <ClInclude Include="..\Include\intrcheck.h" /> <ClInclude Include="..\Include\iterobject.h" /> diff --git a/PCbuild/pythoncore.vcxproj.filters b/PCbuild/pythoncore.vcxproj.filters index ab7d01974b..e71ce2aa05 100644 --- a/PCbuild/pythoncore.vcxproj.filters +++ b/PCbuild/pythoncore.vcxproj.filters @@ -477,6 +477,9 @@ <ClInclude Include="..\Include\internal\pycore_unicodeobject.h"> <Filter>Include\internal</Filter> </ClInclude> + <ClInclude Include="..\Include\internal\pycore_unicodeobject_generated.h"> + <Filter>Include\internal</Filter> + </ClInclude> <ClInclude Include="..\Include\internal\pycore_warnings.h"> <Filter>Include\internal</Filter> </ClInclude> @@ -558,6 +561,9 @@ <ClInclude Include="..\Include\internal\pycore_global_objects.h"> <Filter>Include\internal</Filter> </ClInclude> + <ClInclude Include="..\Include\internal\pycore_global_objects_fini_generated.h"> + <Filter>Include\internal</Filter> + </ClInclude> <ClInclude Include="..\Include\internal\pycore_hamt.h"> <Filter>Include\internal</Filter> </ClInclude> |
