gh-148641: Flesh out PEP 829 for What's New#149347
Open
warsaw wants to merge 3 commits intopython:mainfrom
Open
gh-148641: Flesh out PEP 829 for What's New#149347warsaw wants to merge 3 commits intopython:mainfrom
warsaw wants to merge 3 commits intopython:mainfrom
Conversation
Documentation build overview
7 files changed ·
|
hugovk
reviewed
May 4, 2026
Comment on lines
+460
to
+464
| Loaded by the :mod:`site` module when ``-S`` is not given, :file:`.pth` files | ||
| can contain lines that both extend :data:`sys.path` and execute arbitrary code | ||
| when the line starts with ``import`` (followed by a space or tab). The latter | ||
| functionality can be problematic, since it is difficult to know exactly what | ||
| gets executed when Python starts up. |
Member
There was a problem hiding this comment.
Let's link something to the new _site-pth-files reference here, perhaps link ".pth files"? Would likely need the :file: markup removed.
| Python 3.15 introduces :file:`.start` files which contain entry point | ||
| specifications of the form ``pkg.mod:callable`` where ``pkg.mod`` is the | ||
| import path to the given callable. When Python starts up, the callable is | ||
| located and called with no arguments. |
Member
There was a problem hiding this comment.
And link to _site-start-files somewhere here, perhaps ".start files".
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.