[issue35707] time.sleep() should support objects with __float__

Jeroen Demeyer report at bugs.python.org
Mon Jan 21 05:33:01 EST 2019


Jeroen Demeyer <J.Demeyer at UGent.be> added the comment:

To avoid code duplication, it's tempting to merge _PyTime_FromObject and _PyTime_ObjectToDenominator

These two functions almost do the same, but not quite.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35707>
_______________________________________


More information about the Python-bugs-list mailing list