Content-Length: 265751 | pFad | https://github.com/go-python/gpython/issues/140

CE No functional exit function. · Issue #140 · go-python/gpython · GitHub
Skip to content

No functional exit function. #140

@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
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: https://github.com/go-python/gpython/issues/140

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy