This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients belopolsky, gladman, mark.dickinson, pitrou, scoder, serhiy.storchaka, vstinner, wolma
Date 2014-10-05.10:26:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <20181157.cUhKqNj91T@raxxla>
In-reply-to <1412501400.53.0.640443538813.issue22486@psf.upfronthosting.co.za>
Content
I suggest just add deprecation warning in fractions.gcd(). Or at least add 
notes which recommend math.gcd() in the docstring and the documentation of 
fractions.gcd().

> One other suggestion: I think math.gcd should work with arbitrary Python
> objects implementing __index__, and not just with instances of int.

Agree.
History
Date User Action Args
2014-10-05 10:26:35serhiy.storchakasetrecipients: + serhiy.storchaka, mark.dickinson, belopolsky, pitrou, scoder, vstinner, wolma, gladman
2014-10-05 10:26:35serhiy.storchakalinkissue22486 messages
2014-10-05 10:26:35serhiy.storchakacreate