Message60279
Logged In: YES
user_id=21627
The qualification "silently discards all Tcl errors" is definitely
incorrect:
>>> Tkinter.Label(foo="bar")
Traceback (most recent call last):
File "<pyshell#1>", line 1, in ?
Tkinter.Label(foo="bar")
File "E:\Python22\lib\lib-tk\Tkinter.py", line 2261, in __init__
Widget.__init__(self, master, 'label', cnf, kw)
File "E:\Python22\lib\lib-tk\Tkinter.py", line 1756, in __init__
self.tk.call(
TclError: unknown option "-foo"
Instead, it would be more correct to say that all background
errors are discarded.
Can you provide a script that demonstrates this problem?
(i.e. one which behaves differently if the createcommand is
removed from Tkinter.py)
Can you propose a solution for this problem? Please take
into account that Tkinter behaved that way since the
beginning, so any change must take backwards compatibility
into account. |
|
Date |
User |
Action |
Args |
2008-01-20 09:55:47 | admin | link | issue639266 messages |
2008-01-20 09:55:47 | admin | create | |
|