Title: Document the current practice for SystemError · Issue #95799 · python/cpython · GitHub
Open Graph Title: Document the current practice for SystemError · Issue #95799 · python/cpython
X Title: Document the current practice for SystemError · Issue #95799 · python/cpython
Description: @malemburg pointed that the documentation of SystemError only refers to CPython internal errors as the source. https://docs.python.org/3/library/exceptions.html#SystemError On practice, SystemError is also raised on improper use of the C...
Open Graph Description: @malemburg pointed that the documentation of SystemError only refers to CPython internal errors as the source. https://docs.python.org/3/library/exceptions.html#SystemError On practice, SystemError...
X Description: @malemburg pointed that the documentation of SystemError only refers to CPython internal errors as the source. https://docs.python.org/3/library/exceptions.html#SystemError On practice, SystemError...
Opengraph URL: https://github.com/python/cpython/issues/95799
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Document the current practice for SystemError","articleBody":"@malemburg [pointed](https://github.com/python/cpython/pull/95784#issuecomment-1208357755) that the documentation of `SystemError` only refers to CPython internal errors as the source.\r\n\r\nhttps://docs.python.org/3/library/exceptions.html#SystemError\r\n\r\nOn practice, SystemError is also raised on improper use of the C API (like NULL pointer, or negative size, or wrong type in the concrete API) if it is possible to detect such error and it is not too costly (macros usually lack any argument checks). An alternative to SystemError is a crash or memory corruption. Currently the main source of SystemError is errors in third-party extensions, not in the Python core or standard extensions.\r\n\r\nThe documentation looks outdated, perhaps it predates the public C API.\r\n","author":{"url":"https://github.com/serhiy-storchaka","@type":"Person","name":"serhiy-storchaka"},"datePublished":"2022-08-08T18:52:34.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/95799/cpython/issues/95799"}
| 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:7e6bffb8-dc3d-30b0-8834-a2ffd105de27 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D2FE:2650A8:2BD4B6:3A0D66:6969C1D5 |
| html-safe-nonce | dff9e7ed0697e3a20ec7f6cfa693e7eea6b3954695c42c8135fe0be051e0de11 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMkZFOjI2NTBBODoyQkQ0QjY6M0EwRDY2OjY5NjlDMUQ1IiwidmlzaXRvcl9pZCI6IjQ1MTA4Njg0ODMzMzAzOTI1MzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | b176dc94312cf6407dbcad220a9f4ebab768ac63f2d0dda95c9405e238aaf3f9 |
| hovercard-subject-tag | issue:1332262239 |
| 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/python/cpython/95799/issue_layout |
| twitter:image | https://opengraph.githubassets.com/eb47e897e316803a2de87b7fbf1f789b12a031feb56a9090bfa76aa2a2cc8205/python/cpython/issues/95799 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/eb47e897e316803a2de87b7fbf1f789b12a031feb56a9090bfa76aa2a2cc8205/python/cpython/issues/95799 |
| og:image:alt | @malemburg pointed that the documentation of SystemError only refers to CPython internal errors as the source. https://docs.python.org/3/library/exceptions.html#SystemError On practice, SystemError... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | serhiy-storchaka |
| hostname | github.com |
| expected-hostname | github.com |
| None | acedec8b5f975d9e3d494ddd8f949b0b8a0de59d393901e26f73df9dcba80056 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| 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 | 83c08c21cdda978090dc44364b71aa5bc6dcea79 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width