[issue26296] colorys rgb_to_hls algorithm error

2017-01-13 Thread Bryan B
Bryan B added the comment: Adding myself to this since I'm going to fix another hiccup in this file and I might as well clean this up too. -- nosy: +aarqon ___ Python tracker

[issue26296] colorys rgb_to_hls algorithm error

2016-02-10 Thread Jim Jewett
Jim Jewett added the comment: The modulus fixes it for exact numbers. It doesn't produce exactly the same result with floats, because of rounding. Is that a problem? -- nosy: +Jim.Jewett ___ Python tracker

[issue26296] colorys rgb_to_hls algorithm error

2016-02-08 Thread Kunal Grover
Kunal Grover added the comment: This isn't needed. We are taking modulus with 1.0, which already fixes negative values of h. -- nosy: +Kunal Grover ___ Python tracker

[issue26296] colorys rgb_to_hls algorithm error

2016-02-05 Thread Shashank Agarwal
Shashank Agarwal added the comment: I would like to work on this.. -- nosy: +The_Knight ___ Python tracker ___

[issue26296] colorys rgb_to_hls algorithm error

2016-02-05 Thread Mats Luspa
New submission from Mats Luspa: In the colorsys library function rgb_to_hls the algorithm is not implemented quite correctly. According to algorithm the correct implementation should be (the error is in the condition r == maxc). In the current code g

[issue26296] colorys rgb_to_hls algorithm error

2016-02-05 Thread STINNER Victor
STINNER Victor added the comment: Oh, someone uses colorsys :-) -- nosy: +haypo, yselivanov ___ Python tracker ___

[issue26296] colorys rgb_to_hls algorithm error

2016-02-05 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- keywords: +easy stage: -> needs patch ___ Python tracker ___