alejandro autalan added the comment:
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
----------
nosy: +alejandroautalan
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue16809>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com