[issue9149] colorsys.py function rgb_to_hls
David Hood
report at bugs.python.org
Sat Jul 3 14:33:02 CEST 2010
New submission from David Hood <thoughtfulbloke at gmail.com>:
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: colorsys.py function rgb_to_hls
type: crash
versions: Python 2.6
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9149>
_______________________________________
More information about the Python-bugs-list
mailing list