Title: bpo-9566: Silence warning in gcmodule.c caused by pydtrace.h by segevfiner · Pull Request #2852 · python/cpython · GitHub
Open Graph Title: bpo-9566: Silence warning in gcmodule.c caused by pydtrace.h by segevfiner · Pull Request #2852 · python/cpython
X Title: bpo-9566: Silence warning in gcmodule.c caused by pydtrace.h by segevfiner · Pull Request #2852 · python/cpython
Description: ..\Modules\gcmodule.c(1085): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data Caused by DTrace stubs being defined as taking int. The real one takes a long (Include/pydtrace.d:12), which is probably 64-bit on architectures where DTrace is available but it is 32-bit on Windows x64. It really needs a Py_ssize_t but I'm not familiar enough with DTrace to change pydtrace.d. I think we can simply change the stub to a larger integer type without it causing issues... And maybe if someone really finds an issue he can also change pydtrace.d in the future. https://bugs.python.org/issue9566
Open Graph Description: ..\Modules\gcmodule.c(1085): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data Caused by DTrace stubs being defined as taking int. The...
X Description: ..\Modules\gcmodule.c(1085): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data Caused by DTrace stubs being de...
Opengraph URL: https://github.com/python/cpython/pull/2852
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:0a5def7c-f703-66a1-e09c-8c1ecaa8cb66 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D95E:29DE49:F6165E:146B756:6A5295A2 |
| html-safe-nonce | 97fba0a0bb9838cf63acdb4cee1cf29d4e257f8eb1af86d7c597ab680e116669 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOTVFOjI5REU0OTpGNjE2NUU6MTQ2Qjc1Njo2QTUyOTVBMiIsInZpc2l0b3JfaWQiOiI2Nzg3NDY4OTU0MzIxNDU4NTk0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 5a67b2d3780383ca22fbaff786ed2626a4d6904fffb75a39ad1b23c1d22e2c67 |
| hovercard-subject-tag | pull_request:132119860 |
| 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/2852/files |
| twitter:image | https://avatars.githubusercontent.com/u/24731903?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/24731903?s=400&v=4 |
| og:image:alt | ..\Modules\gcmodule.c(1085): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data Caused by DTrace stubs being defined as taking int. The... |
| 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 |
| 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