René's URL Explorer Experiment


Title: gh-102471: convert decimal module to use PyLong_Export API (PEP 757) by skirpichev · Pull Request #128267 · python/cpython · GitHub

Open Graph Title: gh-102471: convert decimal module to use PyLong_Export API (PEP 757) by skirpichev · Pull Request #128267 · python/cpython

X Title: gh-102471: convert decimal module to use PyLong_Export API (PEP 757) by skirpichev · Pull Request #128267 · python/cpython

Description: Issue: The C-API for Python to C integer conversion is, to be frank, a mess. #102471 For reviewers: in the history included version, where PyLong_Export always set digits. Benchmark ref patch ...

Open Graph Description: Issue: The C-API for Python to C integer conversion is, to be frank, a mess. #102471 For reviewers: in the history included version, where PyLong_Export always set digits. Benchmark ref patch ...

X Description: Issue: The C-API for Python to C integer conversion is, to be frank, a mess. #102471 For reviewers: in the history included version, where PyLong_Export always set digits. Benchmark ref patch ...

Opengraph URL: https://github.com/python/cpython/pull/128267

X: @github

direct link

Domain: github.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:0e31cd1c-ab41-4949-3c2f-3ed3ab2415ee
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB1AC:1D81B0:1A1D74D:23C72D8:696AB275
html-safe-nonce1cff24fe1a4635421db5c1fb1aa73ae9a7c6b7c3c3e6ac25b5eb369d74ce13a5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMUFDOjFEODFCMDoxQTFENzREOjIzQzcyRDg6Njk2QUIyNzUiLCJ2aXNpdG9yX2lkIjoiMzA2NTAyNTk5MDIxNjA1NDkzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmace0f96c980c7d116f00b55f08e3e86a8722352662ab8d3c201474632c3f81b7eb
hovercard-subject-tagpull_request:2252024425
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/python/cpython/128267/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/d713f658fb552e27604c2e7a9e3da217aacc0342baa7f0624346790c6e699c5d/python/cpython/pull/128267
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d713f658fb552e27604c2e7a9e3da217aacc0342baa7f0624346790c6e699c5d/python/cpython/pull/128267
og:image:altIssue: The C-API for Python to C integer conversion is, to be frank, a mess. #102471 For reviewers: in the history included version, where PyLong_Export always set digits. Benchmark ref patch ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameskirpichev
hostnamegithub.com
expected-hostnamegithub.com
None4fa1799b6a53c2d30c950d74230781bef9e7f61138c72c7727e4b83f0743752b
turbo-cache-controlno-preview
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
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
release41f276818bd204c4a30a0281fb3c576298d9474c
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/128267#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F128267
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://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F128267
Sign up https://github.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=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/128267
Reloadhttps://github.com/python/cpython/pull/128267
Reloadhttps://github.com/python/cpython/pull/128267
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/128267
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.1k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/cpython/security
Please reload this pagehttps://github.com/python/cpython/pull/128267
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/python/cpython/pull/128267#issue-comment-box
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
skirpichev:decimal-use-PyLong_Export/127937https://github.com/skirpichev/cpython/tree/decimal-use-PyLong_Export/127937
gh-102471: convert decimal module to use PyLong_Export API (PEP 757) https://github.com/python/cpython/pull/128267#top
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
skirpichev:decimal-use-PyLong_Export/127937https://github.com/skirpichev/cpython/tree/decimal-use-PyLong_Export/127937
Conversation 14 https://github.com/python/cpython/pull/128267
Commits 7 https://github.com/python/cpython/pull/128267/commits
Checks 41 https://github.com/python/cpython/pull/128267/checks
Files changed 1 https://github.com/python/cpython/pull/128267/files
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/skirpichev
skirpichevhttps://github.com/skirpichev
Dec 26, 2024https://github.com/python/cpython/pull/128267#issue-2759314429
Please reload this pagehttps://github.com/python/cpython/pull/128267
The C-API for Python to C integer conversion is, to be frank, a mess. #102471https://github.com/python/cpython/issues/102471
Please reload this pagehttps://github.com/python/cpython/pull/128267
skirpichevhttps://github.com/skirpichev
December 26, 2024 08:19https://github.com/python/cpython/pull/128267#commits-pushed-f7f031f
https://github.com/skirpichev
pythongh-102471https://github.com/python/cpython/issues/102471
: convert decimal module to use PyLong_Export API (PEP…https://github.com/python/cpython/pull/128267/commits/f7f031f1d707ac685663e5a6e2874f8972e5b174
f7f031fhttps://github.com/python/cpython/pull/128267/commits/f7f031f1d707ac685663e5a6e2874f8972e5b174
https://github.com/skirpichev
XXX try PyLong_Export without valuehttps://github.com/python/cpython/pull/128267/commits/bf687e5e3d278294be4425b7cde7e54a3406e533
bf687e5https://github.com/python/cpython/pull/128267/commits/bf687e5e3d278294be4425b7cde7e54a3406e533
https://github.com/skirpichev
Revert "XXX try PyLong_Export without value"https://github.com/python/cpython/pull/128267/commits/021ab8ec834efe39d684044026214b2da336e65e
021ab8ehttps://github.com/python/cpython/pull/128267/commits/021ab8ec834efe39d684044026214b2da336e65e
bf687e5https://github.com/skirpichev/cpython/commit/bf687e5e3d278294be4425b7cde7e54a3406e533
https://github.com/skirpichev
skirpichevhttps://github.com/skirpichev
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Dec 26, 2024https://github.com/python/cpython/pull/128267#event-15763446243
https://github.com/skirpichev
skirpichevhttps://github.com/skirpichev
vstinnerhttps://github.com/vstinner
December 26, 2024 05:53https://github.com/python/cpython/pull/128267#event-15763446249
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Dec 26, 2024 https://github.com/python/cpython/pull/128267#ref-issue-1611612427
The C-API for Python to C integer conversion is, to be frank, a mess. #102471 https://github.com/python/cpython/issues/102471
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Dec 26, 2024https://github.com/python/cpython/pull/128267#event-15763446632
https://github.com/skirpichev
skirpichevhttps://github.com/skirpichev
Dec 26, 2024 https://github.com/python/cpython/pull/128267#ref-pullrequest-2738740044
gh-127937: convert decimal module to use import API for ints (PEP 757) #127925 https://github.com/python/cpython/pull/127925
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Dec 26, 2024 https://github.com/python/cpython/pull/128267#pullrequestreview-2523026859
View reviewed changes https://github.com/python/cpython/pull/128267/files/021ab8ec834efe39d684044026214b2da336e65e
Modules/_decimal/_decimal.chttps://github.com/python/cpython/pull/128267/files/021ab8ec834efe39d684044026214b2da336e65e#diff-071237c57ffb81dd4303eb5f02e5c5a661891a31c746c8f55a97a39659ad95d6
Please reload this pagehttps://github.com/python/cpython/pull/128267
Modules/_decimal/_decimal.chttps://github.com/python/cpython/pull/128267/files/021ab8ec834efe39d684044026214b2da336e65e#diff-071237c57ffb81dd4303eb5f02e5c5a661891a31c746c8f55a97a39659ad95d6
Please reload this pagehttps://github.com/python/cpython/pull/128267
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Dec 26, 2024 https://github.com/python/cpython/pull/128267#pullrequestreview-2523105455
View reviewed changes https://github.com/python/cpython/pull/128267/files/021ab8ec834efe39d684044026214b2da336e65e
Modules/_decimal/_decimal.chttps://github.com/python/cpython/pull/128267/files/021ab8ec834efe39d684044026214b2da336e65e#diff-071237c57ffb81dd4303eb5f02e5c5a661891a31c746c8f55a97a39659ad95d6
Please reload this pagehttps://github.com/python/cpython/pull/128267
skirpichevhttps://github.com/skirpichev
December 26, 2024 15:09https://github.com/python/cpython/pull/128267#commits-pushed-5764614
https://github.com/skirpichev
address review: add assertshttps://github.com/python/cpython/pull/128267/commits/5764614b14ebae65dddb16c156ef4e9afdffcbca
5764614https://github.com/python/cpython/pull/128267/commits/5764614b14ebae65dddb16c156ef4e9afdffcbca
https://github.com/skirpichev
Merge branch 'master' into decimal-use-PyLong_Export/127937https://github.com/python/cpython/pull/128267/commits/3b09d237f6e3f7b0c03b26f17c5ad16acf8b1c45
3b09d23https://github.com/python/cpython/pull/128267/commits/3b09d237f6e3f7b0c03b26f17c5ad16acf8b1c45
https://github.com/skirpichev
address review: drop const (seems wrong for me)https://github.com/python/cpython/pull/128267/commits/3381ddcd29c9c0107a7d720e3b90135a502461b5
3381ddchttps://github.com/python/cpython/pull/128267/commits/3381ddcd29c9c0107a7d720e3b90135a502461b5
https://github.com/skirpichev
Address review: just mpd_qset_i64https://github.com/python/cpython/pull/128267/commits/3eb506f893f3f5924b40ab3c4ace945628c9e213
3eb506fhttps://github.com/python/cpython/pull/128267/commits/3eb506f893f3f5924b40ab3c4ace945628c9e213
https://github.com/skirpichev
skirpichevhttps://github.com/skirpichev
Jan 5, 2025https://github.com/python/cpython/pull/128267#issuecomment-2571576423
@vstinnerhttps://github.com/vstinner
@serhiy-storchakahttps://github.com/serhiy-storchaka
@serhiy-storchakahttps://github.com/serhiy-storchaka
Please reload this pagehttps://github.com/python/cpython/pull/128267
https://github.com/skirpichev
skirpichevhttps://github.com/skirpichev
serhiy-storchakahttps://github.com/serhiy-storchaka
vstinnerhttps://github.com/vstinner
January 5, 2025 10:24https://github.com/python/cpython/pull/128267#event-15817134386
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Jan 6, 2025 https://github.com/python/cpython/pull/128267#pullrequestreview-2531824421
View reviewed changes https://github.com/python/cpython/pull/128267/files/3eb506f893f3f5924b40ab3c4ace945628c9e213
serhiy-storchakahttps://github.com/serhiy-storchaka
https://github.com/python/cpython/pull/128267#pullrequestreview-2531824421
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/128267
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Jan 6, 2025https://github.com/python/cpython/pull/128267#event-15824223515
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Jan 6, 2025 https://github.com/python/cpython/pull/128267#pullrequestreview-2531848255
View reviewed changes https://github.com/python/cpython/pull/128267/files/3eb506f893f3f5924b40ab3c4ace945628c9e213
vstinnerhttps://github.com/vstinner
https://github.com/python/cpython/pull/128267#pullrequestreview-2531848255
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/128267
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
879d287https://github.com/python/cpython/commit/879d287f49edcd4fa68324265f8ba63758716540
Jan 6, 2025https://github.com/python/cpython/pull/128267#event-15824372255
Please reload this pagehttps://github.com/python/cpython/pull/128267
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Jan 6, 2025https://github.com/python/cpython/pull/128267#event-15824372816
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Jan 6, 2025https://github.com/python/cpython/pull/128267#issuecomment-2572820973
Please reload this pagehttps://github.com/python/cpython/pull/128267
https://github.com/skirpichev
skirpichevhttps://github.com/skirpichev
January 6, 2025 10:54https://github.com/python/cpython/pull/128267#event-15824653134
srinivasreddyhttps://github.com/srinivasreddy
Jan 8, 2025 https://github.com/python/cpython/pull/128267#ref-commit-5d8a701
https://github.com/skirpichev
https://github.com/srinivasreddy
pythongh-102471https://github.com/python/cpython/issues/102471
: convert decimal module to use PyLong_Export API (PEP…https://github.com/srinivasreddy/cpython/commit/5d8a701d7724e37c11ffb1f524b05f0820aa26c6
5d8a701https://github.com/srinivasreddy/cpython/commit/5d8a701d7724e37c11ffb1f524b05f0820aa26c6
python#128267https://github.com/python/cpython/pull/128267
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F128267
https://github.com/vstinner
vstinner https://github.com/vstinner
https://github.com/python/cpython/pull/128267/files/3eb506f893f3f5924b40ab3c4ace945628c9e213
https://github.com/serhiy-storchaka
serhiy-storchaka https://github.com/serhiy-storchaka
https://github.com/python/cpython/pull/128267/files/3eb506f893f3f5924b40ab3c4ace945628c9e213
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Please reload this pagehttps://github.com/python/cpython/pull/128267
https://github.com/skirpichev
https://github.com/vstinner
https://github.com/serhiy-storchaka
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.