René's URL Explorer Experiment


Title: Prevent potential data loss in numpy's dtype::get_itemsize(). by JohannesWilde · Pull Request #463 · boostorg/python · GitHub

Open Graph Title: Prevent potential data loss in numpy's dtype::get_itemsize(). by JohannesWilde · Pull Request #463 · boostorg/python

X Title: Prevent potential data loss in numpy's dtype::get_itemsize(). by JohannesWilde · Pull Request #463 · boostorg/python

Description: The numpy 2.0 migration guide states [https://numpy.org/devdocs/numpy_2_0_migration_guide.html]: "PyDataType_ELSIZE and PyDataType_SET_ELSIZE (note that the result is now npy_intp and not int)." Ev...

Open Graph Description: The numpy 2.0 migration guide states [https://numpy.org/devdocs/numpy_2_0_migration_guide.html]: "PyDataType_ELSIZE and PyDataType_SET_ELSIZE (note that the result is now npy_intp and not int)...

X Description: The numpy 2.0 migration guide states [https://numpy.org/devdocs/numpy_2_0_migration_guide.html]: "PyDataType_ELSIZE and PyDataType_SET_ELSIZE (note that the result is now npy_intp and not ...

Opengraph URL: https://github.com/boostorg/python/pull/463

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:b24555ed-aac8-66b0-4b0a-9a76f9448839
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC93A:128756:120B1ED:17BC97B:697188CE
html-safe-nonce669f0c4bedd4667a49a85ee2c2b05c045d897e3cf60a44ecba937e68f3d10459
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOTNBOjEyODc1NjoxMjBCMUVEOjE3QkM5N0I6Njk3MTg4Q0UiLCJ2aXNpdG9yX2lkIjoiNzY4MjM4MzU0NDI4NTQ5NzU1MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac872a7a0508c0021cca2ae2c286c42716e0fbe4df5f9540d849832b1b0cd0acf6
hovercard-subject-tagpull_request:2235178539
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/boostorg/python/463/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/95925a41c3a52e1a33ba91c0ea9f5287c76b22333be3bd3ae43ddcd17fa2863b/boostorg/python/pull/463
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/95925a41c3a52e1a33ba91c0ea9f5287c76b22333be3bd3ae43ddcd17fa2863b/boostorg/python/pull/463
og:image:altThe numpy 2.0 migration guide states [https://numpy.org/devdocs/numpy_2_0_migration_guide.html]: "PyDataType_ELSIZE and PyDataType_SET_ELSIZE (note that the result is now npy_intp and not int)...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameJohannesWilde
hostnamegithub.com
expected-hostnamegithub.com
None2b0f2f00499ad3dd2c21ad030a3c403edca54df20ea256f6517c6d8c4fa3a1a4
turbo-cache-controlno-preview
go-importgithub.com/boostorg/python git https://github.com/boostorg/python.git
octolytics-dimension-user_id3170529
octolytics-dimension-user_loginboostorg
octolytics-dimension-repository_id7589968
octolytics-dimension-repository_nwoboostorg/python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id7589968
octolytics-dimension-repository_network_root_nwoboostorg/python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release67235153f3c1514ed5f7dc469f138abc377bd388
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/boostorg/python/pull/463#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fboostorg%2Fpython%2Fpull%2F463
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fboostorg%2Fpython%2Fpull%2F463
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=boostorg%2Fpython
Reloadhttps://patch-diff.githubusercontent.com/boostorg/python/pull/463
Reloadhttps://patch-diff.githubusercontent.com/boostorg/python/pull/463
Reloadhttps://patch-diff.githubusercontent.com/boostorg/python/pull/463
boostorg https://patch-diff.githubusercontent.com/boostorg
pythonhttps://patch-diff.githubusercontent.com/boostorg/python
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fboostorg%2Fpython
Fork 221 https://patch-diff.githubusercontent.com/login?return_to=%2Fboostorg%2Fpython
Star 518 https://patch-diff.githubusercontent.com/login?return_to=%2Fboostorg%2Fpython
Code https://patch-diff.githubusercontent.com/boostorg/python
Issues 169 https://patch-diff.githubusercontent.com/boostorg/python/issues
Pull requests 36 https://patch-diff.githubusercontent.com/boostorg/python/pulls
Actions https://patch-diff.githubusercontent.com/boostorg/python/actions
Projects 0 https://patch-diff.githubusercontent.com/boostorg/python/projects
Wiki https://patch-diff.githubusercontent.com/boostorg/python/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/boostorg/python/security
Please reload this pagehttps://patch-diff.githubusercontent.com/boostorg/python/pull/463
Insights https://patch-diff.githubusercontent.com/boostorg/python/pulse
Code https://patch-diff.githubusercontent.com/boostorg/python
Issues https://patch-diff.githubusercontent.com/boostorg/python/issues
Pull requests https://patch-diff.githubusercontent.com/boostorg/python/pulls
Actions https://patch-diff.githubusercontent.com/boostorg/python/actions
Projects https://patch-diff.githubusercontent.com/boostorg/python/projects
Wiki https://patch-diff.githubusercontent.com/boostorg/python/wiki
Security https://patch-diff.githubusercontent.com/boostorg/python/security
Insights https://patch-diff.githubusercontent.com/boostorg/python/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2Fboostorg%2Fpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2Fboostorg%2Fpython%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://patch-diff.githubusercontent.com/boostorg/python/pull/463#issue-comment-box
JohannesWildehttps://patch-diff.githubusercontent.com/JohannesWilde
boostorg:develophttps://patch-diff.githubusercontent.com/boostorg/python/tree/develop
JohannesWilde:NumpyDtypeElementSizeTypehttps://patch-diff.githubusercontent.com/JohannesWilde/boost-python/tree/NumpyDtypeElementSizeType
Prevent potential data loss in numpy's dtype::get_itemsize(). https://patch-diff.githubusercontent.com/boostorg/python/pull/463#top
JohannesWildehttps://patch-diff.githubusercontent.com/JohannesWilde
boostorg:develophttps://patch-diff.githubusercontent.com/boostorg/python/tree/develop
JohannesWilde:NumpyDtypeElementSizeTypehttps://patch-diff.githubusercontent.com/JohannesWilde/boost-python/tree/NumpyDtypeElementSizeType
Conversation 2 https://patch-diff.githubusercontent.com/boostorg/python/pull/463
Commits 7 https://patch-diff.githubusercontent.com/boostorg/python/pull/463/commits
Checks 0 https://patch-diff.githubusercontent.com/boostorg/python/pull/463/checks
Files changed https://patch-diff.githubusercontent.com/boostorg/python/pull/463/files
Please reload this pagehttps://patch-diff.githubusercontent.com/boostorg/python/pull/463
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/boostorg/python/pull/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/JohannesWilde
JohannesWildehttps://patch-diff.githubusercontent.com/JohannesWilde
Dec 14, 2024https://patch-diff.githubusercontent.com/boostorg/python/pull/463#issue-2739926051
Please reload this pagehttps://patch-diff.githubusercontent.com/boostorg/python/pull/463
https://patch-diff.githubusercontent.com/JohannesWilde
Prevent potential data loss in numpy's dtype::get_itemsize().https://patch-diff.githubusercontent.com/boostorg/python/pull/463/commits/c641a805a14771ad7137e2727cd19a2d653bcd25
c641a80https://patch-diff.githubusercontent.com/boostorg/python/pull/463/commits/c641a805a14771ad7137e2727cd19a2d653bcd25
https://numpy.org/devdocs/numpy_2_0_migration_guide.htmlhttps://numpy.org/devdocs/numpy_2_0_migration_guide.html
https://patch-diff.githubusercontent.com/JohannesWilde
JohannesWildehttps://patch-diff.githubusercontent.com/JohannesWilde
Dec 14, 2024https://patch-diff.githubusercontent.com/boostorg/python/pull/463#event-15657484419
JohannesWildehttps://patch-diff.githubusercontent.com/JohannesWilde
December 14, 2024 16:11https://patch-diff.githubusercontent.com/boostorg/python/pull/463#commits-pushed-4a0c096
https://patch-diff.githubusercontent.com/JohannesWilde
Use boost::python::ssize_t instead of Py_ssize_t - it is available fo…https://patch-diff.githubusercontent.com/boostorg/python/pull/463/commits/4a0c0962bcac64a94f005a07ffee9861983feefa
4a0c096https://patch-diff.githubusercontent.com/boostorg/python/pull/463/commits/4a0c0962bcac64a94f005a07ffee9861983feefa
https://patch-diff.githubusercontent.com/JohannesWilde
Exempt negative itemsize from contiguity and alginment.https://patch-diff.githubusercontent.com/boostorg/python/pull/463/commits/af8a5f7cc35d0c98565bb4a3d8bbe646462e6437
af8a5f7https://patch-diff.githubusercontent.com/boostorg/python/pull/463/commits/af8a5f7cc35d0c98565bb4a3d8bbe646462e6437
https://patch-diff.githubusercontent.com/JohannesWilde
Add comments.https://patch-diff.githubusercontent.com/boostorg/python/pull/463/commits/753b4349cb7534890f4e9872546fcfac880d8ff7
753b434https://patch-diff.githubusercontent.com/boostorg/python/pull/463/commits/753b4349cb7534890f4e9872546fcfac880d8ff7
https://patch-diff.githubusercontent.com/JohannesWilde
Add constness for unmodified internal parameters.https://patch-diff.githubusercontent.com/boostorg/python/pull/463/commits/25a1994b008f459ba40ecdf8c322f244a4dcacd7
25a1994https://patch-diff.githubusercontent.com/boostorg/python/pull/463/commits/25a1994b008f459ba40ecdf8c322f244a4dcacd7
https://patch-diff.githubusercontent.com/JohannesWilde
Change size type to boost::python::ssize_t - as did numpy with versio…https://patch-diff.githubusercontent.com/boostorg/python/pull/463/commits/1105d37dcc7fe97272d65eec831a260307777c6e
1105d37https://patch-diff.githubusercontent.com/boostorg/python/pull/463/commits/1105d37dcc7fe97272d65eec831a260307777c6e
https://patch-diff.githubusercontent.com/JohannesWilde
Use the const-accessor methods when using const_iterators.https://patch-diff.githubusercontent.com/boostorg/python/pull/463/commits/6614188fcb9bbe3a2c2ee32f1035f4fad0dc3ce2
6614188https://patch-diff.githubusercontent.com/boostorg/python/pull/463/commits/6614188fcb9bbe3a2c2ee32f1035f4fad0dc3ce2
https://patch-diff.githubusercontent.com/JohannesWilde
JohannesWildehttps://patch-diff.githubusercontent.com/JohannesWilde
Dec 14, 2024https://patch-diff.githubusercontent.com/boostorg/python/pull/463#event-15657614696
https://patch-diff.githubusercontent.com/JohannesWilde
JohannesWildehttps://patch-diff.githubusercontent.com/JohannesWilde
Dec 14, 2024https://patch-diff.githubusercontent.com/boostorg/python/pull/463#issuecomment-2543163466
Please reload this pagehttps://patch-diff.githubusercontent.com/boostorg/python/pull/463
Please reload this pagehttps://patch-diff.githubusercontent.com/boostorg/python/pull/463
https://patch-diff.githubusercontent.com/JohannesWilde
JohannesWildehttps://patch-diff.githubusercontent.com/JohannesWilde
Dec 14, 2024https://patch-diff.githubusercontent.com/boostorg/python/pull/463#issuecomment-2543163914
Please reload this pagehttps://patch-diff.githubusercontent.com/boostorg/python/pull/463
Sign up for freehttps://patch-diff.githubusercontent.com/join?source=comment-repo
Sign in to commenthttps://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fboostorg%2Fpython%2Fpull%2F463
Please reload this pagehttps://patch-diff.githubusercontent.com/boostorg/python/pull/463
https://patch-diff.githubusercontent.com/JohannesWilde
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.