[Python-Dev] import exceptions

Neal Norwitz nnorwitz at gmail.com
Thu Sep 1 01:36:54 CEST 2005

Is there any reason to import exceptions?  It's only done in 4 places:
Lib/asyncore.py, Lib/shutil.py, Lib/idlelib/PyShell.py, and
Lib/test/test_exceptions.py.  I can understand the one in test, but
should the other 3 be removed since exceptions are builtin?


More information about the Python-Dev mailing list