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 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...
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...
Mail addresses
wieser.eric@gmail.com
Opengraph URL: https://github.com/python/cpython/pull/100451
X: @github
Domain: github.com
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:b58b949b-99ef-98bc-63cb-d2c435f960e6 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C444:2B11DB:B93742:FC539C:69693525 |
| html-safe-nonce | d6e19465726612d829bff0e0c1aa2d27d5b0938a81b1abd1310bde7fabd0414d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNDQ0OjJCMTFEQjpCOTM3NDI6RkM1MzlDOjY5NjkzNTI1IiwidmlzaXRvcl9pZCI6IjUzMDM0MjI0NTc3NzMzNzI3MTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | ed994b139c12a5fdd1e2606f3cd2788dd85d9333c6080fdb66fc7c0b0ec0481d |
| 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/_view_fragments/voltron/pull_requests/show/python/cpython/100451/pull_request_layout |
| 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 | 54182691a21263b584d2e600b758e081b0ff1d10ffc0d2eefa51cf754b43b51d |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | d69ac0477df0f87da03b8b06cebd187012d7a930 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width