[Python-bugs-list] [ python-Bugs-729317 ] comparing versions - one a float
SourceForge.net
noreply@sourceforge.net
Sat, 10 May 2003 00:29:47 -0700
Bugs item #729317, was opened at 2003-04-29 05:41
Message generated for change (Comment added) made by loewis
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=729317&group_id=5470
Category: Tkinter
Group: Python 2.3
Status: Open
Resolution: None
Priority: 6
Submitted By: Larry Bugbee (thunderbug)
>Assigned to: Jack Jansen (jackjansen)
Summary: comparing versions - one a float
Initial Comment:
Tkinter.py, line 1572, 2.3b1 from python.org....
Attempts to compare tcl_version with
_tkinter.TCL_VERSION. Both have the same value, 8.4,
but...
tcl_version is a <type 'float'> and
_tkinter.TCL_VERSION is a <type 'str'>
Temporary kludge: wrap it... str(tcl_version)
----------------------------------------------------------------------
>Comment By: Martin v. Löwis (loewis)
Date: 2003-05-10 09:29
Message:
Logged In: YES
user_id=21627
This seems to happen only in the Mac version of Tcl. I can't
reproduce it on Linux or Windows, and I can't see anything
in the Tcl sources that may causing it.
tcl_version is set in generic/tclBasic.c using Tcl_SetVar,
i.e. as a string. It is never referred-to in the Tcl
sources, except for being returned from 'info tclversion'.
So I can't see why it would ever be changed to a floating
point object.
Perhaps the Mac is not using the original Tcl source code?
Assigning to Jack for further investigation.
----------------------------------------------------------------------
Comment By: Larry Bugbee (thunderbug)
Date: 2003-05-10 04:44
Message:
Logged In: YES
user_id=10953
Several of us have encountered this. Personally, I have seen this with
Tcl/Tk 8.4.1 under Mac OS X 10.2.4 and MacPython 2.3a2. ...and with
Tcl/Tk 8.4.2. ...and under 10.2.5 and 2.3b1. I've tried several
combinations.
My sources came from ftp://ftp.python.org and http://ftp.cwi.nl/jack/
python/mac/ . I hope this helps.
----------------------------------------------------------------------
Comment By: Martin v. Löwis (loewis)
Date: 2003-05-09 10:50
Message:
Logged In: YES
user_id=21627
I cannot reproduce this. What operating system is this, what
is the precise Tcl version, and where can I get the source
code of this Tcl version?
----------------------------------------------------------------------
Comment By: Raymond Hettinger (rhettinger)
Date: 2003-05-07 00:00
Message:
Logged In: YES
user_id=80475
Martin, is this something you can look at in Eric's absence?
----------------------------------------------------------------------
Comment By: Raymond Hettinger (rhettinger)
Date: 2003-04-29 07:00
Message:
Logged In: YES
user_id=80475
Eric, I think this was your change.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=729317&group_id=5470