René's URL Explorer Experiment


Title: gh-143050: correct PyLong_FromString() to use _PyLong_Negate() by skirpichev · Pull Request #145901 · python/cpython · GitHub

Open Graph Title: gh-143050: correct PyLong_FromString() to use _PyLong_Negate() by skirpichev · Pull Request #145901 · python/cpython

X Title: gh-143050: correct PyLong_FromString() to use _PyLong_Negate() by skirpichev · Pull Request #145901 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: The long_from_string_base() might return a small integer, when the _pylong.py is used to do conversion. Hence, we must be careful here to not smash it "small int" bit by using the _PyLon...

X Description: The long_from_string_base() might return a small integer, when the _pylong.py is used to do conversion. Hence, we must be careful here to not smash it "small int" bit by using th...

Mail addresses
colesbury@gmail.com

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

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:b88255ef-c0db-5bdf-8a08-1305ba0246ad
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8C6E:12915F:F770C0:149F595:6A51BF16
html-safe-nonce0db7d6ccfcad2d2bd84ab20b94bc91f9fc5cd7e77cedb79fb5da9757c5e4620d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QzZFOjEyOTE1RjpGNzcwQzA6MTQ5RjU5NTo2QTUxQkYxNiIsInZpc2l0b3JfaWQiOiIxNDY4MjA2OTUwOTg2NjYxNjU0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmaca9567b95d61ee56f0790a57272ce9d97c9fe89b6393716f9e66563f1734cd95e
hovercard-subject-tagpull_request:3393759372
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/145901/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/ab7d18ea00e5efea5af83b5b30a9290be2ae8634e3e5020f6ff2ed7c8a857b94/python/cpython/pull/145901
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ab7d18ea00e5efea5af83b5b30a9290be2ae8634e3e5020f6ff2ed7c8a857b94/python/cpython/pull/145901
og:image:altThe long_from_string_base() might return a small integer, when the _pylong.py is used to do conversion. Hence, we must be careful here to not smash it "small int" bit by using the _PyLon...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameskirpichev
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-cache
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
release7aed05249554b889eb33d002851a973eebcc7e91
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/145901#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F145901
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
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/enterprise/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%2F145901
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/145901
Reloadhttps://github.com/python/cpython/pull/145901
Reloadhttps://github.com/python/cpython/pull/145901
Please reload this pagehttps://github.com/python/cpython/pull/145901
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/145901
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 35k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.7k 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.3k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality 0 https://github.com/python/cpython/security
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 and quality https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
skirpichev:fix-PyLong_FromString/143050https://github.com/skirpichev/cpython/tree/fix-PyLong_FromString/143050
Conversationhttps://github.com/python/cpython/pull/145901
Commits13 (13)https://github.com/python/cpython/pull/145901/commits
Checkshttps://github.com/python/cpython/pull/145901/checks
Files changedhttps://github.com/python/cpython/pull/145901/files
gh-143050: correct PyLong_FromString() to use _PyLong_Negate()https://github.com/python/cpython/pull/145901#top
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
skirpichev:fix-PyLong_FromString/143050https://github.com/skirpichev/cpython/tree/fix-PyLong_FromString/143050
https://github.com/skirpichev
skirpichevhttps://github.com/skirpichev
Mar 13, 2026https://github.com/python/cpython/pull/145901#issue-4069536578
Please reload this pagehttps://github.com/python/cpython/pull/145901
Remove redundant decref from _PyLong_Negate #143050https://github.com/python/cpython/issues/143050
Please reload this pagehttps://github.com/python/cpython/pull/145901
https://github.com/skirpichev
pythongh-143050https://github.com/python/cpython/issues/143050
: correct PyLong_FromString() to use _PyLong_Negate()https://github.com/python/cpython/pull/145901/commits/fbcec5a7ffe7efdc5fce079e39cf638adc3586b5
fbcec5ahttps://github.com/python/cpython/pull/145901/commits/fbcec5a7ffe7efdc5fce079e39cf638adc3586b5
https://github.com/skirpichev
skirpichevhttps://github.com/skirpichev
code ownerhttps://github.com/python/cpython/blob/0adc7289c3ab097b5608c0d288d91e1f5f236469/.github/CODEOWNERS#L190
March 13, 2026 07:53https://github.com/python/cpython/pull/145901#event-23536812801
https://github.com/skirpichev
skirpichevhttps://github.com/skirpichev
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Mar 13, 2026https://github.com/python/cpython/pull/145901#event-23536812811
https://github.com/skirpichev
skirpichevhttps://github.com/skirpichev
AA-Turnerhttps://github.com/AA-Turner
emmatypinghttps://github.com/emmatyping
erlend-aaslandhttps://github.com/erlend-aasland
code ownershttps://github.com/python/cpython/blob/0adc7289c3ab097b5608c0d288d91e1f5f236469/.github/CODEOWNERS#L87
March 13, 2026 07:53https://github.com/python/cpython/pull/145901#event-23536812851
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
Mar 13, 2026https://github.com/python/cpython/pull/145901#event-23536815879
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Mar 13, 2026 https://github.com/python/cpython/pull/145901#ref-issue-3751575619
Remove redundant decref from _PyLong_Negate #143050 https://github.com/python/cpython/issues/143050
https://github.com/skirpichev
skirpichevhttps://github.com/skirpichev
Mar 13, 2026https://github.com/python/cpython/pull/145901#issuecomment-4053413408
@colesburyhttps://github.com/colesbury
@eendebakpthttps://github.com/eendebakpt
Please reload this pagehttps://github.com/python/cpython/pull/145901
https://github.com/skirpichev
cleanup, use _testcapi.test_immortal_small_ints()https://github.com/python/cpython/pull/145901/commits/b8333ba67da4773f79e668495b7352ed2650c41b
b8333bahttps://github.com/python/cpython/pull/145901/commits/b8333ba67da4773f79e668495b7352ed2650c41b
https://github.com/skirpichev
skirpichevhttps://github.com/skirpichev
Mar 13, 2026https://github.com/python/cpython/pull/145901#issuecomment-4054035849
Please reload this pagehttps://github.com/python/cpython/pull/145901
https://github.com/skirpichev
skirpichevhttps://github.com/skirpichev
Mar 13, 2026 https://github.com/python/cpython/pull/145901#pullrequestreview-3942988147
View reviewed changes https://github.com/python/cpython/pull/145901/files/b8333ba67da4773f79e668495b7352ed2650c41b
Lib/test/test_capi/test_long.pyhttps://github.com/python/cpython/pull/145901/files/b8333ba67da4773f79e668495b7352ed2650c41b#diff-cc3c55fb42d8833c85cfb69e864008af59140bcf80ac0cdd411c98688dc534c4
skirpichevhttps://github.com/skirpichev
Mar 13, 2026https://github.com/python/cpython/pull/145901#discussion_r2930299248
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@corona10https://github.com/corona10
#103962https://github.com/python/cpython/pull/103962
Please reload this pagehttps://github.com/python/cpython/pull/145901
colesburyhttps://github.com/colesbury
Mar 17, 2026https://github.com/python/cpython/pull/145901#discussion_r2949272105
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/145901
vstinnerhttps://github.com/vstinner
Mar 31, 2026https://github.com/python/cpython/pull/145901#discussion_r3015523598
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/145901
vstinnerhttps://github.com/vstinner
Mar 31, 2026https://github.com/python/cpython/pull/145901#discussion_r3015577333
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/145901
https://github.com/eendebakpt
eendebakpthttps://github.com/eendebakpt
Mar 13, 2026 https://github.com/python/cpython/pull/145901#pullrequestreview-3944075969
View reviewed changes https://github.com/python/cpython/pull/145901/files/b8333ba67da4773f79e668495b7352ed2650c41b
Objects/longobject.chttps://github.com/python/cpython/pull/145901/files/b8333ba67da4773f79e668495b7352ed2650c41b#diff-1a6e70e2beeecad88840c67284ac4d54a36998029244771fcc820e801390726a
Please reload this pagehttps://github.com/python/cpython/pull/145901
https://github.com/eendebakpt
eendebakpthttps://github.com/eendebakpt
Mar 13, 2026 https://github.com/python/cpython/pull/145901#pullrequestreview-3944537870
View reviewed changes https://github.com/python/cpython/pull/145901/files/b8333ba67da4773f79e668495b7352ed2650c41b
Lib/test/test_capi/test_long.pyhttps://github.com/python/cpython/pull/145901/files/b8333ba67da4773f79e668495b7352ed2650c41b#diff-cc3c55fb42d8833c85cfb69e864008af59140bcf80ac0cdd411c98688dc534c4
Please reload this pagehttps://github.com/python/cpython/pull/145901
skirpichevhttps://github.com/skirpichev
March 14, 2026 03:02https://github.com/python/cpython/pull/145901#commits-pushed-20e79c6
https://github.com/skirpichev
+ add also test with nonzero small inthttps://github.com/python/cpython/pull/145901/commits/20e79c6c3cc5c8a152d2962e98220e30e68ce2dd
20e79c6https://github.com/python/cpython/pull/145901/commits/20e79c6c3cc5c8a152d2962e98220e30e68ce2dd
https://github.com/skirpichev
_long_is_small_int() -> _PyLong_IsImmortal() helperhttps://github.com/python/cpython/pull/145901/commits/413e56d52f3a0717f4abe2481287700759f1e250
413e56dhttps://github.com/python/cpython/pull/145901/commits/413e56d52f3a0717f4abe2481287700759f1e250
https://github.com/skirpichev
skirpichevhttps://github.com/skirpichev
colesburyhttps://github.com/colesbury
eendebakpthttps://github.com/eendebakpt
March 15, 2026 04:13https://github.com/python/cpython/pull/145901#event-23580629602
https://github.com/eendebakpt
eendebakpthttps://github.com/eendebakpt
Mar 17, 2026 https://github.com/python/cpython/pull/145901#pullrequestreview-3960295458
View reviewed changes https://github.com/python/cpython/pull/145901/files/413e56d52f3a0717f4abe2481287700759f1e250
eendebakpthttps://github.com/eendebakpt
https://github.com/python/cpython/pull/145901#pullrequestreview-3960295458
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/145901
Include/internal/pycore_long.hhttps://github.com/python/cpython/pull/145901/files/413e56d52f3a0717f4abe2481287700759f1e250#diff-0817b8ffc6c3af36ea39ebabafe70c849d6ee7cb6621d3bda857f3ed25a37511
Please reload this pagehttps://github.com/python/cpython/pull/145901
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Mar 17, 2026https://github.com/python/cpython/pull/145901#event-23641618358
https://github.com/colesbury
colesburyhttps://github.com/colesbury
Mar 17, 2026 https://github.com/python/cpython/pull/145901#pullrequestreview-3963444506
View reviewed changes https://github.com/python/cpython/pull/145901/files/413e56d52f3a0717f4abe2481287700759f1e250
colesburyhttps://github.com/colesbury
https://github.com/python/cpython/pull/145901#pullrequestreview-3963444506
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/145901
Lib/test/test_capi/test_long.pyhttps://github.com/python/cpython/pull/145901/files/b8333ba67da4773f79e668495b7352ed2650c41b#diff-cc3c55fb42d8833c85cfb69e864008af59140bcf80ac0cdd411c98688dc534c4
colesburyhttps://github.com/colesbury
Mar 17, 2026https://github.com/python/cpython/pull/145901#discussion_r2949272105
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/145901
Include/internal/pycore_long.hhttps://github.com/python/cpython/pull/145901/files/413e56d52f3a0717f4abe2481287700759f1e250#diff-0817b8ffc6c3af36ea39ebabafe70c849d6ee7cb6621d3bda857f3ed25a37511
Please reload this pagehttps://github.com/python/cpython/pull/145901
https://github.com/colesbury
colesburyhttps://github.com/colesbury
Mar 17, 2026 https://github.com/python/cpython/pull/145901#pullrequestreview-3963477232
View reviewed changes https://github.com/python/cpython/pull/145901/files/413e56d52f3a0717f4abe2481287700759f1e250
colesburyhttps://github.com/colesbury
https://github.com/python/cpython/pull/145901#pullrequestreview-3963477232
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/145901
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 core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Mar 17, 2026https://github.com/python/cpython/pull/145901#event-23657783216
skirpichevhttps://github.com/skirpichev
March 18, 2026 02:12https://github.com/python/cpython/pull/145901#commits-pushed-b892216
https://github.com/skirpichev
Merge branch 'master' into fix-PyLong_FromString/143050https://github.com/python/cpython/pull/145901/commits/b892216f640f307d3c3a16bcbfe51cceafcc5795
b892216https://github.com/python/cpython/pull/145901/commits/b892216f640f307d3c3a16bcbfe51cceafcc5795
https://github.com/skirpichev
address review: rename _PyLong_IsImmortal -> _PyLong_HasImmortalTaghttps://github.com/python/cpython/pull/145901/commits/78c5b4be4012b0c69070463b3a2609f65bff34bd
78c5b4bhttps://github.com/python/cpython/pull/145901/commits/78c5b4be4012b0c69070463b3a2609f65bff34bd
https://github.com/skirpichev
skirpichevhttps://github.com/skirpichev
force-pushedhttps://github.com/python/cpython/compare/e28e94c9e05ca1f99061d0b1cb09f9ae31e4debc..78c5b4be4012b0c69070463b3a2609f65bff34bd
e28e94chttps://github.com/python/cpython/commit/e28e94c9e05ca1f99061d0b1cb09f9ae31e4debc
78c5b4bhttps://github.com/python/cpython/commit/78c5b4be4012b0c69070463b3a2609f65bff34bd
Compare https://github.com/python/cpython/compare/e28e94c9e05ca1f99061d0b1cb09f9ae31e4debc..78c5b4be4012b0c69070463b3a2609f65bff34bd
March 17, 2026 23:27https://github.com/python/cpython/pull/145901#event-23662370554
https://github.com/skirpichev
skirpichevhttps://github.com/skirpichev
Mar 17, 2026https://github.com/python/cpython/pull/145901#issuecomment-4078659544
Please reload this pagehttps://github.com/python/cpython/pull/145901
@colesburyhttps://github.com/colesbury
#145901 (comment)https://github.com/python/cpython/pull/145901#discussion_r2934397767
Please reload this pagehttps://github.com/python/cpython/pull/145901
https://github.com/skirpichev
add asserthttps://github.com/python/cpython/pull/145901/commits/69d35bda593a5f8aafec607c848d0dbfa81a56c1
69d35bdhttps://github.com/python/cpython/pull/145901/commits/69d35bda593a5f8aafec607c848d0dbfa81a56c1
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Mar 27, 2026 https://github.com/python/cpython/pull/145901#pullrequestreview-4022359715
View reviewed changes https://github.com/python/cpython/pull/145901/files/2f927e0dc13c22bfe628438c3d6e581a5cd9d181
Lib/test/test_capi/test_long.pyhttps://github.com/python/cpython/pull/145901/files/2f927e0dc13c22bfe628438c3d6e581a5cd9d181#diff-cc3c55fb42d8833c85cfb69e864008af59140bcf80ac0cdd411c98688dc534c4
Please reload this pagehttps://github.com/python/cpython/pull/145901
Lib/test/test_capi/test_long.pyhttps://github.com/python/cpython/pull/145901/files/2f927e0dc13c22bfe628438c3d6e581a5cd9d181#diff-cc3c55fb42d8833c85cfb69e864008af59140bcf80ac0cdd411c98688dc534c4
Please reload this pagehttps://github.com/python/cpython/pull/145901
Include/internal/pycore_long.hhttps://github.com/python/cpython/pull/145901/files/2f927e0dc13c22bfe628438c3d6e581a5cd9d181#diff-0817b8ffc6c3af36ea39ebabafe70c849d6ee7cb6621d3bda857f3ed25a37511
Please reload this pagehttps://github.com/python/cpython/pull/145901
skirpichevhttps://github.com/skirpichev
March 28, 2026 02:56https://github.com/python/cpython/pull/145901#commits-pushed-53523de
https://github.com/skirpichev
Merge branch 'master' into fix-PyLong_FromString/143050https://github.com/python/cpython/pull/145901/commits/53523deb383c9b972799496785985284a61dea83
53523dehttps://github.com/python/cpython/pull/145901/commits/53523deb383c9b972799496785985284a61dea83
https://github.com/skirpichev
address review: some commentshttps://github.com/python/cpython/pull/145901/commits/1f363f41256562347be497789450d74af071a67a
1f363f4https://github.com/python/cpython/pull/145901/commits/1f363f41256562347be497789450d74af071a67a
https://github.com/skirpichev
skirpichevhttps://github.com/skirpichev
vstinnerhttps://github.com/vstinner
March 28, 2026 00:11https://github.com/python/cpython/pull/145901#event-23988554078
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Mar 30, 2026 https://github.com/python/cpython/pull/145901#pullrequestreview-4030260137
View reviewed changes https://github.com/python/cpython/pull/145901/files/1f363f41256562347be497789450d74af071a67a
Include/internal/pycore_long.hhttps://github.com/python/cpython/pull/145901/files/1f363f41256562347be497789450d74af071a67a#diff-0817b8ffc6c3af36ea39ebabafe70c849d6ee7cb6621d3bda857f3ed25a37511
vstinnerhttps://github.com/vstinner
Mar 30, 2026https://github.com/python/cpython/pull/145901#discussion_r3009527603
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#146631https://github.com/python/cpython/pull/146631
Please reload this pagehttps://github.com/python/cpython/pull/145901
skirpichevhttps://github.com/skirpichev
Mar 30, 2026https://github.com/python/cpython/pull/145901#discussion_r3009585588
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@colesburyhttps://github.com/colesbury
Please reload this pagehttps://github.com/python/cpython/pull/145901
vstinnerhttps://github.com/vstinner
Mar 30, 2026https://github.com/python/cpython/pull/145901#discussion_r3011789596
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/145901
skirpichevhttps://github.com/skirpichev
Mar 31, 2026https://github.com/python/cpython/pull/145901#discussion_r3012756992
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#145901 (comment)https://github.com/python/cpython/pull/145901#issuecomment-4080100355
Please reload this pagehttps://github.com/python/cpython/pull/145901
vstinnerhttps://github.com/vstinner
Mar 31, 2026https://github.com/python/cpython/pull/145901#discussion_r3014665524
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/145901
skirpichevhttps://github.com/skirpichev
Mar 31, 2026https://github.com/python/cpython/pull/145901#discussion_r3014875900
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/145901
skirpichevhttps://github.com/skirpichev
March 31, 2026 02:41https://github.com/python/cpython/pull/145901#commits-pushed-41961ed
https://github.com/skirpichev
Merge branch 'main' into fix-PyLong_FromString/143050https://github.com/python/cpython/pull/145901/commits/41961ed4553d4827f18a6f0396ab4dcde7f9ad87
41961edhttps://github.com/python/cpython/pull/145901/commits/41961ed4553d4827f18a6f0396ab4dcde7f9ad87
https://github.com/skirpichev
address review: add assert on _PY_IS_SMALL_INThttps://github.com/python/cpython/pull/145901/commits/0b29e28567f5afae1f39743268034e815232ea1a
0b29e28https://github.com/python/cpython/pull/145901/commits/0b29e28567f5afae1f39743268034e815232ea1a
https://github.com/skirpichev
skirpichevhttps://github.com/skirpichev
vstinnerhttps://github.com/vstinner
March 31, 2026 00:22https://github.com/python/cpython/pull/145901#event-24055799292
https://github.com/skirpichev
skirpichevhttps://github.com/skirpichev
Mar 31, 2026 https://github.com/python/cpython/pull/145901#pullrequestreview-4036211622
View reviewed changes https://github.com/python/cpython/pull/145901/files/0b29e28567f5afae1f39743268034e815232ea1a
Include/internal/pycore_long.hhttps://github.com/python/cpython/pull/145901/files/0b29e28567f5afae1f39743268034e815232ea1a#diff-0817b8ffc6c3af36ea39ebabafe70c849d6ee7cb6621d3bda857f3ed25a37511
Please reload this pagehttps://github.com/python/cpython/pull/145901
Include/internal/pycore_long.hhttps://github.com/python/cpython/pull/145901/files/0b29e28567f5afae1f39743268034e815232ea1a#diff-0817b8ffc6c3af36ea39ebabafe70c849d6ee7cb6621d3bda857f3ed25a37511
Please reload this pagehttps://github.com/python/cpython/pull/145901
Modules/_testcapi/immortal.chttps://github.com/python/cpython/pull/145901/files/0b29e28567f5afae1f39743268034e815232ea1a#diff-4475403bbe82b492e8ef54bc096287b1e4774931d4bfe50a196ab396d086edcd
Please reload this pagehttps://github.com/python/cpython/pull/145901
Modules/_testcapi/immortal.chttps://github.com/python/cpython/pull/145901/files/0b29e28567f5afae1f39743268034e815232ea1a#diff-4475403bbe82b492e8ef54bc096287b1e4774931d4bfe50a196ab396d086edcd
Please reload this pagehttps://github.com/python/cpython/pull/145901
Objects/longobject.chttps://github.com/python/cpython/pull/145901/files/0b29e28567f5afae1f39743268034e815232ea1a#diff-1a6e70e2beeecad88840c67284ac4d54a36998029244771fcc820e801390726a
Please reload this pagehttps://github.com/python/cpython/pull/145901
Modules/_testcapi/immortal.chttps://github.com/python/cpython/pull/145901/files/0b29e28567f5afae1f39743268034e815232ea1a#diff-4475403bbe82b492e8ef54bc096287b1e4774931d4bfe50a196ab396d086edcd
Please reload this pagehttps://github.com/python/cpython/pull/145901
Objects/longobject.chttps://github.com/python/cpython/pull/145901/files/0b29e28567f5afae1f39743268034e815232ea1a#diff-1a6e70e2beeecad88840c67284ac4d54a36998029244771fcc820e801390726a
Please reload this pagehttps://github.com/python/cpython/pull/145901
https://github.com/vstinner
https://github.com/skirpichev
Rename to _PyLong_IsSmallInt()https://github.com/python/cpython/pull/145901/commits/45b3b040da09b93a42a32e71f08de5670f8d79d6
45b3b04https://github.com/python/cpython/pull/145901/commits/45b3b040da09b93a42a32e71f08de5670f8d79d6
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Mar 31, 2026 https://github.com/python/cpython/pull/145901#pullrequestreview-4037167712
View reviewed changes https://github.com/python/cpython/pull/145901/files/45b3b040da09b93a42a32e71f08de5670f8d79d6
vstinnerhttps://github.com/vstinner
https://github.com/python/cpython/pull/145901#pullrequestreview-4037167712
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/145901
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Mar 31, 2026https://github.com/python/cpython/pull/145901#issuecomment-4162452092
Please reload this pagehttps://github.com/python/cpython/pull/145901
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Mar 31, 2026https://github.com/python/cpython/pull/145901#issuecomment-4162468255
#147187https://github.com/python/cpython/pull/147187
Please reload this pagehttps://github.com/python/cpython/pull/145901
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
March 31, 2026 12:59https://github.com/python/cpython/pull/145901#event-24074298092
https://github.com/skirpichev
skirpichevhttps://github.com/skirpichev
Mar 31, 2026https://github.com/python/cpython/pull/145901#issuecomment-4162486140
Please reload this pagehttps://github.com/python/cpython/pull/145901
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Mar 31, 2026https://github.com/python/cpython/pull/145901#issuecomment-4162550014
Please reload this pagehttps://github.com/python/cpython/pull/145901
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
db5936chttps://github.com/python/cpython/commit/db5936c5b89aa19e04d63120e0cf5bbc73bf2420
Mar 31, 2026https://github.com/python/cpython/pull/145901#event-24074906929
Please reload this pagehttps://github.com/python/cpython/pull/145901
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
Mar 31, 2026https://github.com/python/cpython/pull/145901#event-24074909227
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
needs backport to 3.14 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22
Mar 31, 2026https://github.com/python/cpython/pull/145901#event-24075400452
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Mar 31, 2026https://github.com/python/cpython/pull/145901#issuecomment-4162674110
@skirpichevhttps://github.com/skirpichev
@vstinnerhttps://github.com/vstinner
Please reload this pagehttps://github.com/python/cpython/pull/145901
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Mar 31, 2026https://github.com/python/cpython/pull/145901#issuecomment-4162675658
GH-147331https://github.com/python/cpython/pull/147331
3.14 branchhttps://github.com/python/cpython/tree/3.14
Please reload this pagehttps://github.com/python/cpython/pull/145901
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
needs backport to 3.14 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22
Mar 31, 2026https://github.com/python/cpython/pull/145901#event-24075411763
miss-islingtonhttps://github.com/miss-islington
Mar 31, 2026 https://github.com/python/cpython/pull/145901#ref-commit-ced1164
https://github.com/skirpichev
https://github.com/vstinner
https://github.com/miss-islington
pythongh-143050https://github.com/python/cpython/issues/143050
: Correct PyLong_FromString() to use _PyLong_Negate() (https://github.com/miss-islington/cpython/commit/ced11643fdcc98aee29557e71584fd84e341f197
p…https://github.com/python/cpython/pull/145901
ced1164https://github.com/miss-islington/cpython/commit/ced11643fdcc98aee29557e71584fd84e341f197
…ythonGH-145901https://github.com/python/cpython/pull/145901
db5936chttps://github.com/miss-islington/cpython/commit/db5936c5b89aa19e04d63120e0cf5bbc73bf2420
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Mar 31, 2026https://github.com/python/cpython/pull/145901#issuecomment-4162842699
GH-147437https://github.com/python/cpython/pull/147437
3.13 branchhttps://github.com/python/cpython/tree/3.13
Please reload this pagehttps://github.com/python/cpython/pull/145901
https://github.com/skirpichev
skirpichevhttps://github.com/skirpichev
March 31, 2026 14:06https://github.com/python/cpython/pull/145901#event-24076618914
vstinnerhttps://github.com/vstinner
Mar 31, 2026 https://github.com/python/cpython/pull/145901#ref-commit-25b48b8
https://github.com/miss-islington
https://github.com/skirpichev
https://github.com/vstinner
[3.14]https://github.com/python/cpython/commit/25b48b84b85a08384479d2636a01d1d52fa97a6b
gh-143050https://github.com/python/cpython/issues/143050
: Correct PyLong_FromString() to use _PyLong_Negate() (https://github.com/python/cpython/commit/25b48b84b85a08384479d2636a01d1d52fa97a6b
https://github.com/python/cpython/pull/145901
25b48b8https://github.com/python/cpython/commit/25b48b84b85a08384479d2636a01d1d52fa97a6b
…GH-145901https://github.com/python/cpython/pull/145901
#147331https://github.com/python/cpython/pull/147331
gh-143050https://github.com/python/cpython/issues/143050
GH-145901https://github.com/python/cpython/pull/145901
db5936chttps://github.com/python/cpython/commit/db5936c5b89aa19e04d63120e0cf5bbc73bf2420
vstinnerhttps://github.com/vstinner
Mar 31, 2026 https://github.com/python/cpython/pull/145901#ref-commit-01af34a
https://github.com/vstinner
https://github.com/skirpichev
[3.13]https://github.com/python/cpython/commit/01af34a3649b34eb2b5e43ccbd106a8a88d9fc47
gh-143050https://github.com/python/cpython/issues/143050
: Correct PyLong_FromString() to use _PyLong_Negate() (https://github.com/python/cpython/commit/01af34a3649b34eb2b5e43ccbd106a8a88d9fc47
https://github.com/python/cpython/pull/145901
01af34ahttps://github.com/python/cpython/commit/01af34a3649b34eb2b5e43ccbd106a8a88d9fc47
…#145901https://github.com/python/cpython/pull/145901
#147437https://github.com/python/cpython/pull/147437
db5936chttps://github.com/python/cpython/commit/db5936c5b89aa19e04d63120e0cf5bbc73bf2420
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
Apr 4, 2026 https://github.com/python/cpython/pull/145901#ref-pullrequest-3716338400
gh-130273: Fix traceback color output with unicode characters #142529 https://github.com/python/cpython/pull/142529
clin1234https://github.com/clin1234
Apr 16, 2026 https://github.com/python/cpython/pull/145901#ref-commit-a7070f3
https://github.com/skirpichev
https://github.com/vstinner
https://github.com/clin1234
pythongh-143050https://github.com/python/cpython/issues/143050
: Correct PyLong_FromString() to use _PyLong_Negate() (https://github.com/clin1234/cpython/commit/a7070f3f5cfceb08ce764c237ea640147dae736e
p…https://github.com/python/cpython/pull/145901
a7070f3https://github.com/clin1234/cpython/commit/a7070f3f5cfceb08ce764c237ea640147dae736e
…ython#145901https://github.com/python/cpython/pull/145901
ljfphttps://github.com/ljfp
Apr 25, 2026 https://github.com/python/cpython/pull/145901#ref-commit-2f7f76e
https://github.com/skirpichev
https://github.com/vstinner
https://github.com/ljfp
pythongh-143050https://github.com/python/cpython/issues/143050
: Correct PyLong_FromString() to use _PyLong_Negate() (https://github.com/ljfp/cpython/commit/2f7f76ea4c7392a1cb2c76693d686c57c805ae82
p…https://github.com/python/cpython/pull/145901
2f7f76ehttps://github.com/ljfp/cpython/commit/2f7f76ea4c7392a1cb2c76693d686c57c805ae82
…ython#145901https://github.com/python/cpython/pull/145901
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
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%2F145901
https://github.com/colesbury
colesbury https://github.com/colesbury
https://github.com/python/cpython/pull/145901/files/69d35bda593a5f8aafec607c848d0dbfa81a56c1
https://github.com/eendebakpt
eendebakpt https://github.com/eendebakpt
https://github.com/python/cpython/pull/145901/files/2f927e0dc13c22bfe628438c3d6e581a5cd9d181
https://github.com/vstinner
vstinner https://github.com/vstinner
https://github.com/python/cpython/pull/145901/files/45b3b040da09b93a42a32e71f08de5670f8d79d6
https://github.com/erlend-aasland
erlend-aasland https://github.com/erlend-aasland
https://github.com/AA-Turner
AA-Turner https://github.com/AA-Turner
https://github.com/emmatyping
emmatyping https://github.com/emmatyping
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/145901
https://github.com/skirpichev
https://github.com/vstinner
https://github.com/colesbury
https://github.com/eendebakpt
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.