Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to search
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
python
/
cpython
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
35.2k
Star
74.3k
Code
Issues
5k+
Pull requests
2.5k
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
gh-101773: Optimize creation of Fractions in private methods
- #101780
#101780
Merged
mdickinson
merged 13 commits into
python:main
python/cpython:main
from
skirpichev:opt-fractions-new
skirpichev/cpython:opt-fractions-new
Copy head branch name to clipboard
Feb 27, 2023
Conversation
Commits
13
(13)
Checks
Files changed
Merged
gh-101773: Optimize creation of Fractions in private methods
#101780
mdickinson
merged 13 commits into
python:main
python/cpython:main
from
skirpichev:opt-fractions-new
skirpichev/cpython:opt-fractions-new
Copy head branch name to clipboard
Commits
Commits on Feb 10, 2023
gh-101773: Optimize creation of Fraction's in private methods
skirpichev
committed
9cc62f7
View commit details
Copy full SHA for 9cc62f7
Browse repository at this point
Merge branch 'main' into opt-fractions-new
skirpichev
authored
836d3a6
View commit details
Copy full SHA for 836d3a6
Browse repository at this point
Commits on Feb 11, 2023
Adjust signature of _from_pair() and add docstring
skirpichev
committed
3625d34
View commit details
Copy full SHA for 3625d34
Browse repository at this point
Use new helper in from_float/Decimal
skirpichev
committed
9e66b5a
View commit details
Copy full SHA for 9e66b5a
Browse repository at this point
Restore back _normalize kwarg for the Fraction.__new__()
skirpichev
committed
4324391
View commit details
Copy full SHA for 4324391
Browse repository at this point
Amend 3625d34155
skirpichev
committed
b0dca38
View commit details
Copy full SHA for b0dca38
Browse repository at this point
Commits on Feb 27, 2023
Nitpick on docstring (int's -> ints)
skirpichev
committed
3a8506d
View commit details
Copy full SHA for 3a8506d
Browse repository at this point
Revert "Restore back _normalize kwarg for the Fraction.__new__()"
Show description for 13262af
skirpichev
committed
13262af
View commit details
Copy full SHA for 13262af
Browse repository at this point
Rename: _from_pair -> _from_coprime_ints
skirpichev
committed
4e8977a
View commit details
Copy full SHA for 4e8977a
Browse repository at this point
Merge branch 'main' into opt-fractions-new
skirpichev
committed
57ac373
View commit details
Copy full SHA for 57ac373
Browse repository at this point
Update Misc/NEWS.d/next/Library/2023-02-10-11-59-13.gh-issue-101773.J_kI7y.rst
Show description for 4b4a386
skirpichev
and
eendebakpt
authored
4b4a386
View commit details
Copy full SHA for 4b4a386
Browse repository at this point
+1
skirpichev
committed
580b1be
View commit details
Copy full SHA for 580b1be
Browse repository at this point
Tweak docstring wording
mdickinson
committed
53d5e94
View commit details
Copy full SHA for 53d5e94
Browse repository at this point
You can’t perform that action at this time.