[Python-Dev] Consolidate stateful runtime globals (original) (raw)
Neil Schemenauer nas at arctrix.com
Thu Sep 7 14:08:41 EDT 2017
- Previous message (by thread): [Python-Dev] Consolidate stateful runtime globals
- Next message (by thread): [Python-Dev] Python 3.3.7rc1 now available prior to Python 3.3 end-of-life
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Is there any issue with unit-at-a-time optimization? I would imagine that a static global would allow optimizations that are not safe for a exported global (not sure the C term for it).
I suspect it doesn't matter and I support the idea in general. Global variables in extension modules kills the idea of a mark-and-sweap or some other GC mechanism. That's probably not going to happen but identifying all of the global state seems like a step forward.
- Previous message (by thread): [Python-Dev] Consolidate stateful runtime globals
- Next message (by thread): [Python-Dev] Python 3.3.7rc1 now available prior to Python 3.3 end-of-life
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]