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 <rep...@bugs.python.org> <http://bugs.python.org/issue21856> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com