Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #79950

Re: Has color "Green" changed from Python 33 to 34 ?

From Peter Otten <__peter__@web.de>
Subject Re: Has color "Green" changed from Python 33 to 34 ?
Date 2014-10-30 13:20 +0100
Organization None
References <54521fa1$0$2040$426a74cc@news.free.fr>
Newsgroups comp.lang.python
Message-ID <mailman.15317.1414671672.18130.python-list@python.org> (permalink)

Show all headers | View raw


ast wrote:

> I just updated this morning my Python from a 3.3rc to 3.4
> (Windows) and I noticed that the 'Green' color in tkinter
> GUI is not the same at all.
> 
> 'Green' in 3.4 is very dark. I had to replace it with 'Lime' to
> get back a nice 'Green'.

More likely the color is defined by tcl/tk rather than Python, and your 
Python installations use different versions of tcl. Searching for 'tcl/tk 
color definitions' finds <http://wiki.tcl.tk/1424> with the following 
statement

"""From Tcl/Tk 8.6 on, Tk uses Web colours instead of X11 ones, where they 
conflict.
"""

and according to 
<http://en.wikipedia.org/wiki/X11_color_names#Clashes_between_web_and_X11_colors> 
"green" is indeed one of the affected colors.

Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Has color "Green" changed from Python 33 to 34 ? "ast" <nomail@invalid.com> - 2014-10-30 12:23 +0100
  Re: Has color "Green" changed from Python 33 to 34 ? Peter Otten <__peter__@web.de> - 2014-10-30 13:20 +0100
  Re: Has color "Green" changed from Python 33 to 34 ? Terry Reedy <tjreedy@udel.edu> - 2014-10-30 13:57 -0400
  Re: Has color "Green" changed from Python 33 to 34 ? Christian Gollwitzer <auriocus@gmx.de> - 2014-10-31 08:05 +0100

csiph-web