[Python-ideas] Additional datetime-like module

Mike Miller python-ideas at mgmiller.net
Wed Jul 29 10:38:43 CEST 2015

Right, I was thinking largely the same API for both, with subclasses of the 
datetime objects with new behavior in the new module.

I suppose, that the opposite could be done as well, write a new module with the 
new behavior, then replace datetime with a compatible api built from the new one 
if it made sense.


On 07/28/2015 09:48 PM, Lennart Regebro wrote:
 > Two datetime modules with different API is definitely not a good idea.
> 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.
> //Lennart

More information about the Python-ideas mailing list