Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment: I afraid this can slow down the Fraction constructor. ---------- _______________________________________ Python tracker <report at bugs.python.org> <https://bugs.python.org/issue37836> _______________________________________