Title: gh-111178: fix UBSan failures for `gdbmobject` by picnixz · Pull Request #128178 · python/cpython · GitHub
Open Graph Title: gh-111178: fix UBSan failures for `gdbmobject` by picnixz · Pull Request #128178 · python/cpython
X Title: gh-111178: fix UBSan failures for `gdbmobject` by picnixz · Pull Request #128178 · python/cpython
Description: Just for something I thought of when I was doing those UBSan tasks: for static types, I can add an assert on the type. for dynamic types, I need the state if I want my assert. AFAIR, I skipped the assert when the type is internal and dynamic (namely I used a simple pointer cast). For now, I suggest keeping the macro form since it wouldn't really matter if we just have a static inline function without the assertion check. I've also suppressed an unused return value just for my IDE to be happy but I can revert the commit if needed. Issue: gh-111178
Open Graph Description: Just for something I thought of when I was doing those UBSan tasks: for static types, I can add an assert on the type. for dynamic types, I need the state if I want my assert. AFAIR, I skipped th...
X Description: Just for something I thought of when I was doing those UBSan tasks: for static types, I can add an assert on the type. for dynamic types, I need the state if I want my assert. AFAIR, I skipped th...
Opengraph URL: https://github.com/python/cpython/pull/128178
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:698ffc96-14c6-1b31-c6ea-969f22fe4f63 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | A8D2:CE9E9:5D71C6:82B70C:696A0F91 |
| html-safe-nonce | b9886140f0e3cc1052bf70bcf757bce01d06e7a6162f7539be9ec329c44cad82 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOEQyOkNFOUU5OjVENzFDNjo4MkI3MEM6Njk2QTBGOTEiLCJ2aXNpdG9yX2lkIjoiMjUwNjczNjY2NTk4Mzg0ODMzNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 31e2f6e80de12c2e8db180593ac624dac943ad284cce22b1ef3a15f8e693b1ce |
| hovercard-subject-tag | pull_request:2248402995 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/128178/checks |
| twitter:image | https://avatars.githubusercontent.com/u/10796600?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/10796600?s=400&v=4 |
| og:image:alt | Just for something I thought of when I was doing those UBSan tasks: for static types, I can add an assert on the type. for dynamic types, I need the state if I want my assert. AFAIR, I skipped th... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 699227a00bbb7fe1eec276d2ae1c3a93068bc5ba483bd9dc4b2a27a8f4f2f595 |
| 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 full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7266b2d935baa1c6474b16dd9feaa5ca30607261 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width