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.02:29:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1341887371.61.0.0302814737095.issue15313@psf.upfronthosting.co.za>
In-reply-to
Content
There are a lot of bare exceptions in IDLE. Here's the output of "grep -n 'except:' *.py"

AutoComplete.py:184:        except:
AutoComplete.py:209:                    except:
Debugger.py:172:                except:
Debugger.py:344:            except:
EditorWindow.py:999:            except:
ObjectBrowser.py:38:        except:
ObjectBrowser.py:100:        except:
PyShell.py:133:        except: # but debugger may not be active right now....
PyShell.py:154:        except:
PyShell.py:161:        except:
PyShell.py:176:            except:
PyShell.py:433:            except:
PyShell.py:742:        except:
PyShell.py:869:        except:
PyShell.py:1043:        except:
PyShell.py:1096:        except:
PyShell.py:1193:        except:
PyShell.py:1214:        except:
PyShell.py:1245:        except:
rpc.py:106:        except:
rpc.py:206:        except:
run.py:88:    except:
run.py:120:        except:
run.py:125:            except:
run.py:248:        except:
run.py:332:        except:
SearchEngine.py:72:            except:
StackViewer.py:66:        except:
WindowList.py:47:            except:


Slowly, these exceptions should be refined to include the exact exception being caught.
History
Date User Action Args
2012-07-10 02:29:31roger.serwysetrecipients: + roger.serwy, terry.reedy
2012-07-10 02:29:31roger.serwysetmessageid: <1341887371.61.0.0302814737095.issue15313@psf.upfronthosting.co.za>
2012-07-10 02:29:31roger.serwylinkissue15313 messages
2012-07-10 02:29:30roger.serwycreate