[New-bugs-announce] [issue21856] memoryview: no overflow on large slice values (start, stop, step)

STINNER Victor report at bugs.python.org
Tue Jun 24 11:19:07 CEST 2014


New submission from STINNER Victor:

As I following up to the issue #21831, I don't understand why memoryview[2**100:] doesn't raise an overflow error!? It looks like a bug.

Attached patch changes the behaviour to raise an OverflowError.

----------
messages: 221441
nosy: haypo, skrah
priority: normal
severity: normal
status: open
title: memoryview: no overflow on large slice values (start, stop, step)

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


More information about the New-bugs-announce mailing list