ExeTera icon indicating copy to clipboard operation
ExeTera copied to clipboard

__getitem__ Protocol Issue

Open ericspod opened this issue 4 years ago • 0 comments

The __getitem__ method expect an IndexError to be raised to indicate the end of the sequence, this is expected by list and other operators which will ignore the exception. One problem is here where the exception should be IndexError. If this is changed then here there should be no printout for this exception. This bug manifests when applying list to field objects.

ericspod avatar Apr 13 '21 15:04 ericspod