Why can't timedeltas be divided?

castironpi at gmail.com castironpi at gmail.com
Sun Apr 27 01:37:14 EDT 2008


On Apr 26, 10:27 pm, Jon Ribbens <jon+use... at unequivocal.co.uk> wrote:
> On 2008-04-27, Martin v. Löwis <mar... at v.loewis.de> wrote:
>
> >> sorry for bringing up such an old thread, but this seems important to me
> >> -- up to now, there are thousands [1] of python programs that use
> >> hardcoded time calculations.
>
> > Would you like to work on a patch?
>
> Last time I brought up this sort of thing, it seemed fairly unanimous
> that the shortcomings of the datetime module were 'deliberate' and
> would not be fixed, patch or no patch.

I wanted to format strings with them.  How does modulo a datetime
sound?



More information about the Python-list mailing list