| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:d21235e9-570a-8bee-473f-af7b75226f95 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 95A2:192303:75F9D:99218:696AF95B |
| html-safe-nonce | 32a944e0ca6a0db7479ff898a6c0879be1c40c8b2b3c3ea4e5b93f0f43f7a36d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NUEyOjE5MjMwMzo3NUY5RDo5OTIxODo2OTZBRjk1QiIsInZpc2l0b3JfaWQiOiI1Mjg3MTYxNDI4MTIyOTkwOTM5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 27c418e26e62a7f1d884da1f5f4459c9547f6bfbc6251e5b71fbcffe605d6c7c |
| hovercard-subject-tag | pull_request:655963868 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/26422/files |
| twitter:image | https://avatars.githubusercontent.com/u/2155800?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/2155800?s=400&v=4 |
| og:image:alt | https://bugs.python.org/issue44258 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/26422/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F26422%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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%2F26422%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 |
| Reload | https://github.com/python/cpython/pull/26422/files |
| Reload | https://github.com/python/cpython/pull/26422/files |
| Reload | https://github.com/python/cpython/pull/26422/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/26422/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 page | https://github.com/python/cpython/pull/26422/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 service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| mdickinson | https://github.com/mdickinson |
| python:main | https://github.com/python/cpython/tree/main |
|
Conversation
15
| https://github.com/python/cpython/pull/26422 |
|
Commits
11
| https://github.com/python/cpython/pull/26422/commits |
|
Checks
0
| https://github.com/python/cpython/pull/26422/checks |
|
Files changed
| https://github.com/python/cpython/pull/26422/files |
| Please reload this page | https://github.com/python/cpython/pull/26422/files |
|
bpo-44258: support PEP 515 for Fraction's initialization from string
| https://github.com/python/cpython/pull/26422/files#top |
|
Show all changes
11 commits
| https://github.com/python/cpython/pull/26422/files |
|
aa8249a
bpo-44258: support PEP 515 for Fraction's initialization from string
skirpichev May 28, 2021
| https://github.com/python/cpython/pull/26422/commits/aa8249a2e1bf5d41993f018f430bcb61b9f4f06b |
|
8c96355
regexps's version
skirpichev May 28, 2021
| https://github.com/python/cpython/pull/26422/commits/8c96355b0916b227434efa3c333ac1b483df9f7b |
|
8c62c64
Merge branch 'main' into fix-44258
skirpichev May 29, 2021
| https://github.com/python/cpython/pull/26422/commits/8c62c64a67fec9b97f1f2b548a4ed5fbc2ae423d |
|
38b16a9
A different regexps version, which doesn't suffer from catastrophic b…
skirpichev May 29, 2021
| https://github.com/python/cpython/pull/26422/commits/38b16a9127c257b4823abd258c1448c871f944e5 |
|
b131e51
Merge branch 'main' into fix-44258
skirpichev May 30, 2021
| https://github.com/python/cpython/pull/26422/commits/b131e51c80ea0ee32bca79418bd137f553130ac1 |
|
db9652e
revert denom -> den
skirpichev May 30, 2021
| https://github.com/python/cpython/pull/26422/commits/db9652ebe3a1a2971d0a90c3e3f2193822a8f228 |
|
6336aef
strip "_" from the decimal str, add few tests
skirpichev May 30, 2021
| https://github.com/python/cpython/pull/26422/commits/6336aef9287d3c07adce3cf32f052006cfb60f7a |
|
b11ef1e
drop redundant tests
skirpichev May 30, 2021
| https://github.com/python/cpython/pull/26422/commits/b11ef1e005877a17aac754c4f306bd956f6d79fe |
|
5f7e32a
Add versionchanged & whatsnew entry
skirpichev May 30, 2021
| https://github.com/python/cpython/pull/26422/commits/5f7e32aa1ebacbb8c7a768ef87466a532db7b8e3 |
|
983b67d
Amend Fraction constructor docs
skirpichev May 30, 2021
| https://github.com/python/cpython/pull/26422/commits/983b67d11f1e427e4d426a32096b33fa353962ba |
|
076b396
Change .. versionchanged:...
skirpichev May 31, 2021
| https://github.com/python/cpython/pull/26422/commits/076b396594fe887c701c48382f951b6772dfa415 |
|
Clear filters
| https://github.com/python/cpython/pull/26422/files |
| Please reload this page | https://github.com/python/cpython/pull/26422/files |
| Please reload this page | https://github.com/python/cpython/pull/26422/files |
|
fractions.rst
| https://github.com/python/cpython/pull/26422/files#diff-7bc36c892d1141d33370fdf0d46a38b571b628151bf8cf51d0c150dc363bd2a5 |
|
3.11.rst
| https://github.com/python/cpython/pull/26422/files#diff-78f24041d66ab8ed2ae1aee94bcd42396d27af833cb96a3c506294c6d6dce82d |
|
fractions.py
| https://github.com/python/cpython/pull/26422/files#diff-f561eb7eb97f832b2698837f52c2c2cf23bdb0b31c69cf1f6aaa560280993316 |
|
test_fractions.py
| https://github.com/python/cpython/pull/26422/files#diff-39381000227588e760871a319e6b5f8e88fc03643b03a94acd2e94b942135e9b |
|
2021-05-28-09-43-33.bpo-44258.nh5F7R.rst
| https://github.com/python/cpython/pull/26422/files#diff-422286beba438f2e01e410888097f4f7ec0555fcead4bf8b1ff17839ec0bfbe6 |
| Doc/library/fractions.rst | https://github.com/python/cpython/pull/26422/files#diff-7bc36c892d1141d33370fdf0d46a38b571b628151bf8cf51d0c150dc363bd2a5 |
|
View file
| https://github.com/python/cpython/blob/076b396594fe887c701c48382f951b6772dfa415/Doc/library/fractions.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/26422/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/26422/files#diff-7bc36c892d1141d33370fdf0d46a38b571b628151bf8cf51d0c150dc363bd2a5 |
|
| https://github.com/python/cpython/pull/26422/files#diff-7bc36c892d1141d33370fdf0d46a38b571b628151bf8cf51d0c150dc363bd2a5 |
|
| https://github.com/python/cpython/pull/26422/files#diff-7bc36c892d1141d33370fdf0d46a38b571b628151bf8cf51d0c150dc363bd2a5 |
|
| https://github.com/python/cpython/pull/26422/files#diff-7bc36c892d1141d33370fdf0d46a38b571b628151bf8cf51d0c150dc363bd2a5 |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L114 |
| Doc/whatsnew/3.11.rst | https://github.com/python/cpython/pull/26422/files#diff-78f24041d66ab8ed2ae1aee94bcd42396d27af833cb96a3c506294c6d6dce82d |
|
View file
| https://github.com/python/cpython/blob/076b396594fe887c701c48382f951b6772dfa415/Doc/whatsnew/3.11.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/26422/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/26422/files#diff-78f24041d66ab8ed2ae1aee94bcd42396d27af833cb96a3c506294c6d6dce82d |
|
| https://github.com/python/cpython/pull/26422/files#diff-78f24041d66ab8ed2ae1aee94bcd42396d27af833cb96a3c506294c6d6dce82d |
| Lib/fractions.py | https://github.com/python/cpython/pull/26422/files#diff-f561eb7eb97f832b2698837f52c2c2cf23bdb0b31c69cf1f6aaa560280993316 |
|
View file
| https://github.com/python/cpython/blob/076b396594fe887c701c48382f951b6772dfa415/Lib/fractions.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/26422/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/26422/files#diff-f561eb7eb97f832b2698837f52c2c2cf23bdb0b31c69cf1f6aaa560280993316 |
|
| https://github.com/python/cpython/pull/26422/files#diff-f561eb7eb97f832b2698837f52c2c2cf23bdb0b31c69cf1f6aaa560280993316 |
|
| https://github.com/python/cpython/pull/26422/files#diff-f561eb7eb97f832b2698837f52c2c2cf23bdb0b31c69cf1f6aaa560280993316 |
|
| https://github.com/python/cpython/pull/26422/files#diff-f561eb7eb97f832b2698837f52c2c2cf23bdb0b31c69cf1f6aaa560280993316 |
| Lib/test/test_fractions.py | https://github.com/python/cpython/pull/26422/files#diff-39381000227588e760871a319e6b5f8e88fc03643b03a94acd2e94b942135e9b |
|
View file
| https://github.com/python/cpython/blob/076b396594fe887c701c48382f951b6772dfa415/Lib/test/test_fractions.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/26422/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/26422/files#diff-39381000227588e760871a319e6b5f8e88fc03643b03a94acd2e94b942135e9b |
|
| https://github.com/python/cpython/pull/26422/files#diff-39381000227588e760871a319e6b5f8e88fc03643b03a94acd2e94b942135e9b |
|
| https://github.com/python/cpython/pull/26422/files#diff-39381000227588e760871a319e6b5f8e88fc03643b03a94acd2e94b942135e9b |
|
| https://github.com/python/cpython/pull/26422/files#diff-39381000227588e760871a319e6b5f8e88fc03643b03a94acd2e94b942135e9b |
| Misc/NEWS.d/next/Library/2021-05-28-09-43-33.bpo-44258.nh5F7R.rst | https://github.com/python/cpython/pull/26422/files#diff-422286beba438f2e01e410888097f4f7ec0555fcead4bf8b1ff17839ec0bfbe6 |
|
View file
| https://github.com/python/cpython/blob/076b396594fe887c701c48382f951b6772dfa415/Misc/NEWS.d/next/Library/2021-05-28-09-43-33.bpo-44258.nh5F7R.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/26422/{{ revealButtonHref }} |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |