[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] pygame color slice difference between 1.8.0 and 1.8.1 ?



I'm too lazy to look up the code, would anybody mind posting the code that uses slicing so I can see what color slicing was used for?

On Tue, Aug 19, 2008 at 8:48 AM, claudio canepa <ccanepacc@xxxxxxxxx> wrote:
pygame color slice difference between 1.8.0 and 1.8.1release ?
 
with pygame 1.8.1release the app BezierLoops
http://www.pygame.org/project/848/?release_id=1474
 
 crashes with TypeError: sequence index must be integer, not 'slice'
when it  tries to slice a pygame.color.Color instance
 
In the comments the author tells that he developed in 1.8.0 , so it seems that there is a difference between 1.8.0 and 1.8.1
Intended ? Unintended ?
 
--
claxo