[Python-Dev] Issue5434: datetime.monthdelta

Jared Grubb jared.grubb at gmail.com
Thu Apr 16 22:08:07 CEST 2009

On 16 Apr 2009, at 11:42, Paul Moore wrote:
> The key thing missing (I believe) from dateutil is any equivalent of  
> monthmod.

I agree with that. It's well-defined and it makes a lot of sense. +1

But, I dont think monthdelta can be made to work... what should the  
following be?

print(date(2008,1,30) + monthdelta(1))
print(date(2008,1,30) + monthdelta(2))
print(date(2008,1,30) + monthdelta(1) + monthdelta(1))


More information about the Python-Dev mailing list