Terry J. Reedy added the comment: RA's patch for #16261 suggests
diff -r b76d2d8db81f Lib/idlelib/PyShell.py --- a/Lib/idlelib/PyShell.py Mon Dec 17 13:43:14 2012 +0530 +++ b/Lib/idlelib/PyShell.py Wed Jan 09 19:10:26 2013 +0530 @@ -152,7 +152,7 @@ lineno = int(float(text.index("insert"))) try: self.breakpoints.remove(lineno) - except: + except ValueError: pass text.tag_remove("BREAK", "insert linestart",\ "insert lineend +1char") ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue15313> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com