[issue13274] heapq pure python version uses islice without guarding for negative counts

Raymond Hettinger report at bugs.python.org
Fri Oct 28 05:09:07 CEST 2011


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:

The behavior is undefined for negative inputs, so implementations are free to the most expedient choices.

----------
priority: normal -> low

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


More information about the Python-bugs-list mailing list