STINNER Victor <vstin...@redhat.com> added the comment:

> Not for Decimal! In fact sleep(Decimal("0.99")) is interpreted as sleep(0) 
> because __int__ is used to convert.

Oh oh. I didn't know that. It should be fixed.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue35707>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to