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

Chris Rebert pyideas at rebertia.com
Fri Apr 17 00:41:07 CEST 2009


On Thu, Apr 16, 2009 at 3:35 PM, Jess Austin <jess.austin at gmail.com> wrote:
> On Thu, Apr 16, 2009 at 4:50 PM, Eric Smith <eric at trueblade.com> wrote:
>> Jess Austin wrote:
>>>
>>> What other behavior options besides "last-valid-day-of-the-month"
>>> would you like to see?
>>
>> - Add 30 days to the source date.
>> I'm sure there are others.
>
> Python can do this already:
>
> dt + timedelta(30)
>
>> Followups to python-ideas.

You might want to look at this recent thread on the issue:
http://mail.python.org/pipermail/python-list/2009-March/704921.html

Apologies if it's already been mentioned on -dev; I don't subscribe to it.

Cheers,
Chris
-- 
I have a blog:
http://blog.rebertia.com



More information about the Python-ideas mailing list