Title: bpo-42882: Fix compiler warnings in MSVC by Fidget-Spinner · Pull Request #24440 · python/cpython · GitHub
Open Graph Title: bpo-42882: Fix compiler warnings in MSVC by Fidget-Spinner · Pull Request #24440 · python/cpython
X Title: bpo-42882: Fix compiler warnings in MSVC by Fidget-Spinner · Pull Request #24440 · python/cpython
Description: In MSVC, I get warnings during compilation: 1>\Documents\GitHub\cpython\Python\pystate.c(96,57): warning C4244: '=': conversion from 'int64_t' to 'Py_ssize_t', possible loss of data. It seems that runtime->unicode_ids.next_index is type Py_ssize_t, not int64_t. This was introduced in 44bf57a which only exists in 3.10, so no backport required. cc @vstinner https://bugs.python.org/issue42882
Open Graph Description: In MSVC, I get warnings during compilation: 1>\Documents\GitHub\cpython\Python\pystate.c(96,57): warning C4244: '=': conversion from 'int64_t' to 'Py_ssize_t', possible l...
X Description: In MSVC, I get warnings during compilation: 1>\Documents\GitHub\cpython\Python\pystate.c(96,57): warning C4244: '=': conversion from 'int64_t' to 'Py_...
Opengraph URL: https://github.com/python/cpython/pull/24440
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:95f0696f-59b3-e6ee-9976-1278bea0b21e |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | D6FE:DD0BF:F6461E:15785AA:696A3DDD |
| html-safe-nonce | ce6fe24ba58963ea1e9f931c4b63fcaf3e4cf82b139b8db0df8b0cdae29a0a0e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENkZFOkREMEJGOkY2NDYxRToxNTc4NUFBOjY5NkEzREREIiwidmlzaXRvcl9pZCI6IjQ0OTM0MjcyMjk3NjM5ODgxMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | add57c9ed4c53884d5fe606c05e05f56f69d26a14338bc4a3045a1a34eac7c76 |
| hovercard-subject-tag | pull_request:567756424 |
| 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/24440/checks |
| twitter:image | https://avatars.githubusercontent.com/u/28750310?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/28750310?s=400&v=4 |
| og:image:alt | In MSVC, I get warnings during compilation: 1>\Documents\GitHub\cpython\Python\pystate.c(96,57): warning C4244: '=': conversion from 'int64_t' to 'Py_ssize_t', possible l... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 321736bfdb3f591415ae895a0459bec204b26a76caf47ba5c980634cfacc4538 |
| 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 | 13581a31d51edf4a3aca179e10890a4d4f9b6d76 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width