-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
site.py documentation does not mention special objects help, quit etc added to builtins #103066
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The exact additions are potentially site-specific, but we could add the current default additions as long as they are labelled as such and not as guarantees. |
How are they more site specific than everything else in the site module? |
hugovk
pushed a commit
that referenced
this issue
Sep 6, 2024
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> Co-authored-by: Łukasz Langa <lukasz@langa.pl> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Sep 6, 2024
…103777) (cherry picked from commit 67957ea) Co-authored-by: David Caron <dcaron05@gmail.com> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> Co-authored-by: Łukasz Langa <lukasz@langa.pl> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Sep 6, 2024
…103777) (cherry picked from commit 67957ea) Co-authored-by: David Caron <dcaron05@gmail.com> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> Co-authored-by: Łukasz Langa <lukasz@langa.pl> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This was referenced Sep 6, 2024
hugovk
pushed a commit
that referenced
this issue
Sep 6, 2024
… (#123762) Co-authored-by: David Caron <dcaron05@gmail.com> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> Co-authored-by: Łukasz Langa <lukasz@langa.pl> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
hugovk
pushed a commit
that referenced
this issue
Sep 6, 2024
… (#123763) Co-authored-by: David Caron <dcaron05@gmail.com> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> Co-authored-by: Łukasz Langa <lukasz@langa.pl> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
I think we can close this now the PR has been merged and backported. Please re-open if still needed. Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
The site.py documentation does not mention the special objects that it adds to builtins:
(Have I missed any?) The second paragraph hints at them, saying "Importing this module will append site-specific paths to the module search path and add a few builtins" but fails to mention what those builtins are. We should add a brief section listing those added objects, and in the case of
help
linking to pydoc.Linked PRs
help
in site.py constants #103777help
in site.py constants (GH-103777) #123762help
in site.py constants (GH-103777) #123763The text was updated successfully, but these errors were encountered: