
April 22, 2009
8:59 p.m.
On Thu, Apr 16, 2009 at 6:32 PM, Jess Austin <jess.austin@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