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 <1369889851.92.0.755782476668.issue16809@psf.upfronthosting.co.za>
In-reply-to
Content
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 tk_86_error.py 
8.6
Traceback (most recent call last):
  File "tk_86_error.py", line 6, in <module>
    label.pack_info()
  File "/home/python/python/3.4/Lib/tkinter/__init__.py", line 1924, in pack_info
    if value[:1] == '.':
TypeError: '_tkinter.Tcl_Obj' object is not subscriptable
History
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: <1369889851.92.0.755782476668.issue16809@psf.upfronthosting.co.za>
2013-05-30 04:57:31roger.serwylinkissue16809 messages
2013-05-30 04:57:31roger.serwycreate