Raymond Hettinger [EMAIL PROTECTED] added the comment:
Fixed in 64845.
--
resolution: - fixed
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3301
___
New submission from STINNER Victor [EMAIL PROTECTED]:
import bisect; bisect.insort(range(4), -1, -1) goes into an
unlimited loop. Workaround: replace negative lo value by zero. The
function may raise an exception.
--
components: Library (Lib)
files: bisect_lo.patch
keywords: patch
Raymond Hettinger [EMAIL PROTECTED] added the comment:
Don't think negative indices make much sense in this context. Will put
in a test to raise a ValueError for negative indices.
--
priority: - high
___
Python tracker [EMAIL PROTECTED]