-
-
Notifications
You must be signed in to change notification settings - Fork 31k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bpo-39350: Remove deprecated fractions.gcd() #18021
Conversation
Lib/fractions.py
Outdated
@@ -13,28 +13,6 @@ | |||
__all__ = ['Fraction', 'gcd'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
__all__ = ['Fraction', 'gcd'] | |
__all__ = ['Fraction'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, good catch! fixed. I also rebased my PR to fix a conflict.
Remove fractions.gcd() function, deprecated since Python 3.5 (bpo-22486): use math.gcd() instead.
numpy fails to build with Python 3.9.0a3.
This seems like a CPython error. This PR removes _gcd, but it is still called in: Line 164 in 58a4054
|
Remove fractions.gcd() function, deprecated since Python 3.5 (bpo-22486): use math.gcd() instead.
Remove fractions.gcd() function, deprecated since Python 3.5
(bpo-22486): use math.gcd() instead.
https://bugs.python.org/issue39350