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 steven.daprano
Recipients akira,, gladman, mark.dickinson, scoder, steven.daprano, vstinner
Date 2014-09-24.12:13:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
If we are considering adding a new gcd elsewhere (say, in the math module), then it should accept any arbitrary number of arguments, not just two. (At least one argument though.)

Also, Mathematica supports the GCD of rational numbers, not just integers. Should we do the same?

Would it be too confusing to have fractions.gcd and fractions.Fraction.gcd both exist but behave differently? I fear so.

I wish we had a standard module for pure Python implementations...
Date User Action Args
2014-09-24 12:13:45steven.dapranosetrecipients: + steven.daprano, mark.dickinson, scoder, vstinner, akira, gladman,
2014-09-24 12:13:45steven.dapranosetmessageid: <>
2014-09-24 12:13:45steven.dapranolinkissue22477 messages
2014-09-24 12:13:45steven.dapranocreate