Lines Matching full:globals
2 # C Globals and CPython Runtime State.
8 * globals used exclusively in main or in the REPL
14 The ignored-globals.txt file is organized similarly. Of the different
18 Globals that hold module state (i.e. in Modules/*.c) cause problems
22 Globals in the last category should be avoided as well. The problem
25 globals. Unlike the other globals, the runtime state represents a set
31 Consequently, the globals for Python's runtime state have been
32 consolidated under a single top-level _PyRuntime global. No new globals
34 _PyRuntimeState or one of its sub-structs. The check-c-globals script
35 should be run to ensure that no new globals have been added:
37 python3 Tools/c-globals/check-c-globals.py
39 If it reports any globals then they should be resolved. If the globals
41 Otherwise they should be added to ignored-globals.txt.