Title: PyDict_GetItem and PyObject_HasAttr should not be used · Issue #106033 · python/cpython · GitHub
Open Graph Title: PyDict_GetItem and PyObject_HasAttr should not be used · Issue #106033 · python/cpython
X Title: PyDict_GetItem and PyObject_HasAttr should not be used · Issue #106033 · python/cpython
Description: These functions are broken by design, because they discard any exceptions raised inside, including MemoryError and KeyboardInterrupt. There were several rounds of getting rid of them in past (for example 567eba1, #11112, #75753), but the...
Open Graph Description: These functions are broken by design, because they discard any exceptions raised inside, including MemoryError and KeyboardInterrupt. There were several rounds of getting rid of them in past (for e...
X Description: These functions are broken by design, because they discard any exceptions raised inside, including MemoryError and KeyboardInterrupt. There were several rounds of getting rid of them in past (for e...
Opengraph URL: https://github.com/python/cpython/issues/106033
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"PyDict_GetItem and PyObject_HasAttr should not be used","articleBody":"These functions are broken by design, because they discard any exceptions raised inside, including MemoryError and KeyboardInterrupt. There were several rounds of getting rid of them in past (for example 567eba1852ed89e5cf93dbce33f7e2ca73e8f05d, #11112, #75753), but they occur in new code.\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-106034\n* gh-106040\n* gh-106041\n* gh-106044\n* gh-106047\n* gh-106070\n* gh-106071\n* gh-106228\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/serhiy-storchaka","@type":"Person","name":"serhiy-storchaka"},"datePublished":"2023-06-23T15:27:55.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/106033/cpython/issues/106033"}
| 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:852d2a31-836b-a06f-635d-996af60f0109 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 81CE:33AD3C:3EA1BD:52922B:696B3FF0 |
| html-safe-nonce | 275d4604a4fb274d18c8f5f8618d0e287afe864cb210337a3615cf0dc868f752 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MUNFOjMzQUQzQzozRUExQkQ6NTI5MjJCOjY5NkIzRkYwIiwidmlzaXRvcl9pZCI6IjE0NDEyMTA4Mzk1NDMyNjczMTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 4c9570776a54a4e38e69abcae6de737ac64078ae0b7f44058f1a22bef42e3fad |
| hovercard-subject-tag | issue:1771652154 |
| 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/106033/issue_layout |
| twitter:image | https://opengraph.githubassets.com/13069dbaaaed3e6e4f033e06162a786e6573dede5b7e14f8717bf7c50ecc9882/python/cpython/issues/106033 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/13069dbaaaed3e6e4f033e06162a786e6573dede5b7e14f8717bf7c50ecc9882/python/cpython/issues/106033 |
| og:image:alt | These functions are broken by design, because they discard any exceptions raised inside, including MemoryError and KeyboardInterrupt. There were several rounds of getting rid of them in past (for e... |
| 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 | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| 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 | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width