[Python-ideas] Additional datetime-like module

Lennart Regebro regebro at gmail.com
Wed Jul 29 12:07:14 CEST 2015


On Wed, Jul 29, 2015 at 11:52 AM, Andrew Barnert <abarnert at yahoo.com> wrote:
> On Jul 29, 2015, at 06:48, Lennart Regebro <regebro at gmail.com> wrote:
>> I do think a new module is necessary, but it should completely replace
>> not just datetime, but also time. Maybe even calendar. There is
>> overlap (and some cruft) between these modules, and it can be hard to
>> understand exactly what function to use when, etc.
>
> That's not a bad idea. (Assuming you mean a very long-term deprecation or just "you probably shouldn't use this in new code, and it may be deprecated one of these decades" a la asyncore.)

Exactly. The time and datetime modules would then hang around until
some sort of big "we are gonna remove the stdlib cruft" in a future
Python X.0.

But I only have vague ideas so far.

//Lennart


More information about the Python-ideas mailing list