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

Re: [pygame] easy way to check pygame.Color() equality?



Lenard Lindstrom <len-l@xxxxxxxxx>:

High Marcus,

I agree that comparing a color to a string was not a good idea. That
can go as 1.9.0 is still pre-alpha. For backwards compatibility
comparison with a tuple will remain valid in Pygame 1.9.

Absolutely - one of the main issues was (and is) the compatibility with
the previous tuple implementation for colors. Thus it's necessary that
we retain it.

Regards
Marcus