I suspect you're right.  Tkinter.Variable holds a reference to the tkapp
instance, which doesn't seem likely to be picklable.  Imagining that tkapp
instances *were* picklable, unpickling the stringvar would get you a whole new
application toplevel that you didn't want.

You might be able to extend pickle in some clever way to make it work, but it
would probably be easier and less fragile to arrange to pickle something that
is not composed of Tkinter.Variable instances.

Jeff

Attachment: pgpJF1CGsQW72.pgp
Description: PGP signature

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to