[Python-ideas] Boolean parameters guidelines
zachary.ware+pyideas at gmail.com
Wed May 11 17:40:45 EDT 2016
On Wed, May 11, 2016 at 3:36 PM, Ian Kelly <ian.g.kelly at gmail.com> wrote:
> On Wed, May 11, 2016 at 12:51 PM, Mark Dickinson <dickinsm at gmail.com> wrote:
>> On Wed, May 11, 2016 at 5:10 PM, Sven R. Kunze <srkunze at 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:
> It would be awesome if that actually worked.
You just weren't explicit enough:
This is drifting pretty far from the topic at hand, though.
More information about the Python-ideas