ericsnowcurrently / multi-core-python

Enabling CPython multi-core parallelism via subinterpreters.
BSD 3-Clause "New" or "Revised" License
245 stars 6 forks source link

`Tools/c-globals/check-c-statics.py` should pass without any ignored globals. #48

Open ericsnowcurrently opened 5 years ago

ericsnowcurrently commented 5 years ago

(blocked by #47)

When check-c-globals.py runs it fails if it finds any static variables that it determines should not actually be global (e.g. hold per-interpreter runtime state). Currently have a fixed list of globals that we ignore, which would otherwise cause the script to fail. It needs to pass without such a list.

That list is stored in Tools/c-globals/ignored-globals.txt (or its replacement, e.g. Tools/c-analyzer/c_statics/ignored.tsv).

Here are the concrete steps we need to take: