cpython/Tools/c-analyzer/c_parser
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
..
parser gh-105699: Use a Thread-Local Variable for PKGCONTEXT (gh-105740) 2023-06-13 18:58:23 -06:00
preprocessor gh-105699: Use a Thread-Local Variable for PKGCONTEXT (gh-105740) 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-102033: Fix syntax error in `Tools/c-analyzer` (GH-102066) 2023-03-22 07:59:32 -07:00
datafiles.py bpo-36876: [c-analyzer tool] Tighten up the results and output. (GH-23431) 2020-11-20 15:39:28 -07:00
info.py gh-102033: Fix syntax error in `Tools/c-analyzer` (GH-102066) 2023-03-22 07:59:32 -07:00
match.py bpo-36876: Small adjustments to the C-analyzer tool. (GH-23045) 2020-10-30 15:46:52 -06:00
source.py bpo-36876: Fix the C analyzer tool. (GH-22841) 2020-10-22 18:42:51 -06:00