mirror of https://github.com/python/cpython
gh-116265: Remove obsolete sentence. (#116284)
Remove sentence in Tools/c-analyzer/README referring to deleted ignore-globals.txt.
This commit is contained in:
parent
eb22e2b251
commit
88b5c665ee
|
@ -11,9 +11,8 @@ falls into one of several categories:
|
||||||
* module state
|
* module state
|
||||||
* Python runtime state
|
* Python runtime state
|
||||||
|
|
||||||
The ignored-globals.txt file is organized similarly. Of the different
|
Of the different categories, the last two are problematic and
|
||||||
categories, the last two are problematic and generally should not exist
|
generally should not exist in the codebase.
|
||||||
in the codebase.
|
|
||||||
|
|
||||||
Globals that hold module state (i.e. in Modules/*.c) cause problems
|
Globals that hold module state (i.e. in Modules/*.c) cause problems
|
||||||
when multiple interpreters are in use. For more info, see PEP 3121,
|
when multiple interpreters are in use. For more info, see PEP 3121,
|
||||||
|
@ -42,4 +41,3 @@ You can also use the more generic tool:
|
||||||
|
|
||||||
If it reports any globals then they should be resolved. If the globals
|
If it reports any globals then they should be resolved. If the globals
|
||||||
are runtime state then they should be folded into _PyRuntimeState.
|
are runtime state then they should be folded into _PyRuntimeState.
|
||||||
Otherwise they should be added to ignored-globals.txt.
|
|
||||||
|
|
Loading…
Reference in New Issue