Skip to content

No functional exit function. #140

Open
@stevenleeS0ht

Description

@stevenleeS0ht

Consider the following code

$ ./gpython 
Python 3.4.0 (none, unknown)
[Gpython dev]
- os/arch: linux/amd64
- go version: go1.16.6
>>> exit()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
    FIXME line of source goes here
NameError: "name 'exit' is not defined"
>>> import sys
>>> sys.exit()
<SystemExit instance at 0xc000208180>
>>> quit()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
    FIXME line of source goes here
NameError: "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