Skip to content

[pull] main from python:main - #1414

Merged
pull[bot] merged 2 commits into
tj-python:mainfrom
python:main
Aug 26, 2026
Merged

[pull] main from python:main#1414
pull[bot] merged 2 commits into
tj-python:mainfrom
python:main

Conversation

@pull

@pull pull Bot commented Aug 26, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

arcivanov and others added 2 commits August 26, 2026 20:45
…6406)

PEP 829 moved .pth handling from site.addpackage() into
StartupState._exec_imports(), and the local holding the path of the
.pth file being processed was renamed from 'fullname' to 'filename'.
Import lines in .pth files generated before Python 3.15 read that
local, so they now fail with NameError on every interpreter startup.

Inject 'fullname' into the frame which executes pth code, next to the
'sitedir' shim added for gh-149671.

Reported downstream as karellen/wheel-axle#38

Co-authored-by: Barry Warsaw <barry@python.org>
@pull pull Bot locked and limited conversation to collaborators Aug 26, 2026
@pull pull Bot added the ⤵️ pull label Aug 26, 2026
@pull
pull Bot merged commit fe3a26f into tj-python:main Aug 26, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants