Message60290
Logged In: YES
user_id=2772
As far as I can tell, the only way _tkerror can discard an
error is if it happens in an event-driven way (fired as a
-command, from a binding, or from "after") and the code in
question is pure tcl code.
So, for instance, in
b = Button(command = lambda: 1/0)
the error is reported by
Tkinter.Tk.report_callback_exception. So is
b = Button(); b.configure(command=lambda:
b.tk.call("expr", "1/0")) |
|
Date |
User |
Action |
Args |
2008-01-20 09:55:49 | admin | link | issue639266 messages |
2008-01-20 09:55:49 | admin | create | |
|