René's URL Explorer Experiment


Title: gh-85989: deprecate float.__getformat__() class method by skirpichev · Pull Request #146400 · python/cpython · GitHub

Open Graph Title: gh-85989: deprecate float.__getformat__() class method by skirpichev · Pull Request #146400 · python/cpython

X Title: gh-85989: deprecate float.__getformat__() class method by skirpichev · Pull Request #146400 · python/cpython

Description: 📚 Documentation preview 📚: https://cpython-previews--146400.org.readthedocs.build/ Issue: gh-85989

Open Graph Description: 📚 Documentation preview 📚: https://cpython-previews--146400.org.readthedocs.build/ Issue: gh-85989

X Description: 📚 Documentation preview 📚: https://cpython-previews--146400.org.readthedocs.build/ Issue: gh-85989

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:ba3b7990-afeb-1438-321f-c3469346d822
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9B46:185C34:2D894A:3DA2E0:6A52EBBE
html-safe-nonce2f0f2f019f757c99caf17085e5d051c0134de706e4029f25e4dbd6ccc320bbcb
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QjQ2OjE4NUMzNDoyRDg5NEE6M0RBMkUwOjZBNTJFQkJFIiwidmlzaXRvcl9pZCI6IjczMzc0NzgxNDEyMTUxNzM1NjYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac0c2303dceb14cc558ab31dead6e45d0fcbc87c8e7269f73eafee75d624c99e3b
hovercard-subject-tagpull_request:3442546712
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/146400/files
twitter:imagehttps://avatars.githubusercontent.com/u/2155800?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/2155800?s=400&v=4
og:image:alt📚 Documentation preview 📚: https://cpython-previews--146400.org.readthedocs.build/ Issue: gh-85989
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release07a982c1d40157c619b364352b704c3ce66bb332
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/146400/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F146400%2Ffiles
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%2F146400%2Ffiles
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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/146400/files
Reloadhttps://github.com/python/cpython/pull/146400/files
Reloadhttps://github.com/python/cpython/pull/146400/files
Please reload this pagehttps://github.com/python/cpython/pull/146400/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/146400/files
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 35k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.8k 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
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
skirpichevhttps://github.com/skirpichev
python:mainhttps://github.com/python/cpython/tree/main
skirpichev:deprecate-__getformat__/145633https://github.com/skirpichev/cpython/tree/deprecate-__getformat__/145633
Conversation 43 https://github.com/python/cpython/pull/146400
Commits 15 https://github.com/python/cpython/pull/146400/commits
Checks 74 https://github.com/python/cpython/pull/146400/checks
Files changed https://github.com/python/cpython/pull/146400/files
Please reload this pagehttps://github.com/python/cpython/pull/146400/files
gh-85989: deprecate float.__getformat__() class method https://github.com/python/cpython/pull/146400/files#top
Show all changes 15 commits https://github.com/python/cpython/pull/146400/files
534939e gh-145633: deprecate float.__getformat__() class method skirpichev Mar 25, 2026 https://github.com/python/cpython/pull/146400/commits/534939e0d92cca909d3897b681217dea6e1d24be
aaf2b0a workaround for missing ctypes skirpichev Mar 25, 2026 https://github.com/python/cpython/pull/146400/commits/aaf2b0a3acda49de8f0471ea216b615fad1107be
907bfb1 + use struct skirpichev Mar 25, 2026 https://github.com/python/cpython/pull/146400/commits/907bfb1d4ba45e0976908ffe98a0fd7326995a22
a8cbdbf +news skirpichev Mar 25, 2026 https://github.com/python/cpython/pull/146400/commits/a8cbdbf9482dfb1d53686d141f0010cbca0d7a90
e38e308 Merge branch 'master' into deprecate-__getformat__/145633 skirpichev Apr 1, 2026 https://github.com/python/cpython/pull/146400/commits/e38e3086d56252448de47183fcd2ae83cc96ff66
3a4c818 address review: restore test_getformat() skirpichev Apr 1, 2026 https://github.com/python/cpython/pull/146400/commits/3a4c8180b26fe1fd1a0410bd2df12936e6f00aa3
b93f48c address review: test_funcattrs.py skirpichev Apr 1, 2026 https://github.com/python/cpython/pull/146400/commits/b93f48c6b85d5c7c29b982c2e0dae979efdf58b9
04356f7 address review: document _have_ieee_doubles + a quick exit skirpichev Apr 1, 2026 https://github.com/python/cpython/pull/146400/commits/04356f78dd90fc137b2b6ad01fb2e760e67b2121
68a3264 address review: adjust news skirpichev Apr 1, 2026 https://github.com/python/cpython/pull/146400/commits/68a326451db100241ed21d4ad31b9b6747c94163
9fe8a22 +typo skirpichev Apr 1, 2026 https://github.com/python/cpython/pull/146400/commits/9fe8a22b38508296e1886287eb34e7d307fad0d3
27d31f2 Merge branch 'master' into deprecate-__getformat__/145633 skirpichev Apr 17, 2026 https://github.com/python/cpython/pull/146400/commits/27d31f2fcb178eddd9feaed638db240127baa980
291401b address review: use assertWarns(DeprecationWarning) skirpichev Apr 17, 2026 https://github.com/python/cpython/pull/146400/commits/291401b265cfadfe8f3b7867d6b9cfe8b6bbc15a
67fc46e Apply suggestion from @skirpichev skirpichev Apr 17, 2026 https://github.com/python/cpython/pull/146400/commits/67fc46e7d81757797b978183dc924f6479bdc828
e4d5f18 +1 skirpichev Apr 17, 2026 https://github.com/python/cpython/pull/146400/commits/e4d5f1875108e585864f88a5b4d6a136502de1d3
3a0136e Merge branch 'master' into deprecate-__getformat__/145633 skirpichev May 22, 2026 https://github.com/python/cpython/pull/146400/commits/3a0136e1809d9838bd5c90ba2477490a0f640fe8
Clear filters https://github.com/python/cpython/pull/146400/files
Please reload this pagehttps://github.com/python/cpython/pull/146400/files
Please reload this pagehttps://github.com/python/cpython/pull/146400/files
pending-removal-in-3.21.rst https://github.com/python/cpython/pull/146400/files#diff-82a4f0ebe2188bb9dc843538c7fe145e92938d9807ee12478fc840e61d75e848
3.16.rst https://github.com/python/cpython/pull/146400/files#diff-e69e0be717f3409832d520e20348f62af39c9436ba1a9d82e842bc10e5eb51d7
pythoninfo.py https://github.com/python/cpython/pull/146400/files#diff-0e1446603335e370275fd0d817c5865d413188c8af49a00c9857bdfd5175a0bd
__init__.py https://github.com/python/cpython/pull/146400/files#diff-d925268c057737ba320c489ca302fd5125f14840d22e50cfe226bdb5bb88ba8d
test_float.py https://github.com/python/cpython/pull/146400/files#diff-dfb52509777790fbc5dc9842b814f0cb46423bf1cd5bb484b1624eccd6013a4c
test_float.py https://github.com/python/cpython/pull/146400/files#diff-101957dfb9ef9c3a34ad39d7ad89a2d7d69290980553f9425acda0d5633ad453
test_funcattrs.py https://github.com/python/cpython/pull/146400/files#diff-b0b3aee6d1aaec7c1acb05ecf93a2e6c8b843ac8fa376b4197c4f2f5cb5c8f35
2026-03-24-17-29-19.gh-issue-145633.RtktKR.rst https://github.com/python/cpython/pull/146400/files#diff-2435fac178f212dee089cc3e41f1303343d89ed11640bcf6e744f1d3d5137551
floatobject.c https://github.com/python/cpython/pull/146400/files#diff-3651445c9f72daa1fdf6577b10902d4ceee89aa99295e01fcab07b58767a935f
Doc/deprecations/pending-removal-in-3.21.rsthttps://github.com/python/cpython/pull/146400/files#diff-82a4f0ebe2188bb9dc843538c7fe145e92938d9807ee12478fc840e61d75e848
View file https://github.com/python/cpython/blob/3a0136e1809d9838bd5c90ba2477490a0f640fe8/Doc/deprecations/pending-removal-in-3.21.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/146400/{{ revealButtonHref }}
https://github.com/python/cpython/pull/146400/files#diff-82a4f0ebe2188bb9dc843538c7fe145e92938d9807ee12478fc840e61d75e848
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L116
Doc/whatsnew/3.16.rsthttps://github.com/python/cpython/pull/146400/files#diff-e69e0be717f3409832d520e20348f62af39c9436ba1a9d82e842bc10e5eb51d7
View file https://github.com/python/cpython/blob/3a0136e1809d9838bd5c90ba2477490a0f640fe8/Doc/whatsnew/3.16.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/146400/{{ revealButtonHref }}
https://github.com/python/cpython/pull/146400/files#diff-e69e0be717f3409832d520e20348f62af39c9436ba1a9d82e842bc10e5eb51d7
https://github.com/python/cpython/pull/146400/files#diff-e69e0be717f3409832d520e20348f62af39c9436ba1a9d82e842bc10e5eb51d7
Lib/test/pythoninfo.pyhttps://github.com/python/cpython/pull/146400/files#diff-0e1446603335e370275fd0d817c5865d413188c8af49a00c9857bdfd5175a0bd
View file https://github.com/python/cpython/blob/3a0136e1809d9838bd5c90ba2477490a0f640fe8/Lib/test/pythoninfo.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/146400/{{ revealButtonHref }}
https://github.com/python/cpython/pull/146400/files#diff-0e1446603335e370275fd0d817c5865d413188c8af49a00c9857bdfd5175a0bd
Please reload this pagehttps://github.com/python/cpython/pull/146400/files
https://github.com/python/cpython/pull/146400/files#diff-0e1446603335e370275fd0d817c5865d413188c8af49a00c9857bdfd5175a0bd
https://github.com/python/cpython/pull/146400/files#diff-0e1446603335e370275fd0d817c5865d413188c8af49a00c9857bdfd5175a0bd
https://github.com/python/cpython/pull/146400/files#diff-0e1446603335e370275fd0d817c5865d413188c8af49a00c9857bdfd5175a0bd
Lib/test/support/__init__.pyhttps://github.com/python/cpython/pull/146400/files#diff-d925268c057737ba320c489ca302fd5125f14840d22e50cfe226bdb5bb88ba8d
View file https://github.com/python/cpython/blob/3a0136e1809d9838bd5c90ba2477490a0f640fe8/Lib/test/support/__init__.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/146400/{{ revealButtonHref }}
https://github.com/python/cpython/pull/146400/files#diff-d925268c057737ba320c489ca302fd5125f14840d22e50cfe226bdb5bb88ba8d
Please reload this pagehttps://github.com/python/cpython/pull/146400/files
https://github.com/python/cpython/pull/146400/files#diff-d925268c057737ba320c489ca302fd5125f14840d22e50cfe226bdb5bb88ba8d
Lib/test/test_capi/test_float.pyhttps://github.com/python/cpython/pull/146400/files#diff-dfb52509777790fbc5dc9842b814f0cb46423bf1cd5bb484b1624eccd6013a4c
View file https://github.com/python/cpython/blob/3a0136e1809d9838bd5c90ba2477490a0f640fe8/Lib/test/test_capi/test_float.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/146400/{{ revealButtonHref }}
https://github.com/python/cpython/pull/146400/files#diff-dfb52509777790fbc5dc9842b814f0cb46423bf1cd5bb484b1624eccd6013a4c
https://github.com/python/cpython/pull/146400/files#diff-dfb52509777790fbc5dc9842b814f0cb46423bf1cd5bb484b1624eccd6013a4c
https://github.com/python/cpython/pull/146400/files#diff-dfb52509777790fbc5dc9842b814f0cb46423bf1cd5bb484b1624eccd6013a4c
https://github.com/python/cpython/pull/146400/files#diff-dfb52509777790fbc5dc9842b814f0cb46423bf1cd5bb484b1624eccd6013a4c
https://github.com/python/cpython/pull/146400/files#diff-dfb52509777790fbc5dc9842b814f0cb46423bf1cd5bb484b1624eccd6013a4c
https://github.com/python/cpython/pull/146400/files#diff-dfb52509777790fbc5dc9842b814f0cb46423bf1cd5bb484b1624eccd6013a4c
https://github.com/python/cpython/pull/146400/files#diff-dfb52509777790fbc5dc9842b814f0cb46423bf1cd5bb484b1624eccd6013a4c
https://github.com/python/cpython/pull/146400/files#diff-dfb52509777790fbc5dc9842b814f0cb46423bf1cd5bb484b1624eccd6013a4c
Lib/test/test_float.pyhttps://github.com/python/cpython/pull/146400/files#diff-101957dfb9ef9c3a34ad39d7ad89a2d7d69290980553f9425acda0d5633ad453
View file https://github.com/python/cpython/blob/3a0136e1809d9838bd5c90ba2477490a0f640fe8/Lib/test/test_float.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/146400/{{ revealButtonHref }}
https://github.com/python/cpython/pull/146400/files#diff-101957dfb9ef9c3a34ad39d7ad89a2d7d69290980553f9425acda0d5633ad453
https://github.com/python/cpython/pull/146400/files#diff-101957dfb9ef9c3a34ad39d7ad89a2d7d69290980553f9425acda0d5633ad453
Lib/test/test_funcattrs.pyhttps://github.com/python/cpython/pull/146400/files#diff-b0b3aee6d1aaec7c1acb05ecf93a2e6c8b843ac8fa376b4197c4f2f5cb5c8f35
View file https://github.com/python/cpython/blob/3a0136e1809d9838bd5c90ba2477490a0f640fe8/Lib/test/test_funcattrs.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/146400/{{ revealButtonHref }}
https://github.com/python/cpython/pull/146400/files#diff-b0b3aee6d1aaec7c1acb05ecf93a2e6c8b843ac8fa376b4197c4f2f5cb5c8f35
https://github.com/python/cpython/pull/146400/files#diff-b0b3aee6d1aaec7c1acb05ecf93a2e6c8b843ac8fa376b4197c4f2f5cb5c8f35
Please reload this pagehttps://github.com/python/cpython/pull/146400/files
https://github.com/python/cpython/pull/146400/files#diff-b0b3aee6d1aaec7c1acb05ecf93a2e6c8b843ac8fa376b4197c4f2f5cb5c8f35
Misc/NEWS.d/next/Core_and_Builtins/2026-03-24-17-29-19.gh-issue-145633.RtktKR.rsthttps://github.com/python/cpython/pull/146400/files#diff-2435fac178f212dee089cc3e41f1303343d89ed11640bcf6e744f1d3d5137551
View file https://github.com/python/cpython/blob/3a0136e1809d9838bd5c90ba2477490a0f640fe8/Misc/NEWS.d/next/Core_and_Builtins/2026-03-24-17-29-19.gh-issue-145633.RtktKR.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/146400/{{ revealButtonHref }}
Objects/floatobject.chttps://github.com/python/cpython/pull/146400/files#diff-3651445c9f72daa1fdf6577b10902d4ceee89aa99295e01fcab07b58767a935f
View file https://github.com/python/cpython/blob/3a0136e1809d9838bd5c90ba2477490a0f640fe8/Objects/floatobject.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/146400/{{ revealButtonHref }}
https://github.com/python/cpython/pull/146400/files#diff-3651445c9f72daa1fdf6577b10902d4ceee89aa99295e01fcab07b58767a935f
https://github.com/python/cpython/pull/146400/files#diff-3651445c9f72daa1fdf6577b10902d4ceee89aa99295e01fcab07b58767a935f
Please reload this pagehttps://github.com/python/cpython/pull/146400/files
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.