Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

raise SystemExit() generates errors #995

Copy link
Copy link
@djaychela

Description

@djaychela
Issue body actions

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

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.