[Python-Dev] New module proposal: timelib (original) (raw)

Tim Peters tim.one at comcast.net
Thu Dec 11 18:10:34 EST 2003


[Keith Dart]

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.

[Brett Cannon]

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.

Just noting that it was considered critical for time and date objects not to be mutable, else they couldn't be used as dict keys (an important use case).



More information about the Python-Dev mailing list