[issue21375] Fix and test overflow behavior in the C version of heapq

Raymond Hettinger report at bugs.python.org
Tue Apr 29 10:36:34 CEST 2014


Raymond Hettinger added the comment:

Attaching a fix.  I can't think of a way to test this without an array of sys.maxsize.

----------
keywords: +patch
Added file: http://bugs.python.org/file35088/fix_overflow.diff

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


More information about the Python-bugs-list mailing list