[New-bugs-announce] [issue39095] Negative Array Index not Yielding "Index Out Of Bounds"
NNN
report at bugs.python.org
Wed Dec 18 23:13:20 EST 2019
New submission from NNN <fibulator777 at hotmail.com>:
Created an 2D array:
bigFloorLayout = []
bigFloorLayout=[[False for row in range(0,45] for col in range(0,70]
for y in range (offsetY, storageY + offsetY):
for x in range (offsetX, storageX + offsetX):
bigFloorLayout[x][y] = True
Offset is a negative number, and thus accessing bigFloorLayout[0][-1], which did not yield "Index out of Bounds" as it should.
This is in Blender 2.81, so I have no idea what version of python it is.
----------
messages: 358655
nosy: NNN
priority: normal
severity: normal
status: open
title: Negative Array Index not Yielding "Index Out Of Bounds"
type: behavior
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39095>
_______________________________________
More information about the New-bugs-announce
mailing list