|
From: Stephen H. <ha...@gm...> - 2009-11-26 00:05:03
|
Contour slicing still does not function correctly when using the notation c[i:]. This occurs because Python passes in a very large value (probably the maximum size of an unsigned int) for _end_ to indicate "to the end of the sequence". A closer reading of the Python documentation seems to suggest that slicing can never generate an index-out-of-range error. The attached patch adjusts the contour slicing behavior to match this. It also changes the behavior of assigning slices as well. Best wishes, Stephen |