[issue16809] Tk 8.6.0 introduces TypeError. (Tk 8.5.13 works)
Roger Serwy
report at bugs.python.org
Thu Mar 21 04:45:44 CET 2013
Roger Serwy added the comment:
Serhiy, I applied your patch but I still get the same error.
>From what I have found so far, the FromObj function in Modules/_tkinter.c relies on cached values for different Tcl_ObjType, as given in the TkappObject struct. From the comment:
/* We cannot include tclInt.h, as this is internal.
So we cache interesting types here. */
I haven't traced down the exact difference between 8.5 and 8.6 that causes the existing cached types to not match. The correct behavior from 8.5 is a match to "StringType". I've noticed a lot more macros in the 8.6 headers than in 8.5 which may be the culprit.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16809>
_______________________________________
More information about the Python-bugs-list
mailing list