Skip to content
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: Fix regression introduced when fractions.gcd was removed #18309

Open
wants to merge 1 commit into
base: master
from

Conversation

@mdickinson
Copy link
Member

mdickinson commented Feb 2, 2020

This PR is a quick fix for the breakage introduced in #18021, which removed the _gcd function while the core code was still using it.

Possibly the behaviour of Fraction for non-integers should be different, but I think it makes sense to fix the breakage immediately and then discuss whether we want to make behavioural changes.

No news entry needed, because the broken code hasn't make it into any release or prerelease.

https://bugs.python.org/issue39350

@hroncok

This comment has been minimized.

Copy link
Contributor

hroncok commented Feb 2, 2020

No news entry needed, because the broken code hasn't make it into any release or prerelease.

The broken code made it to 3.9.0a3. That's how I have discovered the regression.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.