[Python-ideas] [Python-Dev] Issue5434: datetime.monthdelta

Greg Ewing greg.ewing at canterbury.ac.nz
Fri Apr 17 04:18:33 CEST 2009

Tennessee Leeuwenburg wrote:

>   -- What about other cyclical periods (fortnights, 28 days, lunar 
> cycles, high tides)?

Fortnights and 28 days are fixed numbers of days, so
they should be covered by the existing timedelta

Lunar cycles and high tides would be interesting,
but they probably belong in a different module. Also,
being astronomically determined, they wouldn't exactly
fit into the datetime module's calendrical notion of
time, which ignores leap seconds and other such
inconvenient physical phenomena.


More information about the Python-ideas mailing list