[Python-ideas] Top 10 Python modules that need a redesign Was: Geo coordinates conversion in stdlib

Alexander Belopolsky alexander.belopolsky at gmail.com
Mon Mar 23 18:21:36 CET 2015


On Mon, Mar 23, 2015 at 2:08 AM, anatoly techtonik <techtonik at gmail.com>
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20150323/d9641320/attachment-0001.html>


More information about the Python-ideas mailing list