Title: [3.10] gh-76963: PEP3118 itemsize of an empty ctypes array should not be 0 (GH-5576) by miss-islington · Pull Request #100451 · python/cpython · GitHub
Open Graph Title: [3.10] gh-76963: PEP3118 itemsize of an empty ctypes array should not be 0 (GH-5576) by miss-islington · Pull Request #100451 · python/cpython
X Title: [3.10] gh-76963: PEP3118 itemsize of an empty ctypes array should not be 0 (GH-5576) by miss-islington · Pull Request #100451 · 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/100451
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/commits(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:f2364a57-4e44-9709-a605-47040602f493 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | EB3A:250A02:C28FD:108D2C:69696307 |
| html-safe-nonce | 5182f500fce09c277b56875d6c3638ddd232f015e9de47ca6b70bf5e5caffa72 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQjNBOjI1MEEwMjpDMjhGRDoxMDhEMkM6Njk2OTYzMDciLCJ2aXNpdG9yX2lkIjoiNTA0NzM1OTc3MDQ5Nzc2OTA0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 3f6d425fbd0b0f6b15bd21e27bc8b908abbc8b2485806ceadb5490201bf59e83 |
| hovercard-subject-tag | pull_request:1176155373 |
| 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/100451/commits |
| twitter:image | https://opengraph.githubassets.com/43764f2a382c6b7b16e0d98e4b46b3be7c1f2be1e010644716b8d23c0637873f/python/cpython/pull/100451 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/43764f2a382c6b7b16e0d98e4b46b3be7c1f2be1e010644716b8d23c0637873f/python/cpython/pull/100451 |
| 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 | 48487c1ad776a7975b7132d95f4240ff3ae37cd5b8e3cb597102a4edb76738f1 |
| 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 | 669463fcc54773a88c1f5a44eef6b99a5504b9c7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width