Skip to content

raise SystemExit() generates errors #995

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

Closed
djaychela opened this issue Jul 20, 2023 · 0 comments
Closed

raise SystemExit() generates errors #995

djaychela opened this issue Jul 20, 2023 · 0 comments
Milestone

Comments

@djaychela
Copy link

I've found an issue with raise SystemExit().

If you run without an argument, then I'm getting

TypeError: SystemExitRequest.__init__() missing 1 required positional argument: 'args'

The standard python repl doesn't generate an error, and I believe that it should default to None [1]. Certainly explicitly passing None makes the call work OK.

I'm running bpython version 0.24 on top of Python 3.11.1

[1] - https://docs.python.org/3/library/exceptions.html#SystemExit

@sebastinas sebastinas added this to the release-0.25 milestone Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants