Title: gh-99845: Use size_t type in __sizeof__() methods by vstinner · Pull Request #99846 · python/cpython · GitHub
Open Graph Title: gh-99845: Use size_t type in __sizeof__() methods by vstinner · Pull Request #99846 · python/cpython
X Title: gh-99845: Use size_t type in __sizeof__() methods by vstinner · Pull Request #99846 · python/cpython
Description: The implementation of sizeof() methods using _PyObject_SIZE() now use unsigned size_t type to compute the size, rather than the signed Py_ssize_t type. Cast explicitly signed (Py_ssize_t) values to unsigned type (Py_ssize_t). Issue: gh-99845
Open Graph Description: The implementation of sizeof() methods using _PyObject_SIZE() now use unsigned size_t type to compute the size, rather than the signed Py_ssize_t type. Cast explicitly signed (Py_ssize_t) values to...
X Description: The implementation of sizeof() methods using _PyObject_SIZE() now use unsigned size_t type to compute the size, rather than the signed Py_ssize_t type. Cast explicitly signed (Py_ssize_t) values to...
Opengraph URL: https://github.com/python/cpython/pull/99846
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:69c5c460-f2eb-f2da-3a0a-9f21e3d2b44b |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | 8FEC:2FD69D:5A05F:7C4C6:6969F73D |
| html-safe-nonce | bb9b6671f0bb21f0260a06ff9c861f0fda09a90b502a8d0137b135eb5a7cd387 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RkVDOjJGRDY5RDo1QTA1Rjo3QzRDNjo2OTY5RjczRCIsInZpc2l0b3JfaWQiOiI3NDg4NDQxOTY4MTYxODQ3MTAxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 402116caf71e25e10b38f7c353a6978c3480aa84006b86f17b8dc1db3c4ee0cb |
| hovercard-subject-tag | pull_request:1137801551 |
| 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/99846/checks |
| twitter:image | https://avatars.githubusercontent.com/u/194129?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/194129?s=400&v=4 |
| og:image:alt | The implementation of sizeof() methods using _PyObject_SIZE() now use unsigned size_t type to compute the size, rather than the signed Py_ssize_t type. Cast explicitly signed (Py_ssize_t) values to... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8 |
| 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 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 | bdde15ad1b403e23b08bbd89b53fbe6bdf688cad |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width