cpython/Tools/c-analyzer/c_parser/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
..
__init__.py gh-91838: Resolve more HTTP links which redirect to HTTPS (GH-95650) 2022-08-08 14:00:17 +03:00
_common.py gh-90110: Fix the c-analyzer Tool (#102483) 2023-03-06 19:40:09 -07:00
_compound_decl_body.py gh-81057: Get the c-analyzer tool working again. (gh-92246) 2022-05-03 13:18:27 -06:00
_func_body.py gh-90110: Fix the c-analyzer Tool (#102483) 2023-03-06 19:40:09 -07:00
_global.py gh-102033: Fix syntax error in `Tools/c-analyzer` (GH-102066) 2023-03-22 07:59:32 -07:00
_info.py gh-105407: Remove unused imports in Tools/c-analyzer/ (#105410) 2023-06-06 21:08:48 +00:00
_regexes.py gh-105699: Use a Thread-Local Variable for PKGCONTEXT (gh-105740) 2023-06-13 18:58:23 -06:00