cpython/.github
Barry Warsaw 45fc9acb8c
[3.15] gh-149504: Fix re-entrancy bug when .pth/.start file invokes site.add sitedir() (#149659) (#149799)
* gh-149504: Fix re-entrancy bug when .pth/.start file invokes site.addsitedir() (#149659)

* Add re-entrant tests for gh-149504
* Add end-to-end integration test coverage

This ensures that future whitebox internal test changes do not regress the
public surface semantics.

* Implement a state class to process .pth and .start files

By using this state class and managing implicit and explicit batching, we make it structurally
impossible to get bitten by re-entrant site startup processing.

Fixes #149504

(cherry picked from commit b162307d7f)

* Add myself back to CODEOWNERS
2026-05-13 15:45:39 -07:00
..
ISSUE_TEMPLATE Docs: an "improve this page" feature (#144939) 2026-02-18 04:58:30 -05:00
problem-matchers Remove Sphinx problem matcher to avoid annotating unchanged files (#108005) 2023-08-16 12:18:56 -06:00
workflows [3.15] Run mypy with four worker processes and uv (GH-149726) (#149773) 2026-05-13 11:33:31 +00:00
actionlint.yaml gh-145098: Use macos-15-intel instead of unstable macos-26-intel in {jit,tail-call}.yml (#148126) 2026-04-05 22:23:43 +03:00
CODEOWNERS [3.15] gh-149504: Fix re-entrancy bug when .pth/.start file invokes site.add sitedir() (#149659) (#149799) 2026-05-13 15:45:39 -07:00
CONTRIBUTING.rst Remove references to `Misc/ACKS from CONTRIBUTING.md` (#141952) 2025-11-25 18:59:28 +00:00
dependabot.yml Increase dependabot interval to quarterly (#147959) 2026-04-01 12:46:57 +00:00
PULL_REQUEST_TEMPLATE.md CI: Update outdated references to Python version and GH issues (#132394) 2025-04-11 14:46:33 +00:00
SECURITY.md Update link to supported versions table in security policy (GH-98670) 2022-10-25 11:59:19 -05:00
zizmor.yml gh-146488: hash-pin all action references 2026-04-01 12:46:19 +00:00