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 alejandroautalan
Recipients Arfrever, alejandroautalan, floppymaster, gpolo, martin.panter, roger.serwy, serhiy.storchaka
Date 2013-07-23.06:15:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1374560104.51.0.820257989032.issue16809@psf.upfronthosting.co.za>
In-reply-to
Content
Hello.
I tried 'tkinter_split.patch' patch against 3.3.2, but a fix for grid_info function is also needed.

#test.py
import tkinter as tk

root = tk.Tk()
b = tk.Button(root, text='Button')
b.grid()
print(b.grid_info())
root.mainloop()


Here's is the script's output:

alejandro@vostro1:~/tmp$ cpython3.3 test.py 
Traceback (most recent call last):
  File "test.py", line 10, in <module>
    print(b.grid_info())
  File "/home/alejandro/apps/cpython3.3.2/lib/python3.3/tkinter/__init__.py", line 2024, in grid_info
    if value[:1] == '.':
TypeError: '_tkinter.Tcl_Obj' object is not subscriptable
History
Date User Action Args
2013-07-23 06:15:04alejandroautalansetrecipients: + alejandroautalan, gpolo, roger.serwy, Arfrever, martin.panter, serhiy.storchaka, floppymaster
2013-07-23 06:15:04alejandroautalansetmessageid: <1374560104.51.0.820257989032.issue16809@psf.upfronthosting.co.za>
2013-07-23 06:15:04alejandroautalanlinkissue16809 messages
2013-07-23 06:15:04alejandroautalancreate