This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

作者 MartyMacGyver
收信人 MartyMacGyver
日期 2015-04-17.00:51:37
SpamBayes Score -1.0
Marked as misclassified
Message-id <1429231899.59.0.405315540238.issue23982@psf.upfronthosting.co.za>
In-reply-to
内容
In Python 2.7.9 for Windows, colors displayed match their RGB values as defined in TclTk:
http://www.tcl.tk/man/tcl8.5/TkCmd/colors.htm (8.6 is identical)

In Python 3.4.3 for Windows, the following colors differ noticeably from their TclTk counterparts: grey/gray, green, purple, and maroon.

Instead of the spec TclTk RGB values, these particular colors are rendered using the HTML RGB values.

This only happens in Python for Windows - OSX doesn't have this problem as it appears to use the same TclTk package for both 2.7 and 3.4 and correctly renders the colors per TclTk specs in each.

Tkinter ought to render named colors using the spec TclTk RGB values regardless of platform.
历史
日期 用户 动作 参数
2015-04-17 00:51:39MartyMacGyver修改recipients: + MartyMacGyver
2015-04-17 00:51:39MartyMacGyver修改messageid: <1429231899.59.0.405315540238.issue23982@psf.upfronthosting.co.za>
2015-04-17 00:51:39MartyMacGyver链接issue23982 messages
2015-04-17 00:51:38MartyMacGyver创建