Alexander Belopolsky <belopol...@users.sourceforge.net> added the comment:
Raymond, conversion to Fraction does not really help in my use case of supporting timedelta * Decimal by duck typing. I can think of many other use cases where it will be helpful to accept either float or decimal without loss of precision. Is there an alternative way to achieve that which does not require importing the decimal module first? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8947> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com