homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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:47roger.serwysetrecipients: + roger.serwy, terry.reedy
2012年07月10日 05:18:47roger.serwysetmessageid: <1341897527.28.0.473543515286.issue15313@psf.upfronthosting.co.za>
2012年07月10日 05:18:46roger.serwylinkissue15313 messages
2012年07月10日 05:18:46roger.serwycreate

AltStyle によって変換されたページ (->オリジナル) /