Skip to content

No functional exit function. #140

Description

@stevenleeS0ht

Consider the following code

$ ./gpythonPython3.4.0 (none, unknown)
[Gpythondev]
-os/arch: linux/amd64-goversion: go1.16.6>>>exit()
Traceback (mostrecentcalllast):
File"<stdin>", line1, in<module>FIXMElineofsourcegoeshereNameError: "name 'exit' is not defined">>>importsys>>>sys.exit()
<SystemExitinstanceat0xc000208180>>>>quit()
Traceback (mostrecentcalllast):
File"<stdin>", line1, in<module>FIXMElineofsourcegoeshereNameError: "name 'quit' is not defined"

Unable to exit REPL of gpython by function.

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