Closed
Description
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
Metadata
Metadata
Assignees
Labels
No labels