Good doco! <br><br>-T<br><br><div class="gmail_quote">On Thu, Apr 23, 2009 at 6:59 AM, Jess Austin <span dir="ltr"><<a href="mailto:jess.austin@gmail.com">jess.austin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Thu, Apr 16, 2009 at 6:32 PM, Jess Austin <<a href="mailto:jess.austin@gmail.com">jess.austin@gmail.com</a>> wrote:<br>
> My take on that is that if you want an exception for invalid dates,<br>
> use date.replace().  If you want an exact number of days offset, use<br>
> timedelta.  If you want the same date, some number of months offset,<br>
> while month-end issues are silently handled, you can use the<br>
> monthdelta patch I have at <a href="http://bugs.python.org/issue5434" target="_blank">http://bugs.python.org/issue5434</a> and<br>
> introduce at <a href="http://mail.python.org/pipermail/python-dev/2009-April/088794.html" target="_blank">http://mail.python.org/pipermail/python-dev/2009-April/088794.html</a><br>
<br>
</div><div class="im">I've uploaded the backported python version source distribution to<br>
PyPI, <a href="http://pypi.python.org/pypi?name=MonthDelta&:action=display" target="_blank">http://pypi.python.org/pypi?name=MonthDelta&:action=display</a> with<br>
better-formatted documentation at<br>
<a href="http://packages.python.org/MonthDelta/" target="_blank">http://packages.python.org/MonthDelta/</a><br>
<br>
"easy_install MonthDelta" works too.<br>
<br>
</div><div><div></div><div class="h5">cheers,<br>
Jess<br>
_______________________________________________<br>
Python-ideas mailing list<br>
<a href="mailto:Python-ideas@python.org">Python-ideas@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/python-ideas" target="_blank">http://mail.python.org/mailman/listinfo/python-ideas</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>--------------------------------------------------<br>Tennessee Leeuwenburg<br><a href="http://myownhat.blogspot.com/">http://myownhat.blogspot.com/</a><br>"Don't believe everything you think"<br>