[issue22486] Add math.gcd()

Stefan Behnel report at bugs.python.org
Thu Sep 25 14:29:40 CEST 2014


Stefan Behnel added the comment:

The problem is that this changes the behaviour of fractions.gcd() w.r.t. negative numbers.  It's a public function, so we should keep it for backwards compatibility reasons, *especially* when adding a new function in the math module.

----------
components:  -Extension Modules
type: enhancement -> performance

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


More information about the Python-bugs-list mailing list