Title: No functional exit function. · Issue #140 · go-python/gpython · GitHub
Open Graph Title: No functional exit function. · Issue #140 · go-python/gpython
X Title: No functional exit function. · Issue #140 · go-python/gpython
Description: 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 "
Open Graph Description: 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 "
X Description: 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 "&l...
Opengraph URL: https://github.com/go-python/gpython/issues/140
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"No functional exit function.","articleBody":"Consider the following code\r\n```python3\r\n$ ./gpython \r\nPython 3.4.0 (none, unknown)\r\n[Gpython dev]\r\n- os/arch: linux/amd64\r\n- go version: go1.16.6\r\n\u003e\u003e\u003e exit()\r\nTraceback (most recent call last):\r\n File \"\u003cstdin\u003e\", line 1, in \u003cmodule\u003e\r\n FIXME line of source goes here\r\nNameError: \"name 'exit' is not defined\"\r\n\u003e\u003e\u003e import sys\r\n\u003e\u003e\u003e sys.exit()\r\n\u003cSystemExit instance at 0xc000208180\u003e\r\n\u003e\u003e\u003e quit()\r\nTraceback (most recent call last):\r\n File \"\u003cstdin\u003e\", line 1, in \u003cmodule\u003e\r\n FIXME line of source goes here\r\nNameError: \"name 'quit' is not defined\"\r\n\r\n```\r\n\r\nUnable to exit REPL of gpython by function.","author":{"url":"https://github.com/stevenleeS0ht","@type":"Person","name":"stevenleeS0ht"},"datePublished":"2021-07-31T01:18:07.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/140/gpython/issues/140"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:5c6d740d-58d3-f99d-b916-b59256f58d8f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AB88:30A8F4:643A73:88E795:6A62750D |
| html-safe-nonce | 063b527e2eae1525ad7cd4e957cb2cff1e3b837c46bcc52da0da52f1da6605e3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQjg4OjMwQThGNDo2NDNBNzM6ODhFNzk1OjZBNjI3NTBEIiwidmlzaXRvcl9pZCI6IjM0NjIyMjcxMzExMjQzMTU0MDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | bec7366e573cb564f8a0d0ff2c3460c795ebae56c1efce1f8edb6840f9ef090e |
| hovercard-subject-tag | issue:957142238 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/go-python/gpython/140/issue_layout |
| twitter:image | https://opengraph.githubassets.com/53641e3760623db10fec8b60a7683282bced6136c1535329dbaf64b0f46f51b5/go-python/gpython/issues/140 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/53641e3760623db10fec8b60a7683282bced6136c1535329dbaf64b0f46f51b5/go-python/gpython/issues/140 |
| og:image:alt | 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 " |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | stevenleeS0ht |
| hostname | github.com |
| expected-hostname | github.com |
| None | 838e87bd0e4f5415707a930bc14e89e382dc2ea046e50ff575252eb2f2cb06a2 |
| turbo-cache-control | no-preview |
| go-import | github.com/go-python/gpython git https://github.com/go-python/gpython.git |
| octolytics-dimension-user_id | 7604679 |
| octolytics-dimension-user_login | go-python |
| octolytics-dimension-repository_id | 143203535 |
| octolytics-dimension-repository_nwo | go-python/gpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 143203535 |
| octolytics-dimension-repository_network_root_nwo | go-python/gpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f0081192f88523d2bf4cfdf22bb3e138affc4cd1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width