[Tkinter-discuss] StringVar fails to honor None

Greg Ewing greg.ewing at canterbury.ac.nz
Fri Jan 18 08:49:40 CET 2013


> On Thu, Jan 17, 2013 at 11:59:00AM +0100, Michael Lange wrote:

>>apparently globalsetvar() tries its best to convert anything it gets into
>>a string.

Since strings are the only thing a tcl variable can hold,
it doesn't have much choice, really.

If you want to store an arbitrary Python value without it
getting munged, a tcl variable is probably the wrong thing
to use.

-- 
Greg


More information about the Tkinter-discuss mailing list