[Python-Dev] datetime module enhancements (original) (raw)

"Martin v. Löwis" martin at v.loewis.de
Fri Mar 9 21:05:10 CET 2007


Collin Winter schrieb:

Any thoughts on this?

There are know problems comparing durations (e.g. is 30 days more or less than a month?). For time stamps, there is no issue. For calender dates, there are again problems, in particular with time zones.

What I don't know (because I never used it) is whether the datetime module implements time stamps. If it does (i.e. no durations, no time zones, no issues with leap seconds), then supporting a total order seems reasonable.

Regards, Martin



More information about the Python-Dev mailing list