[issue11576] timedelta subtraction glitch on big timedelta values

SilentGhost report at bugs.python.org
Wed Mar 16 19:55:50 CET 2011


SilentGhost <ghost.adh at gmail.com> added the comment:

What happens is the second value is negated (__neg__) which causes it to become less than timedelta.min and that is causing OverflowError.

----------
components: +Library (Lib)
nosy: +belopolsky

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11576>
_______________________________________


More information about the Python-bugs-list mailing list