Re: [pygame] BUG:? color incompatibility in pygame 1.8.1release versus 1.7.1release

2008-08-17 Thread Brian Fisher
Regardless of backwards compatibility issues, having a default alpha value of 0 just seems completely wrong to me, and completely non-intuitive. largely because in a 24-bit context (like on the web), I would always be writing #RRGGBB, and would never even consider adding in an alpha. So my brain ha

Re: [pygame] BUG:? color incompatibility in pygame 1.8.1release versus 1.7.1release

2008-08-17 Thread Nicholas Dudfield
I will update the tests. If the new Color.__doc__ claims case insensitivity then I will put in a failing test. The author of the module wrote some tests for webstyle arguments to the Color constructor that explicitly tested for 0 as the default alpha so I'm not sure there. Actually there seems t

Re: [pygame] BUG:? color incompatibility in pygame 1.8.1release versus 1.7.1release

2008-08-17 Thread Lenard Lindstrom
According the the pygame.color.Color doc string the alpha portion is optional: "With the hex color formatting you may optionally include an alpha value, the formatting is 0xRRGGBBAA. You may also specify a hex formatted color by starting the string with a '#'." In Pygame a three element color i