Message193586
| 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 |
|