Message165162
| Author |
roger.serwy |
| Recipients |
roger.serwy, terry.reedy |
| Date |
2012年07月10日.05:18:46 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1341897527.28.0.473543515286.issue15313@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Line 1245 is part of this code (in time, these line numbers will change.)
try:
self.text.mark_gravity("iomark", "right")
OutputWindow.write(self, s, tags, "iomark")
self.text.mark_gravity("iomark", "left")
except:
raise ###pass # ### 11Aug07 KBK if we are expecting exceptions
# let's find out what they are and be specific.
The delegator chain that sits between OutputWindow.write and the Tkinter text.insert method can raise any error. (The ColorDelegator would raise a TypeError when "s" was not a string). I'd rather not replace this with "except Exception:" since the delegators should catch their own errors.
I suggest removing this try/catch block. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年07月10日 05:18:47 | roger.serwy | set | recipients:
+ roger.serwy, terry.reedy |
| 2012年07月10日 05:18:47 | roger.serwy | set | messageid: <1341897527.28.0.473543515286.issue15313@psf.upfronthosting.co.za> |
| 2012年07月10日 05:18:46 | roger.serwy | link | issue15313 messages |
| 2012年07月10日 05:18:46 | roger.serwy | create |
|