No one can remember what the module is for (pretty much no one here at the sprint right now could remember what the module is for). Plus the stdlib does not really aim towards image work. -Brett
+1 for removal. ----- Original Message ----- From: "Brett Cannon" <brett@python.org> To: "stdlib-sig" <stdlib-sig@python.org> Sent: Wednesday, March 19, 2008 9:50 PM Subject: [stdlib-sig] proposed removal: colorsys
No one can remember what the module is for (pretty much no one here at the sprint right now could remember what the module is for). Plus the stdlib does not really aim towards image work.
-Brett _______________________________________________ stdlib-sig mailing list stdlib-sig@python.org http://mail.python.org/mailman/listinfo/stdlib-sig
On 2008-03-20 05:50, Brett Cannon wrote:
No one can remember what the module is for (pretty much no one here at the sprint right now could remember what the module is for).
Just read the code: it's for converting between color systems, e.g. HLS -> RGB.
Plus the stdlib does not really aim towards image work.
True, but you need RGB values for most color values defined in web standards and things like luminance are a lot easier to change in HLS than in RGB. -0 on removing it. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Mar 20 2008)
Python/Zope Consulting and Support ... http://www.egenix.com/ mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/
:::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,MacOSX for free ! :::: eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611
2008/3/20, M.-A. Lemburg <mal@egenix.com>:
Just read the code: it's for converting between color systems, e.g. HLS -> RGB.
Or documentation [1], ;) -0 to removing it. Regards, [1] http://docs.python.org/lib/module-colorsys.html -- . Facundo Blog: http://www.taniquetil.com.ar/plog/ PyAr: http://www.python.org/ar/
On 20/03/2008, M.-A. Lemburg <mal@egenix.com> wrote:
Just read the code: it's for converting between color systems, e.g. HLS -> RGB.
Plus the stdlib does not really aim towards image work.
True, but you need RGB values for most color values defined in web standards and things like luminance are a lot easier to change in HLS than in RGB.
-0 on removing it.
I've never used it, but there have been cases where I could imagine being glad of a HSV->RGB converter. And having it in the stdlib is much better than having to hunt through PyPI trying to understand specialist imaging libraries. It's also only 126 lines of code[1], for pity's sake! -0 on removing it. Paul. [1] Which I wouldn't know how to write, so I really appreciate someone having done it for me!
participants (5)
-
Brett Cannon
-
Facundo Batista
-
M.-A. Lemburg
-
Paul Moore
-
Raymond Hettinger