[issue9149] colorsys.py function rgb_to_hls

2010-07-04 Thread David Hood
David Hood added the comment: And Mark would seem to be entirely correct in this. Colour me embarrassed for missing that one. -- status: open -> closed ___ Python tracker <http://bugs.python.org/iss

[issue9149] colorsys.py function rgb_to_hls

2010-07-03 Thread David Hood
New submission from David Hood : colorsys.py function rgb_to_hls will crash on the RGB color (0,2,1) on line 68 with a division by zero error. 68 else: s = (maxc-minc) / (2.0-maxc-minc) -- messages: 109181 nosy: David.Hood priority: normal severity: normal status: open title