This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author roger.serwy
Recipients Arfrever, gpolo, martin.panter, roger.serwy, serhiy.storchaka
Date 2013-05-30.04:57:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The problem I'm encountering is that tk.splitlist() is now being given a Tcl_Obj instead of a "str" type. Since everything is Tcl is a string, explicitly casting a Tcl_Obj to a string seems reasonable. Attached is some proof-of-concept code to work around the issue.

Serhiy's patch against 3.4 gives this traceback:

[python@saturn 3.4]$ ./python 
Traceback (most recent call last):
  File "", line 6, in <module>
  File "/home/python/python/3.4/Lib/tkinter/", line 1924, in pack_info
    if value[:1] == '.':
TypeError: '_tkinter.Tcl_Obj' object is not subscriptable
Date User Action Args
2013-05-30 04:57:32roger.serwysetrecipients: + roger.serwy, gpolo, Arfrever, martin.panter, serhiy.storchaka
2013-05-30 04:57:31roger.serwysetmessageid: <>
2013-05-30 04:57:31roger.serwylinkissue16809 messages
2013-05-30 04:57:31roger.serwycreate