Stefan Krah added the comment: Here's a patch. The Python and doc parts are from Mark (#8947).
I did not optimize the normalization yet, in C the code is less clean and there were some corner cases where the gcd is actually faster. ---------- keywords: +patch Added file: http://bugs.python.org/file41438/issue25928.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25928> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com