09.06.14 09:36, Michael Lange написав(ла):
I have encountered similar objects instead of the expected return values from tk methods at what appears to me as "random" places from time to time with hevery new version for years since the Tkinter developers invented the "object layer" (sorry, no idea how they actually call it) in Python-2.4 or so. In Python2 you can disable it altogether by setting Tkinter.wantobjects = False early in your code to restore the "classic" behavior, unfortunately this does not seem to work in Python3 anymore (at least the last time I tried). Probably these objects can easily be converted into strings if you know where they appear.
Setting Tkinter.wantobjects = False should work in Python 3 now (at least in 3.3+). If this doesn't work, please report a bug.
_______________________________________________ Tkinter-discuss mailing list Tkinter-discuss@python.org https://mail.python.org/mailman/listinfo/tkinter-discuss