[issue21712] fractions.gcd failure

Tim Peters report at bugs.python.org
Wed Jun 11 04:43:36 CEST 2014


Tim Peters added the comment:

The gcd function is documented as taking two integer arguments:

"Return the greatest common divisor of the integers a and b."

I'm -0 on generalizing it, and also -0 on burning cycles to enforce the restriction to integer arguments.  It's just silly ;-)

----------
nosy: +tim.peters

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21712>
_______________________________________


More information about the Python-bugs-list mailing list