-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Fix builtin exit() #1413
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
Fix builtin exit() #1413
Conversation
@@ -0,0 +1,4 @@ | |||
from testutils import assert_raises |
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.
by convention, tests/snippets/builtin_exit.py
looks better name of this test file.
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.
I think this file(exit.py) can hold sys.exit() test. Would be better if separating them?
I have no idea how this breaking is related to #1343 But the patch looks legit to me |
This looks good, thanks! Could you edit |
@coolreader18 I am working what you suggested. Thanks to your guidance. |
This PR has already merged into master. I would make another PR. |
After #1343, RustPython could not provide builtin exit() properly.