cpython/.github
Barry Warsaw 197878529f
gh-75723: Fix double evaluation of .pth and .site files in venvs (#149583)
* Idempotent `.pth` execution in `site.addsitedir`
* potentially fix monkeypatch leak?

* fix blind copy paste of recommendation

* Update 2026-03-31-16-15-15.gh-issue-75723.BZ4Rsn.rst

* fix implicit merge conflict with 24c4aecc16

* Add failing tests for gh-75723

Based on @asottle branch !asottle-gh-75723 but refactored for `main`.
This will need a different backport.

* Repair gh-75723

The original fix is here: https://github.com/python/cpython/pull/147951
but I'm refactoring a bit for `main`.

* Refactor _make_mod() so we can use it to create package modules too

* Add myself to CODEOWNERS for the site module

---------

Co-authored-by: anthony sottile <asottile@umich.edu>
Co-authored-by: Filipe LaĆ­ns <lains@riseup.net>
2026-05-10 17:25:39 -07:00
..
ISSUE_TEMPLATE Python 3.16.0a0 2026-05-07 19:05:52 +03:00
problem-matchers Remove Sphinx problem matcher to avoid annotating unchanged files (#108005) 2023-08-16 12:18:56 -06:00
workflows gh-144384: Lazily import _colorize (#149318) 2026-05-06 16:07:43 +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 gh-75723: Fix double evaluation of .pth and .site files in venvs (#149583) 2026-05-10 17:25: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