Skip to content

gh-156517: Clarify that site.getsitepackages() doesn't check for existance - #156524

Open
StanFromIreland wants to merge 3 commits into
python:mainfrom
StanFromIreland:getsitepackages
Open

gh-156517: Clarify that site.getsitepackages() doesn't check for existance#156524
StanFromIreland wants to merge 3 commits into
python:mainfrom
StanFromIreland:getsitepackages

Conversation

@StanFromIreland

@StanFromIreland StanFromIreland commented Aug 28, 2026

Copy link
Copy Markdown
Member

@bedevere-app bedevere-app Bot added the docs Documentation in the Doc dir label Aug 28, 2026
@github-project-automation github-project-automation Bot moved this to Todo in Docs PRs Aug 28, 2026
@StanFromIreland StanFromIreland changed the title gh-156517: Clarify that sys.getsitepackages() doesn't check for existance gh-156517: Clarify that site.getsitepackages() doesn't check for existance Aug 28, 2026
@read-the-docs-community

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

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #34281474 | 📁 Comparing 35710f7 against main (8e0159b)

  🔍 Preview build  

2 files changed
± library/site.html
± whatsnew/changelog.html

@mbyrnepr2 mbyrnepr2 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @StanFromIreland for picking it up. I was definitely misusing the function (although that is probably more a reflection on me :D).

I've made some suggestions but if you prefer to keep things as you had it then please feel free; they are just suggestions and I don't mind either way.

Thanks again!

Comment thread Doc/library/site.rst
Comment thread Doc/library/site.rst Outdated
Comment thread Doc/library/site.rst Outdated

@warsaw warsaw left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved, with some additional feedback.

Comment thread Doc/library/site.rst Outdated
Comment thread Doc/library/site.rst Outdated
Co-authored-by: Barry Warsaw <barry@python.org>
@StanFromIreland StanFromIreland added needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes needs backport to 3.15 pre-release feature fixes, bugs and security fixes labels Aug 28, 2026
注册 for free to join this conversation on GitHub. Already have an account? 登录 to comment

标签

awaiting merge docs Documentation in the Doc dir needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes needs backport to 3.15 pre-release feature fixes, bugs and security fixes skip news

项目

Status: Todo

Development

Successfully merging this pull request may close these issues.

3 participants