Skip to content

Can't exit from ptpython 3.0.18 #465

@yatmanov

Description

@yatmanov

@jonathanslenders, thank you for the great tool!

Few days ago after I upgrade to ptpython version 3.0.18 I found out I can no longer exit from repl using either exit() or raise SystemExit.
I think the changes caused the issue is in commit 321d9e1. There on line 101 should be raise instead on return. Changing this line to raise fixes #463 too.
I can try to work on the fix if you don't mind.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions