Title: Raising a user-defined class from itself causes interpreter crashing · Issue #2779 · RustPython/RustPython · GitHub
Open Graph Title: Raising a user-defined class from itself causes interpreter crashing · Issue #2779 · RustPython/RustPython
X Title: Raising a user-defined class from itself causes interpreter crashing · Issue #2779 · RustPython/RustPython
Description: In the following example, we define a class error, and instance it. When we execute raise e from e, Rust Python crashes. test.py class Error(Exception): pass e = Error() raise e from e Actual output: Segmentation fault (core dumped) Syst...
Open Graph Description: In the following example, we define a class error, and instance it. When we execute raise e from e, Rust Python crashes. test.py class Error(Exception): pass e = Error() raise e from e Actual outpu...
X Description: In the following example, we define a class error, and instance it. When we execute raise e from e, Rust Python crashes. test.py class Error(Exception): pass e = Error() raise e from e Actual outpu...
Opengraph URL: https://github.com/RustPython/RustPython/issues/2779
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Raising a user-defined class from itself causes interpreter crashing","articleBody":"In the following example, we define a class error, and instance it. When we execute raise e from e, Rust Python crashes.\r\n\r\ntest.py\r\n```\r\nclass Error(Exception):\r\n\tpass\r\n\r\ne = Error()\r\nraise e from e\r\n\r\n```\r\n\r\nActual output:\r\n\r\n> Segmentation fault (core dumped)\r\n\r\n\r\nSystem:\r\n\r\n> Ubuntu 16.04\r\n> Rust Python 0.1.2 interpreter","author":{"url":"https://github.com/xiaxinmeng","@type":"Person","name":"xiaxinmeng"},"datePublished":"2021-08-02T08:32:22Z","url":"https://github.com/RustPython/RustPython/issues/2779"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:573c5f08-da62-8fa5-1694-a1598767183a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C590:31E99C:34DE640:4680C77:6B0201C8 |
| html-safe-nonce | 9530981eb2f2f52e7992f8e18942d1bc03a3ecb07f83883fe72400b04d39927f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNTkwOjMxRTk5QzozNERFNjQwOjQ2ODBDNzc6NkIwMjAxQzgiLCJ2aXNpdG9yX2lkIjoiNDQwMTU2OTQwMzk4OTI2Mjc5MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f06a5b6d83af5815a956f627d111a39b5a02cffe2b29e5773ae95fc96342df99 |
| hovercard-subject-tag | issue:957900504 |
| 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/RustPython/RustPython/2779/issue_layout |
| twitter:image | https://opengraph.githubassets.com/630f794ce484e9256f3666fe7f711f443d4480c6bd2abc0424a89a80f2e3a8cc/RustPython/RustPython/issues/2779 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/630f794ce484e9256f3666fe7f711f443d4480c6bd2abc0424a89a80f2e3a8cc/RustPython/RustPython/issues/2779 |
| og:image:alt | In the following example, we define a class error, and instance it. When we execute raise e from e, Rust Python crashes. test.py class Error(Exception): pass e = Error() raise e from e Actual outpu... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | xiaxinmeng |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/RustPython/RustPython git https://github.com/RustPython/RustPython.git |
| octolytics-dimension-user_id | 39710557 |
| octolytics-dimension-user_login | RustPython |
| octolytics-dimension-repository_id | 135201145 |
| octolytics-dimension-repository_nwo | RustPython/RustPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 135201145 |
| octolytics-dimension-repository_network_root_nwo | RustPython/RustPython |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width