[Python-Dev] an alternative to embedding policy in PEP 418

Ethan Furman ethan at stoneleaf.us
Fri Apr 6 23:26:05 CEST 2012


Lennart Regebro wrote:
> On Fri, Apr 6, 2012 at 00:17, Cameron Simpson <cs at zip.com.au> wrote:
>> 
> Good point, but the same does for using flags. If you don't pass in
> the MONOTONIC flag, what happens? Only reading the documentation will
> tell you. As such this, if anything, is an indication that the
> get_clock() API isn't ideal in any incarnation.
>> 
>> Gah! ALL functions are like that! How often do we see questions about
>> max() or split() etc that a close reading of the docs obviate?
> 
> My point exactly.

Huh?  Your point is that all APIs are less than ideal because you have 
to read the docs to know for certain how they work?

~Ethan~


More information about the Python-Dev mailing list