On Mon, Mar 23, 2015 at 2:08 AM, anatoly techtonik firstname.lastname@example.org wrote:
That's nice to know, but IIRC datetime is from the top 10 Python modules that need a redesign. Things contained therein doesn't pass human usability check, and are not used as a result.
Where have you been when PEP 3108 was discussed? I have not seen any other list of Python modules that needed a redesign, so I cannot tell what's on your top ten list.
Speaking of the datetime module, in what sense does it not "pass human usability check"? It does have a few quirks, for example I would rather see date accept a single argument in the constructor which may be a string, another date or a tuple, but I am not even sure this desire is shared by many other humans. It would be nice if datetime classes were named in CamelCase according to PEP 8 conventions, but again this is a very minor quirk.
In my view, if anyone is to blame for the "human usability" of the datetime module, it would be Pope Gregory XIII, Benjamin Franklin and scores of unnamed astronomers who made modern timekeeping such a mess.