Title: [3.11] gh-76963: PEP3118 itemsize of an empty ctypes array should not be 0 (GH-5576) by miss-islington · Pull Request #100452 · python/cpython · GitHub
Open Graph Title: [3.11] gh-76963: PEP3118 itemsize of an empty ctypes array should not be 0 (GH-5576) by miss-islington · Pull Request #100452 · python/cpython
X Title: [3.11] gh-76963: PEP3118 itemsize of an empty ctypes array should not be 0 (GH-5576) by miss-islington · Pull Request #100452 · python/cpython
Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.
Open Graph Description: The itemsize returned in a memoryview of a ctypes array is now computed from the item type, instead of dividing the total size by the length and assuming that the length is not zero. (cherry picked...
X Description: The itemsize returned in a memoryview of a ctypes array is now computed from the item type, instead of dividing the total size by the length and assuming that the length is not zero. (cherry picked...
Opengraph URL: https://github.com/python/cpython/pull/100452
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/commits(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:f5296eca-e823-cf6d-58ba-062364ba9fb6 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CFCA:211918:26CC00C:3678FC3:69691CD1 |
| html-safe-nonce | 64829b5b5ac43c21c6e4f3d3cefbed123ca28a92934a964c54a2eb185b91c184 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRkNBOjIxMTkxODoyNkNDMDBDOjM2NzhGQzM6Njk2OTFDRDEiLCJ2aXNpdG9yX2lkIjoiMzE1OTc1MzkzMDQzODE1NTQ3MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 36e24a2a7271dd95e74f1399aa9a1d6a7699518894868fb317c06652f097078c |
| hovercard-subject-tag | pull_request:1176155449 |
| 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/100452/commits |
| twitter:image | https://opengraph.githubassets.com/836f92d5b003f4dfb9fcab296b463eaf61f16824a91bfe5be02361ff7340ba46/python/cpython/pull/100452 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/836f92d5b003f4dfb9fcab296b463eaf61f16824a91bfe5be02361ff7340ba46/python/cpython/pull/100452 |
| og:image:alt | The itemsize returned in a memoryview of a ctypes array is now computed from the item type, instead of dividing the total size by the length and assuming that the length is not zero. (cherry picked... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | miss-islington |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0e60568924309a021b51adabdce15c2a2f285b556f3130d1a2fa2a5bce11c55f |
| 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 | dd206f7ed6207863172be4a783826e86bd2375c3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width