[Python-ideas] Boolean parameters guidelines
Random832
random832 at fastmail.com
Wed May 11 17:27:34 EDT 2016
On Wed, May 11, 2016, at 16:36, Ian Kelly wrote:
> >>> sleep(timedelta(100))
>
> It would be awesome if that actually worked.
Well, the recent __fspath__ proposal suggests a solution: How about a
method for timedelta-like objects to return a float number of seconds?
May also want a way to have datetime-like objects return a timestamp for
e.g. utime.
More information about the Python-ideas
mailing list