On 23/09/2014 18:20, Ian Kelly wrote:
> On Tue, Sep 23, 2014 at 10:38 AM, Wolfgang Maier
> <wolfgang.ma...@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 ?
> 
> +1
> 
> 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.

Since the gcd is only used once in fractions anyway, it would be easy to
change gcd here with very little impact on the performance of the
fractions module (if necessary a local version could be added to work
within fractions as it does now).

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to