| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:8a78faa1-9d71-699a-464b-7d36648affd1 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A6C2:FC316:189B0A8:2098D67:696AEB01 |
| html-safe-nonce | 37f90a33d065db30b591e207c2a6c4d6e4f073cfb23c9e287db6723b6a9f9292 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNkMyOkZDMzE2OjE4OUIwQTg6MjA5OEQ2Nzo2OTZBRUIwMSIsInZpc2l0b3JfaWQiOiIzMDIzNzY5MTkyNzYzMTU3MjQ5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | a791c1fb0c4b2b8c6751ad0f234e6b22c7e20667298e9089d1cb050be7490e21 |
| hovercard-subject-tag | pull_request:308393947 |
| 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 | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/15327/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/b53b9a25a752ead0646c5db5663b7e5012e5dbbea66d154a5d4e7320c948fe6f/python/cpython/pull/15327 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b53b9a25a752ead0646c5db5663b7e5012e5dbbea66d154a5d4e7320c948fe6f/python/cpython/pull/15327 |
| og:image:alt | When constructing instances of fractions.Fraction, the given numerator
and denominator may now be any objects with an as_integer_ratio() method.
CC @serhiy-storchaka , @rhettinger
https://bugs.py... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jdemeyer |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| 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 |
| disable-turbo | false |
| 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/15327#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F15327 |
| 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%2F15327 |
|
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 |
| Reload | https://github.com/python/cpython/pull/15327 |
| Reload | https://github.com/python/cpython/pull/15327 |
| Reload | https://github.com/python/cpython/pull/15327 |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/15327 |
|
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/15327 |
|
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 |
| Jump to bottom | https://github.com/python/cpython/pull/15327#issue-comment-box |
| jdemeyer | https://github.com/jdemeyer |
| python:main | https://github.com/python/cpython/tree/main |
| jdemeyer:fraction_use_as_integer_ratio | https://github.com/jdemeyer/cpython/tree/fraction_use_as_integer_ratio |
|
bpo-37836: support .as_integer_ratio() in Fraction
| https://github.com/python/cpython/pull/15327#top |
| jdemeyer | https://github.com/jdemeyer |
| python:main | https://github.com/python/cpython/tree/main |
| jdemeyer:fraction_use_as_integer_ratio | https://github.com/jdemeyer/cpython/tree/fraction_use_as_integer_ratio |
|
Conversation
27
| https://github.com/python/cpython/pull/15327 |
|
Commits
4
| https://github.com/python/cpython/pull/15327/commits |
|
Checks
0
| https://github.com/python/cpython/pull/15327/checks |
|
Files changed
| https://github.com/python/cpython/pull/15327/files |
| Please reload this page | https://github.com/python/cpython/pull/15327 |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
|
| https://github.com/jdemeyer |
| jdemeyer | https://github.com/jdemeyer |
| Aug 18, 2019 | https://github.com/python/cpython/pull/15327#issue-482037383 |
| Please reload this page | https://github.com/python/cpython/pull/15327 |
| @serhiy-storchaka | https://github.com/serhiy-storchaka |
| @rhettinger | https://github.com/rhettinger |
| https://bugs.python.org/issue37836 | https://bugs.python.org/issue37836 |
| Please reload this page | https://github.com/python/cpython/pull/15327 |
|
| https://github.com/jdemeyer |
| bpo-37836: support .as_integer_ratio() in Fraction | https://github.com/python/cpython/pull/15327/commits/2fe964f369943aff5bb62c73836ca61707c2d4ff |
| 2fe964f | https://github.com/python/cpython/pull/15327/commits/2fe964f369943aff5bb62c73836ca61707c2d4ff |
| https://github.com/the-knights-who-say-ni |
| the-knights-who-say-ni | https://github.com/the-knights-who-say-ni |
|
CLA signed
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22 |
| Aug 18, 2019 | https://github.com/python/cpython/pull/15327#event-2564669700 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
awaiting review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22 |
| Aug 18, 2019 | https://github.com/python/cpython/pull/15327#event-2564669707 |
|
| https://github.com/jdemeyer |
| bpo-37836: optimize creating Fraction from integers | https://github.com/python/cpython/pull/15327/commits/f1b1e8cf06c9e1cd6607e8ec94fd3c758f648928 |
| f1b1e8c | https://github.com/python/cpython/pull/15327/commits/f1b1e8cf06c9e1cd6607e8ec94fd3c758f648928 |
| https://github.com/jdemeyer |
| jdemeyer | https://github.com/jdemeyer |
|
Aug 19, 2019
| https://github.com/python/cpython/pull/15327#ref-pullrequest-482040325 |
|
bpo-37836: document as_integer_ratio() in the data model
#15328
| https://github.com/python/cpython/pull/15328 |
| https://github.com/aeros |
| aeros | https://github.com/aeros |
|
type-feature
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-feature |
| Aug 22, 2019 | https://github.com/python/cpython/pull/15327#event-2574989827 |
| https://github.com/aeros |
| aeros | https://github.com/aeros |
|
Aug 22, 2019
| https://github.com/python/cpython/pull/15327#pullrequestreview-278161310 |
|
View reviewed changes
| https://github.com/python/cpython/pull/15327/files/f1b1e8cf06c9e1cd6607e8ec94fd3c758f648928 |
| Lib/fractions.py | https://github.com/python/cpython/pull/15327/files/f1b1e8cf06c9e1cd6607e8ec94fd3c758f648928#diff-f561eb7eb97f832b2698837f52c2c2cf23bdb0b31c69cf1f6aaa560280993316 |
| Please reload this page | https://github.com/python/cpython/pull/15327 |
| https://github.com/epicfaace |
| epicfaace | https://github.com/epicfaace |
|
Aug 23, 2019
| https://github.com/python/cpython/pull/15327#pullrequestreview-279107420 |
|
View reviewed changes
| https://github.com/python/cpython/pull/15327/files/f1b1e8cf06c9e1cd6607e8ec94fd3c758f648928 |
| Misc/NEWS.d/next/Library/2019-08-18-22-29-59.bpo-37836.BbvvFm.rst | https://github.com/python/cpython/pull/15327/files/f1b1e8cf06c9e1cd6607e8ec94fd3c758f648928#diff-f097a92a8b5cec4ee7bf739385e533d02e36824b8ea74b06a35ec757ffd6a37c |
| Please reload this page | https://github.com/python/cpython/pull/15327 |
| Lib/fractions.py | https://github.com/python/cpython/pull/15327/files/f1b1e8cf06c9e1cd6607e8ec94fd3c758f648928#diff-f561eb7eb97f832b2698837f52c2c2cf23bdb0b31c69cf1f6aaa560280993316 |
| Please reload this page | https://github.com/python/cpython/pull/15327 |
| Lib/fractions.py | https://github.com/python/cpython/pull/15327/files/f1b1e8cf06c9e1cd6607e8ec94fd3c758f648928#diff-f561eb7eb97f832b2698837f52c2c2cf23bdb0b31c69cf1f6aaa560280993316 |
| Please reload this page | https://github.com/python/cpython/pull/15327 |
| Lib/fractions.py | https://github.com/python/cpython/pull/15327/files/f1b1e8cf06c9e1cd6607e8ec94fd3c758f648928#diff-f561eb7eb97f832b2698837f52c2c2cf23bdb0b31c69cf1f6aaa560280993316 |
| Please reload this page | https://github.com/python/cpython/pull/15327 |
| Lib/fractions.py | https://github.com/python/cpython/pull/15327/files/f1b1e8cf06c9e1cd6607e8ec94fd3c758f648928#diff-f561eb7eb97f832b2698837f52c2c2cf23bdb0b31c69cf1f6aaa560280993316 |
| Please reload this page | https://github.com/python/cpython/pull/15327 |
| Doc/library/fractions.rst | https://github.com/python/cpython/pull/15327/files/f1b1e8cf06c9e1cd6607e8ec94fd3c758f648928#diff-7bc36c892d1141d33370fdf0d46a38b571b628151bf8cf51d0c150dc363bd2a5 |
| Please reload this page | https://github.com/python/cpython/pull/15327 |
| Doc/library/fractions.rst | https://github.com/python/cpython/pull/15327/files/f1b1e8cf06c9e1cd6607e8ec94fd3c758f648928#diff-7bc36c892d1141d33370fdf0d46a38b571b628151bf8cf51d0c150dc363bd2a5 |
| Please reload this page | https://github.com/python/cpython/pull/15327 |
| Lib/test/test_fractions.py | https://github.com/python/cpython/pull/15327/files/f1b1e8cf06c9e1cd6607e8ec94fd3c758f648928#diff-39381000227588e760871a319e6b5f8e88fc03643b03a94acd2e94b942135e9b |
| Please reload this page | https://github.com/python/cpython/pull/15327 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
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 |
| Aug 23, 2019 | https://github.com/python/cpython/pull/15327#event-2580301852 |
|
| https://github.com/jdemeyer |
| bpo-37836: minor fixes | https://github.com/python/cpython/pull/15327/commits/9c7bdb5e057d990edb07031379efc7edfe19f886 |
| 9c7bdb5 | https://github.com/python/cpython/pull/15327/commits/9c7bdb5e057d990edb07031379efc7edfe19f886 |
| https://github.com/epicfaace |
| epicfaace | https://github.com/epicfaace |
|
Aug 25, 2019
| https://github.com/python/cpython/pull/15327#pullrequestreview-279342487 |
|
View reviewed changes
| https://github.com/python/cpython/pull/15327/files/9c7bdb5e057d990edb07031379efc7edfe19f886 |
| Misc/NEWS.d/next/Library/2019-08-18-22-29-59.bpo-37836.BbvvFm.rst | https://github.com/python/cpython/pull/15327/files/9c7bdb5e057d990edb07031379efc7edfe19f886#diff-f097a92a8b5cec4ee7bf739385e533d02e36824b8ea74b06a35ec757ffd6a37c |
| Please reload this page | https://github.com/python/cpython/pull/15327 |
|
| https://github.com/jdemeyer |
|
| https://github.com/epicfaace |
| bpo-37836: detail in NEWS | https://github.com/python/cpython/pull/15327/commits/d2303962827e32c201d5995d411b7c03fed1ab6f |
| d230396 | https://github.com/python/cpython/pull/15327/commits/d2303962827e32c201d5995d411b7c03fed1ab6f |
| https://github.com/rhettinger |
| rhettinger | https://github.com/rhettinger |
| Apr 20, 2022 | https://github.com/python/cpython/pull/15327#issuecomment-1104555549 |
| Please reload this page | https://github.com/python/cpython/pull/15327 |
| https://github.com/rhettinger |
| rhettinger | https://github.com/rhettinger |
| Apr 20, 2022 | https://github.com/python/cpython/pull/15327#event-6466946531 |
| https://github.com/serhiy-storchaka |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| Apr 21, 2022 | https://github.com/python/cpython/pull/15327#issuecomment-1104785074 |
| @rhettinger | https://github.com/rhettinger |
| Please reload this page | https://github.com/python/cpython/pull/15327 |
| https://github.com/jdemeyer |
| jdemeyer | https://github.com/jdemeyer |
|
Apr 21, 2022
| https://github.com/python/cpython/pull/15327#ref-issue-1199017735 |
|
Support .as_integer_ratio() in fractions.Fraction
#82017
| https://github.com/python/cpython/issues/82017 |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F15327 |
|
| https://github.com/aeros |
|
aeros
| https://github.com/aeros |
|
| https://github.com/python/cpython/pull/15327/files/9c7bdb5e057d990edb07031379efc7edfe19f886 |
|
| https://github.com/epicfaace |
|
epicfaace
| https://github.com/epicfaace |
|
| https://github.com/python/cpython/pull/15327/files/9c7bdb5e057d990edb07031379efc7edfe19f886 |
|
awaiting core review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
|
type-feature
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-feature |
| Please reload this page | https://github.com/python/cpython/pull/15327 |
|
| https://github.com/jdemeyer |
|
| https://github.com/rhettinger |
|
| https://github.com/serhiy-storchaka |
|
| https://github.com/epicfaace |
|
| https://github.com/aeros |
|
| https://github.com/the-knights-who-say-ni |
|
| https://github.com/bedevere-bot |
|
| 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 |