[Python-Dev] New module proposal: timelib

Brett C. bac at OCF.Berkeley.EDU
Thu Dec 11 17:48:39 EST 2003


Keith Dart wrote:
> Attached is a module that I call timelib that extends the standard time
> module. This module allows easier time manipulation with a mutable time
> object, and provides some extra utility functions.
>

Browsing the code I didn't see anything that was that much better than 
what datetime offered.  The mutability is the only big difference but I 
don't see that as a critical thing in this case since they are 
relatively cheap objects to create.

And speaking of datetime, that module pretty much supercedes time.  The 
only thing in time that datetime lacks is basically strptime from my 
experience.

Personally, I would rather see any nice, new functionality be added to 
datetime so that time itself can possibly just go away.  datetime is 
just so much nicer to use in my opinion.

-Brett



More information about the Python-Dev mailing list