Skip to content

Commit

Permalink
[3.11] gh-116265: Remove obsolete sentence. (GH-116284) (#116332)
Browse files Browse the repository at this point in the history
Remove sentence in Tools/c-analyzer/README referring to deleted
ignore-globals.txt.
(cherry picked from commit 88b5c66)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
  • Loading branch information
miss-islington and terryjreedy authored Mar 4, 2024
1 parent 8ee7e91 commit 7fa3318
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Tools/c-analyzer/README
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@ falls into one of several categories:
* module state
* Python runtime state

The ignored-globals.txt file is organized similarly. Of the different
categories, the last two are problematic and generally should not exist
in the codebase.
Of the different categories, the last two are problematic and
generally should not exist in the codebase.

Globals that hold module state (i.e. in Modules/*.c) cause problems
when multiple interpreters are in use. For more info, see PEP 3121,
Expand Down Expand Up @@ -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
are runtime state then they should be folded into _PyRuntimeState.
Otherwise they should be added to ignored-globals.txt.

0 comments on commit 7fa3318

Please sign in to comment.