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

Tennessee Leeuwenburg tleeuwenburg at gmail.com
Thu Apr 23 01:06:00 CEST 2009


Good doco!

-T

On Thu, Apr 23, 2009 at 6:59 AM, Jess Austin <jess.austin at gmail.com> wrote:

> On Thu, Apr 16, 2009 at 6:32 PM, Jess Austin <jess.austin at gmail.com>
> wrote:
> > My take on that is that if you want an exception for invalid dates,
> > use date.replace().  If you want an exact number of days offset, use
> > timedelta.  If you want the same date, some number of months offset,
> > while month-end issues are silently handled, you can use the
> > monthdelta patch I have at http://bugs.python.org/issue5434 and
> > introduce at
> http://mail.python.org/pipermail/python-dev/2009-April/088794.html
>
> I've uploaded the backported python version source distribution to
> PyPI, http://pypi.python.org/pypi?name=MonthDelta&:action=display with
> better-formatted documentation at
> http://packages.python.org/MonthDelta/
>
> "easy_install MonthDelta" works too.
>
> cheers,
> Jess
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> http://mail.python.org/mailman/listinfo/python-ideas
>



-- 
--------------------------------------------------
Tennessee Leeuwenburg
http://myownhat.blogspot.com/
"Don't believe everything you think"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20090423/ac345188/attachment.html>


More information about the Python-ideas mailing list