| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| #include "pycore_lock.h" // _PyOnceFlag | ||
| #include "pycore_modsupport.h" // _PyArg_NoPositional() | ||
| #include "pycore_pystate.h" // _PyInterpreterState_GET() | ||
| #include "pycore_runtime.h" // _Py_ID() |
There was a problem hiding this comment.
_Py_ID is defined in pycore_global_strings.h
Sorry, something went wrong.
There was a problem hiding this comment.
Oh, I see your comment on the issue... it needs access to _PyRuntime's internals.
Sorry, something went wrong.
There was a problem hiding this comment.
Yeah, in practice, pycore_runtime.h should be used.
Sorry, something went wrong.
There was a problem hiding this comment.
approving as a general concept without trying to understand each one of these directly under the assumption you know what you're doing to try and move towards a less tangled circular mess and anything actually wrong here would fail to build.
Sorry, something went wrong.
|
PR rewritten on top of commit a1aeec6: commit a1aeec61c4321ba9a6966109343bd88dcf9cb26a
Author: Mark Shannon <mark@hotpy.org>
Date: Mon Mar 17 09:19:04 2025 +0000
GH-131238: Core header refactor (GH-131250)
* Moves most structs in pycore_ header files into pycore_structs.h and pycore_runtime_structs.h
* Removes many cross-header dependencies
|
Sorry, something went wrong.
|
I wrote this PR to prepare #131356. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.