cpython/Tools/c-analyzer/c_parser/preprocessor
Eric Snow b87d288275
gh-105699: Use a Thread-Local Variable for PKGCONTEXT (gh-105740)
This fixes a race during import. The existing _PyRuntimeState.imports.pkgcontext is shared between interpreters, and occasionally this would cause a crash when multiple interpreters were importing extensions modules at the same time.  To solve this we add a thread-local variable for the value.  We also leave the existing state (and infrequent race) in place for platforms that do not support thread-local variables.
2023-06-13 18:58:23 -06:00
..
__init__.py gh-90110: Fix the c-analyzer Tool (gh-96731) 2022-09-12 11:09:31 -06:00
__main__.py gh-105407: Remove unused imports in Tools/c-analyzer/ (#105410) 2023-06-06 21:08:48 +00:00
common.py gh-81057: Add a CI Check for New Unsupported C Global Variables (gh-102506) 2023-03-14 10:05:54 -06:00
errors.py
gcc.py gh-105699: Use a Thread-Local Variable for PKGCONTEXT (gh-105740) 2023-06-13 18:58:23 -06:00
pure.py gh-90110: Fix the c-analyzer Tool (gh-96731) 2022-09-12 11:09:31 -06:00