Skip to content

gh-148641: Implement PEP 829 - startup configuration files#149109

Open
warsaw wants to merge 51 commits intopython:mainfrom
warsaw:warsaw/829
Open

gh-148641: Implement PEP 829 - startup configuration files#149109
warsaw wants to merge 51 commits intopython:mainfrom
warsaw:warsaw/829

Conversation

@warsaw
Copy link
Copy Markdown
Member

@warsaw warsaw commented Apr 28, 2026

warsaw added 23 commits March 31, 2026 17:13
It's okay to be missing, but if it's given it must be an expected
version (i.e. currently, 1).
* Add _print_error() helper function for printing exceptions to sys.stderr.  These are not hidden
  behind -v
* `warnings` can be lazy imported.
* Since the site.toml file is no longer proposed, rewrite how .pth and .start files are parsed and
  processed.
* addpackage() -- which was never documented -- is deprecated; there are a few usages in the wild so
  we can't get rid of it, but it's generally unnecessary now, has different semantics.
* Update tests
@read-the-docs-community
Copy link
Copy Markdown

read-the-docs-community Bot commented Apr 28, 2026

Documentation build overview

📚 cpython-previews | 🛠️ Build #32505592 | 📁 Comparing 148776d against main (2b6a137)

  🔍 Preview build  

49 files changed · ± 49 modified

± Modified

@warsaw warsaw requested a review from brettcannon April 30, 2026 16:37
Comment thread Doc/library/site.rst Outdated
Comment thread Lib/test/test_pkgutil.py Outdated
Comment thread Lib/test/test_site.py Outdated
Comment thread Lib/test/test_site.py Outdated
Comment thread Lib/test/test_site.py Outdated
Comment thread Lib/site.py Outdated
Comment thread Lib/site.py
Comment thread Lib/site.py Outdated
Comment thread Lib/site.py Outdated
Comment thread Lib/site.py Outdated
@bedevere-app
Copy link
Copy Markdown

bedevere-app Bot commented May 1, 2026

When you're done making the requested changes, leave the comment: I have made the requested changes; please review again.

warsaw and others added 2 commits May 1, 2026 13:50
@warsaw
Copy link
Copy Markdown
Member Author

warsaw commented May 2, 2026

I have made the requested changes; please review again

@bedevere-app
Copy link
Copy Markdown

bedevere-app Bot commented May 2, 2026

Thanks for making the requested changes!

@brettcannon: please review the changes made to this pull request.

@bedevere-app bedevere-app Bot requested a review from brettcannon May 2, 2026 01:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants