René's URL Explorer Experiment


Title: bpo-37884: Optimize Fraction() and statistics.mean() by serhiy-storchaka · Pull Request #15329 · python/cpython · GitHub

Open Graph Title: bpo-37884: Optimize Fraction() and statistics.mean() by serhiy-storchaka · Pull Request #15329 · python/cpython

X Title: bpo-37884: Optimize Fraction() and statistics.mean() by serhiy-storchaka · Pull Request #15329 · python/cpython

Description: https://bugs.python.org/issue37884

Open Graph Description: https://bugs.python.org/issue37884

X Description: https://bugs.python.org/issue37884

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:cb55d0e9-b1a0-c831-b617-ce0b2ed5bdf2
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id85A4:2BBD61:1CDF68F:264222F:696AF9FD
html-safe-nonce4e35d2502ffc644f209d0c14b010bc86badccc5e64cfed07d3ff0f421bf6603f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NUE0OjJCQkQ2MToxQ0RGNjhGOjI2NDIyMkY6Njk2QUY5RkQiLCJ2aXNpdG9yX2lkIjoiODQ5MTk5ODk2Mjc3ODgzMTM1NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacc13312b52ee5ceeb54d0bc6e7a0bcc03906f71c7c62119ae540feee7060b0f17
hovercard-subject-tagpull_request:308459608
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/15329/files
twitter:imagehttps://avatars.githubusercontent.com/u/3659035?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/3659035?s=400&v=4
og:image:althttps://bugs.python.org/issue37884
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d
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
release82560a55c6b2054555076f46e683151ee28a19bc
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/15329/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F15329%2Ffiles
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%2F15329%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/15329/files
Reloadhttps://github.com/python/cpython/pull/15329/files
Reloadhttps://github.com/python/cpython/pull/15329/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/15329/files
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/15329/files
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
serhiy-storchakahttps://github.com/serhiy-storchaka
python:masterhttps://github.com/python/cpython/tree/master
serhiy-storchaka:math-as_integer_ratio2https://github.com/serhiy-storchaka/cpython/tree/math-as_integer_ratio2
Conversation 20 https://github.com/python/cpython/pull/15329
Commits 5 https://github.com/python/cpython/pull/15329/commits
Checks 0 https://github.com/python/cpython/pull/15329/checks
Files changed https://github.com/python/cpython/pull/15329/files
Please reload this pagehttps://github.com/python/cpython/pull/15329/files
bpo-37884: Optimize Fraction() and statistics.mean() https://github.com/python/cpython/pull/15329/files#top
Show all changes 5 commits https://github.com/python/cpython/pull/15329/files
482b1f9 bpo-37822: Add math.as_integer_ratio(). serhiy-storchaka Aug 11, 2019 https://github.com/python/cpython/pull/15329/commits/482b1f983e466f2834c739c6247ff555f5b5cfeb
a587d7d Better TypeError message. serhiy-storchaka Aug 11, 2019 https://github.com/python/cpython/pull/15329/commits/a587d7d890f137f196ea2de650d324889d5eac5d
55232b3 Merge branch 'master' into math-as_integer_ratio serhiy-storchaka Aug 19, 2019 https://github.com/python/cpython/pull/15329/commits/55232b3afde20b2fca3c812ca24641a1a1b15fd5
e658d19 Make it a private helper math._as_integer_ratio(). serhiy-storchaka Aug 19, 2019 https://github.com/python/cpython/pull/15329/commits/e658d19083b3d5abfbbe536e3227e3781883e22a
86f9f20 Optimize. serhiy-storchaka Aug 20, 2019 https://github.com/python/cpython/pull/15329/commits/86f9f20a4b6ea2219475e9564be28ba7dc1ce933
Clear filters https://github.com/python/cpython/pull/15329/files
Please reload this pagehttps://github.com/python/cpython/pull/15329/files
Please reload this pagehttps://github.com/python/cpython/pull/15329/files
fractions.py https://github.com/python/cpython/pull/15329/files#diff-f561eb7eb97f832b2698837f52c2c2cf23bdb0b31c69cf1f6aaa560280993316
statistics.py https://github.com/python/cpython/pull/15329/files#diff-688235e5e23f6bc4ed2cbc487b0ec9adf0334f0ab31b8a115c457c82bf011b0a
test_math.py https://github.com/python/cpython/pull/15329/files#diff-a39b1e44e20048f5b8207fee83df00a2541a7f02716113e6243c33165e628cd5
mathmodule.c.h https://github.com/python/cpython/pull/15329/files#diff-be28b04d80a581f81971deb34bb269241521f2aae3517b952fcfeba9f073bbf1
mathmodule.c https://github.com/python/cpython/pull/15329/files#diff-5b1186dfcc44670529aa53cb728a1c005f58f38324c24787a49f22cec36841c7
Lib/fractions.pyhttps://github.com/python/cpython/pull/15329/files#diff-f561eb7eb97f832b2698837f52c2c2cf23bdb0b31c69cf1f6aaa560280993316
View file https://github.com/serhiy-storchaka/cpython/blob/86f9f20a4b6ea2219475e9564be28ba7dc1ce933/Lib/fractions.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/15329/{{ revealButtonHref }}
https://github.com/python/cpython/pull/15329/files#diff-f561eb7eb97f832b2698837f52c2c2cf23bdb0b31c69cf1f6aaa560280993316
https://github.com/python/cpython/pull/15329/files#diff-f561eb7eb97f832b2698837f52c2c2cf23bdb0b31c69cf1f6aaa560280993316
https://github.com/python/cpython/pull/15329/files#diff-f561eb7eb97f832b2698837f52c2c2cf23bdb0b31c69cf1f6aaa560280993316
https://github.com/python/cpython/pull/15329/files#diff-f561eb7eb97f832b2698837f52c2c2cf23bdb0b31c69cf1f6aaa560280993316
aeroshttps://github.com/aeros
Aug 19, 2019https://github.com/python/cpython/pull/15329/files#r315062197
Please reload this pagehttps://github.com/python/cpython/pull/15329/files
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://docs.python.org/3.9/library/stdtypes.html#numeric-types-int-float-complexhttps://docs.python.org/3.9/library/stdtypes.html#numeric-types-int-float-complex
Please reload this pagehttps://github.com/python/cpython/pull/15329/files
serhiy-storchakahttps://github.com/serhiy-storchaka
Aug 19, 2019https://github.com/python/cpython/pull/15329/files#r315386191
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/15329/files
aeroshttps://github.com/aeros
Aug 19, 2019https://github.com/python/cpython/pull/15329/files#r315395034
Please reload this pagehttps://github.com/python/cpython/pull/15329/files
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/15329/files
serhiy-storchakahttps://github.com/serhiy-storchaka
Aug 19, 2019https://github.com/python/cpython/pull/15329/files#r315424218
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/15329/files
aeroshttps://github.com/aeros
Aug 19, 2019https://github.com/python/cpython/pull/15329/files#r315429576
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/15329/files
https://github.com/python/cpython/pull/15329/files#diff-f561eb7eb97f832b2698837f52c2c2cf23bdb0b31c69cf1f6aaa560280993316
Lib/statistics.pyhttps://github.com/python/cpython/pull/15329/files#diff-688235e5e23f6bc4ed2cbc487b0ec9adf0334f0ab31b8a115c457c82bf011b0a
View file https://github.com/serhiy-storchaka/cpython/blob/86f9f20a4b6ea2219475e9564be28ba7dc1ce933/Lib/statistics.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/15329/{{ revealButtonHref }}
https://github.com/python/cpython/pull/15329/files#diff-688235e5e23f6bc4ed2cbc487b0ec9adf0334f0ab31b8a115c457c82bf011b0a
https://github.com/python/cpython/pull/15329/files#diff-688235e5e23f6bc4ed2cbc487b0ec9adf0334f0ab31b8a115c457c82bf011b0a
Lib/test/test_math.pyhttps://github.com/python/cpython/pull/15329/files#diff-a39b1e44e20048f5b8207fee83df00a2541a7f02716113e6243c33165e628cd5
View file https://github.com/serhiy-storchaka/cpython/blob/86f9f20a4b6ea2219475e9564be28ba7dc1ce933/Lib/test/test_math.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/15329/{{ revealButtonHref }}
https://github.com/python/cpython/pull/15329/files#diff-a39b1e44e20048f5b8207fee83df00a2541a7f02716113e6243c33165e628cd5
https://github.com/python/cpython/pull/15329/files#diff-a39b1e44e20048f5b8207fee83df00a2541a7f02716113e6243c33165e628cd5
https://github.com/python/cpython/pull/15329/files#diff-a39b1e44e20048f5b8207fee83df00a2541a7f02716113e6243c33165e628cd5
https://github.com/python/cpython/pull/15329/files#diff-a39b1e44e20048f5b8207fee83df00a2541a7f02716113e6243c33165e628cd5
Modules/clinic/mathmodule.c.hhttps://github.com/python/cpython/pull/15329/files#diff-be28b04d80a581f81971deb34bb269241521f2aae3517b952fcfeba9f073bbf1
View file https://github.com/serhiy-storchaka/cpython/blob/86f9f20a4b6ea2219475e9564be28ba7dc1ce933/Modules/clinic/mathmodule.c.h
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://github.com/python/cpython/pull/15329/files
Modules/mathmodule.chttps://github.com/python/cpython/pull/15329/files#diff-5b1186dfcc44670529aa53cb728a1c005f58f38324c24787a49f22cec36841c7
View file https://github.com/serhiy-storchaka/cpython/blob/86f9f20a4b6ea2219475e9564be28ba7dc1ce933/Modules/mathmodule.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/15329/{{ revealButtonHref }}
https://github.com/python/cpython/pull/15329/files#diff-5b1186dfcc44670529aa53cb728a1c005f58f38324c24787a49f22cec36841c7
aeroshttps://github.com/aeros
Aug 19, 2019https://github.com/python/cpython/pull/15329/files#r315064763
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/15329/files
serhiy-storchakahttps://github.com/serhiy-storchaka
Aug 19, 2019https://github.com/python/cpython/pull/15329/files#r315386720
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/15329/files
aeroshttps://github.com/aeros
Aug 19, 2019https://github.com/python/cpython/pull/15329/files#r315397263
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
suggestionhttps://github.com/python/cpython/pull/15212#discussion_r312749680
Please reload this pagehttps://github.com/python/cpython/pull/15329/files
jdemeyerhttps://github.com/jdemeyer
Aug 19, 2019https://github.com/python/cpython/pull/15329/files#r315398455
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/15329/files
aeroshttps://github.com/aeros
Aug 19, 2019https://github.com/python/cpython/pull/15329/files#r315415891
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/15329/files
serhiy-storchakahttps://github.com/serhiy-storchaka
Aug 19, 2019https://github.com/python/cpython/pull/15329/files#r315425093
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/15329/files
aeroshttps://github.com/aeros
Aug 19, 2019https://github.com/python/cpython/pull/15329/files#r315430197
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/15329/files
aeroshttps://github.com/aeros
Aug 19, 2019https://github.com/python/cpython/pull/15329/files#r315414117
Please reload this pagehttps://github.com/python/cpython/pull/15329/files
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/15329/files
serhiy-storchakahttps://github.com/serhiy-storchaka
Aug 19, 2019https://github.com/python/cpython/pull/15329/files#r315427135
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/15329/files
aeroshttps://github.com/aeros
Aug 19, 2019https://github.com/python/cpython/pull/15329/files#r315432595
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/15329/files
https://github.com/python/cpython/pull/15329/files#diff-5b1186dfcc44670529aa53cb728a1c005f58f38324c24787a49f22cec36841c7
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.