Martin Falatic added the comment:
Works, using = this works, it's what I'm using (was trying to be brief - was
too brief evidently).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23982
Martin Falatic added the comment:
There may be a more uniform way to do all this that I'm not aware of.
root.tcl.call() and root.tk.call() would be most symmetric while not creating
extraneous windows, but that's not an option for the former, thus the methods I
ended up using look different
Serhiy Storchaka added the comment:
I don't think that we should document such minor details in Tkinter
documentation. There are larger differences between Tcl/Tk versions that can
make Python programs fail (e.g. introducing new internal Tcl/Tk type), and they
are not documented.
--
Martin Falatic added the comment:
No, I don't expect something like the color change to be documented here
(unless that thing is incorrectly documented within python.org's current
release trees).
I do expect that just as python.org's OSX releases document the recommended
version of TclTk to
Martin Falatic added the comment:
Yes, the python.org releases specify the TclTK they should be used with, for
OSX:
https://www.python.org/download/mac/tcltk/
If there's another python.org bug report list let me know, but this still seems
to be the right place. Since Python.org's windows
Martin Falatic added the comment:
FYI, I've filed a bug with the TclTk people regarding their documentation.
http://core.tcl.tk/tk/tktview/2a02881e4c23634022d0ae40a14383d9baad9eb9
--
___
Python tracker rep...@bugs.python.org
Martin Falatic added the comment:
Thank you. Before going down the road of revising PEP 101 (which appears to be
very non-trivial despite the simple (and certainly always present) data
involved), I'd like to know: is version information about the pre-compiled
Windows binaries (of which this
Terry J. Reedy added the comment:
The tkinter docs need to be expanded, but that is a different issue.
The complete tcl/tk version is displayed in Idle - Help - About Idle using
self.tk.call('info', 'patchlevel'). Pending a reason not to, I would be in
favor of adding this full info as a
Martin Falatic added the comment:
FYI, I'm currently using calls into Tkinter to get more detailed version info.
Some methods work better than others... I've outlined my attempts below for
reference (the last tcl_ver and tk_ver outputs are the ones I'm using, even
though they are somewhat
Ned Deily added the comment:
I am im favor of adding documentation for the existing tkinter TclVerion and
TkVersion attributes to the tkinter section of the Standard Library reference
as well as documenting a form of tkinter.Tcl().call('info', 'patchlevel')
and/or tkinter.Tk().call('info',
Terry J. Reedy added the comment:
Ned, I was indeed thinking of creating the string upon startup.
Martin: Works, using ? using what?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23982
Ned Deily added the comment:
Current source releases of Python do not specify which version of Tk they
should be run with; that is largely up to the distributors of Python (including
python.org binary installers for Windows and OS X) and the conventions of the
platform the instances are
Terry J. Reedy added the comment:
I ran colortest on Win7 with 2.7.9, 3.3.5, 3.4.3, and 3.5.0a3. The first two
are the same, the last two are also the same, but with the muted colors noted.
The obvious difference is that for Windows, we changed from tcl/tk 8.5 to 8.6
in 3.4.0. The same
Serhiy Storchaka added the comment:
From Tcl/Tk 8.6 on, Tk uses Web colours instead of X11 ones, where they
conflict.
http://www.tcl.tk/cgi-bin/tct/tip/403.html
--
resolution: - not a bug
stage: test needed - resolved
status: open - closed
___
Terry J. Reedy added the comment:
Aha. http://www.tcl.tk/man/tcl8.6/TkCmd/colors.htm should be changed. Not an
issue for this tracker though.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23982
Martin Falatic added the comment:
This change wasn't in their documentation anywhere:
http://www.tcl.tk/man/tcl8.5/TkCmd/colors.htm
http://www.tcl.tk/man/tcl8.6/TkCmd/colors.htm
It would be of value to call this out in the Python documentation (as far as I
can find, there's nothing specifying
New submission from Martin Falatic:
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:
Changes by Ned Deily n...@acm.org:
--
components: +Windows
nosy: +steve.dower, tim.golden, zach.ware
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23982
___
18 matches
Mail list logo