Skip to content
Open
Changes from 1 commit
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
f05e9f6
Prototype of package.site.toml files
warsaw Apr 1, 2026
1f697e6
Merge branch 'main' into pth2toml
warsaw Apr 1, 2026
594f347
Validate [metadata].schema_version
warsaw Apr 1, 2026
ca6e4ed
Added PEP 829 draft
warsaw Apr 1, 2026
508f493
Update and refine PEP 829
warsaw Apr 1, 2026
72b4d9a
Merge branch 'main' into pth2toml
warsaw Apr 14, 2026
390de9f
Checkpointing reference implementation updates
warsaw Apr 15, 2026
8454716
Fix phase ordering
warsaw Apr 15, 2026
3e99f25
Fix docs and tests for PEP 829
warsaw Apr 15, 2026
e1eaffb
Trim the out-of-date site.py docstring
warsaw Apr 15, 2026
caab85c
Fix some tests
warsaw Apr 15, 2026
e393af0
A couple more improvements
warsaw Apr 15, 2026
bc92325
Merge branch 'main' into pth2toml
warsaw Apr 15, 2026
9b0b977
Remove unused import
warsaw Apr 16, 2026
1804f68
Blurb It
warsaw Apr 16, 2026
1bc0ac4
Merge branch 'main' into pth2toml
warsaw Apr 16, 2026
cdcd9cd
Add a migration guide for pth->start files
warsaw Apr 16, 2026
88465c1
Merge branch 'main' into pth2toml
warsaw Apr 16, 2026
d969ae6
Update site.rst documentation
warsaw Apr 17, 2026
d5eb74d
Merge branch 'python:main' into pth2toml
warsaw Apr 23, 2026
981d42b
Merge branch 'pth2toml' into warsaw/829
warsaw Apr 27, 2026
6eb25da
Implement PEP 829 - startup configuration files
warsaw Apr 28, 2026
77e73c2
Add comment for the future
warsaw Apr 28, 2026
c6c4252
Merge branch 'main' into warsaw/829
warsaw Apr 28, 2026
e3be2af
Remove accidental PEP file
warsaw Apr 28, 2026
95f5f68
Fix empty .start file logic bug
warsaw Apr 28, 2026
b36a16a
Fix another test: line numbers are suppressed
warsaw Apr 28, 2026
9a017f2
Add resolve_name(name, *, strict=False)
warsaw Apr 28, 2026
261088d
Defer entry point syntax check to execution time
warsaw Apr 28, 2026
ab8f926
Add optional exc=None to _trace()
warsaw Apr 28, 2026
27cb819
main() should use the flush_pth_start() helper
warsaw Apr 28, 2026
cc61acd
Improve some documentation wording
warsaw Apr 28, 2026
6e34cbc
Add a test to ensure site.addsitedir() works end-to-end
warsaw Apr 28, 2026
133b1a5
Add tests to validate the encoding constraints for .start and .pth files
warsaw Apr 28, 2026
eb6ddef
Add tests to ensure error verbosity with and without -v
warsaw Apr 28, 2026
cb61374
Split the blurb entry into site.py and pkgutil.resolve_name() descrip…
warsaw Apr 28, 2026
9d37c8a
Respond to PR review:
warsaw Apr 28, 2026
3a8db6d
Remove unused cross-reference anchor
warsaw Apr 28, 2026
30f38b0
Two more review fixes
warsaw Apr 28, 2026
618af20
List PEP 829 in whatsnew for 3.15
warsaw Apr 28, 2026
9007fa2
Merge branch 'main' into warsaw/829
warsaw Apr 28, 2026
d32a82d
Inline future deprecation warnings
warsaw Apr 29, 2026
f85e959
Merge branch 'main' into warsaw/829
warsaw Apr 29, 2026
ccb75a4
Merge branch 'main' into warsaw/829
warsaw Apr 29, 2026
760fb81
Use of "i.e." is discouraged
warsaw Apr 29, 2026
b7b22d6
Merge branch 'main' into warsaw/829
warsaw Apr 30, 2026
9292522
Merge branch 'main' into warsaw/829
warsaw Apr 30, 2026
e3ef09b
In version-related markup, use `next` instead of `3.15`
warsaw Apr 30, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove unused cross-reference anchor
  • Loading branch information
warsaw committed Apr 28, 2026
commit 3a8db6d43b4cf6849dedd50687ae4dd319d64e38
2 changes: 0 additions & 2 deletions Doc/library/site.rst
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,6 @@ the user site prefixes are also implicitly not searched for site-packages.
single: # (hash); comment
pair: statement; import

.. _startup-configuration-files:

The ``site.py`` module recognizes two startup configuration files of the form
Comment thread
warsaw marked this conversation as resolved.
Outdated
:file:`{name}.pth` for path configurations, and :file:`{name}.start` for
pre-first-line code execution. Both files can exist in one of the four
Expand Down