Gökçen Eraslan <gok...@pardus.org.tr> added the comment: I can still reproduce that error with Python 2.7.2:
Python 2.7.1 (r271:86832, Apr 27 2011, 15:42:42) [GCC 4.5.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from datetime import * >>> timedelta(999999999, 86399, 999999) - timedelta(999999999, 86399, 999998) Traceback (most recent call last): File "<stdin>", line 1, in <module> OverflowError: days=-1000000000; must have magnitude <= 999999999 >>> and I see that patch is applied in 2.7.2. ---------- nosy: +Gökçen.Eraslan _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11576> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com