Title: bpo-18407: ast.c now uses Py_ssize_t for asdl_seq_LEN() by vstinner · Pull Request #10655 · python/cpython · GitHub
Open Graph Title: bpo-18407: ast.c now uses Py_ssize_t for asdl_seq_LEN() by vstinner · Pull Request #10655 · python/cpython
X Title: bpo-18407: ast.c now uses Py_ssize_t for asdl_seq_LEN() by vstinner · Pull Request #10655 · python/cpython
Description: When iterating using asdl_seq_LEN(), use 'Py_ssize_t' type instead of 'int', to avoid downcast on 64-bit platforms. _Py_asdl_int_seq_new() now also ensures that the index is greater or equal than 0. https://bugs.python.org/issue18407
Open Graph Description: When iterating using asdl_seq_LEN(), use 'Py_ssize_t' type instead of 'int', to avoid downcast on 64-bit platforms. _Py_asdl_int_seq_new() now also ensures that the index is greater...
X Description: When iterating using asdl_seq_LEN(), use 'Py_ssize_t' type instead of 'int', to avoid downcast on 64-bit platforms. _Py_asdl_int_seq_new() now also ensures that the ...
Opengraph URL: https://github.com/python/cpython/pull/10655
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:961f646a-8cdb-d5b9-6bb4-dd3e61808b44 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B3BA:3FEE07:329867:4348EB:6A540459 |
| html-safe-nonce | 696f55d10d81d2e92a839c574e1194cd11f0c893c24081e60ccc0e4835a32f5b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCM0JBOjNGRUUwNzozMjk4Njc6NDM0OEVCOjZBNTQwNDU5IiwidmlzaXRvcl9pZCI6Ijc5NTI4NDM4MzI1NjcyNjg0NDEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 03291e43f3c9d44fd440bc5fb3dd0be34b7cc975856a9be4669d9c1dbb6ba4b9 |
| hovercard-subject-tag | pull_request:232969251 |
| 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/10655/files |
| 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 | When iterating using asdl_seq_LEN(), use 'Py_ssize_t' type instead of 'int', to avoid downcast on 64-bit platforms. _Py_asdl_int_seq_new() now also ensures that the index is greater... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width