GCD in Fractions

Ian Kelly ian.g.kelly at gmail.com
Tue Sep 23 19:20:43 CEST 2014

On Tue, Sep 23, 2014 at 10:38 AM, Wolfgang Maier
<wolfgang.maier at biologie.uni-freiburg.de> wrote:
> Maybe fractions.gcd could be renamed, but be wrapped or reimplemented
> correctly somewhere else in the stdlib or even in fractions ?


I don't think the math module as suggested upthread is the right
place, as that module houses wrappers of C functions that operate on
floats. I'm also not sure where is better, though. Maybe the
reimplemented version should just keep the name fractions.gcd.

More information about the Python-list mailing list