-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
bpo-38059: Using sys.exit() over exit() in inspect.py #15666
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
Conversation
Constants added by the site module like exit() "should not be used in programs"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, this looks good!
I understand that the change is arguably trivial... but given that this is a code change in a commonly-used module, do you mind creating an issue and NEWS entry for it?
Thanks for the PR! |
Constants added by the site module like exit() "should not be used in programs" (cherry picked from commit e3c59a7) Co-authored-by: Alan Yee <[email protected]>
GH-15783 is a backport of this pull request to the 3.8 branch. |
Constants added by the site module like exit() "should not be used in programs" (cherry picked from commit e3c59a7) Co-authored-by: Alan Yee <[email protected]>
GH-15784 is a backport of this pull request to the 3.7 branch. |
Constants added by the site module like exit() "should not be used in programs" (cherry picked from commit e3c59a7) Co-authored-by: Alan Yee <[email protected]>
Constants added by the site module like exit() "should not be used in programs" (cherry picked from commit e3c59a7) Co-authored-by: Alan Yee <[email protected]>
Constants added by the site module like exit() "should not be used in programs"
Constants added by the site module like exit() "should not be used in programs"
https://docs.python.org/3/library/constants.html#exit
https://bugs.python.org/issue38059