Title: gh-146102: Don't clear exception on success in odictobject.c by vstinner · Pull Request #151347 · python/cpython · GitHub
Open Graph Title: gh-146102: Don't clear exception on success in odictobject.c by vstinner · Pull Request #151347 · python/cpython
X Title: gh-146102: Don't clear exception on success in odictobject.c by vstinner · Pull Request #151347 · python/cpython
Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.
Open Graph Description: Calling PyErr_Clear() on success can mask a pending exception. Replace it with an assertion checking that no exception is set. Issue: Umbrella issue: bugs found using cpython-review-toolkit #146102
X Description: Calling PyErr_Clear() on success can mask a pending exception. Replace it with an assertion checking that no exception is set. Issue: Umbrella issue: bugs found using cpython-review-toolkit #146102
Opengraph URL: https://github.com/python/cpython/pull/151347
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/commits(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:c8c1fcbb-ab6a-db1c-4641-8aa0760c4683 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9256:750F7:4A4518:63EFDE:6A514543 |
| html-safe-nonce | d54b714d9087add82efebd8fd837aec6e7f5f9e187d37325dd9dc7219c8b3a11 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MjU2Ojc1MEY3OjRBNDUxODo2M0VGREU6NkE1MTQ1NDMiLCJ2aXNpdG9yX2lkIjoiMzAwOTU2MjQ0NTk4NTQzMjg5OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 285e7f6baca72872a8180832f0ea14bbcf954065d3b4a284aaec00e65b7819f4 |
| hovercard-subject-tag | pull_request:3848082839 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/python/cpython/pull/151347/commits |
| twitter:image | https://opengraph.githubassets.com/0e29bb3e65904aa989b8b4447e58f22e3f6d4acc6239474f71871ae01e3a1288/python/cpython/pull/151347 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0e29bb3e65904aa989b8b4447e58f22e3f6d4acc6239474f71871ae01e3a1288/python/cpython/pull/151347 |
| og:image:alt | Calling PyErr_Clear() on success can mask a pending exception. Replace it with an assertion checking that no exception is set. Issue: Umbrella issue: bugs found using cpython-review-toolkit #146102 |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vstinner |
| hostname | github.com |
| expected-hostname | github.com |
| None | e840f405b2718e8f2d55aafa9ff27dbce17e29d0c253011d05ea0fea3c78baff |
| turbo-cache-control | no-cache |
| 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 | b78565f6aa43cc5323c9935ec11b22cca7bb0a62 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width