Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No functional exit function. #140

Open
stevenleeS0ht opened this issue Jul 31, 2021 · 0 comments
Open

No functional exit function. #140

stevenleeS0ht opened this issue Jul 31, 2021 · 0 comments

Comments

@stevenleeS0ht
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant