On Mon, 2006-08-21 at 06:58 -0700, Phil Hassey wrote: > It appears that setting the palette makes pygame-ctypes mad: > File "wireworld.py", line 25, in init > > pygame.display.set_palette([(0x00,0x00,0x00),(0x00,0x00,0xaa),(0x55,0xff,0xff),(0x55,0x55,0xff)]) > File "/usr/lib/python2.4/site-packages/pygame/display.py", line 700, > in set_palette > colors = [SDL_Color(r, g, b) for r, g, b in palette[:length]] > NameError: global name 'length' is not defined
This looks like a coding error?
