New submission from David Hood <thoughtfulbl...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue9149>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to