| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
…Global Objects Initializer (pythongh-99389) Up until now we had a single generated initializer macro for all the statically declared global objects in _PyRuntimeState, including several one-offs (e.g. the empty tuple). The one-offs don't need to be generated, but were because we had one big initializer. Having separate initializers for set of generated global objects allows us to generate only the ones we need to. This allows us to add initializers for one-off global objects without having to generate them. python#81057
| Back | FazBrowse Home | New Git URL |
Currently we ge have a single generated initializer macro for all the statically declared global objects in _PyRuntimState, including several one-offs (e.g. the empty tuple). The one-offs don't need to be generated, but are because we have one big initializer. Having separate initializers for the different bottom-level groups of global objects allows us to generate only the ones we need to.
This allows us to add initializers for one-off global objects without having to generate them.