May 11, 2016
2:40 p.m.
On Wed, May 11, 2016 at 3:36 PM, Ian Kelly <ian.g.kelly@gmail.com> wrote:
On Wed, May 11, 2016 at 12:51 PM, Mark Dickinson <dickinsm@gmail.com> wrote:
On Wed, May 11, 2016 at 5:10 PM, Sven R. Kunze <srkunze@mail.de> wrote:
Additionally, it seems like this could be said for other primitive datatypes as well:
sleep(100) # minutes?
Don't be silly. Why on earth would that argument represent minutes?
It's days, for consistency with `timedelta(100)`.
Still best to be explicit:
sleep(timedelta(100))
It would be awesome if that actually worked.
You just weren't explicit enough:
sleep(timedelta(100).total_seconds())
This is drifting pretty far from the topic at hand, though. -- Zach