[Python-Dev] import exceptions (original) (raw)
Guido van Rossum guido at python.org
Thu Sep 1 02:05:21 CEST 2005
- Previous message: [Python-Dev] import exceptions
- Next message: [Python-Dev] [Python-checkins] python/dist/src/Lib/test test_re.py, 1.45.6.3, 1.45.6.4
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 8/31/05, Neal Norwitz <nnorwitz at gmail.com> wrote:
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/testexceptions.py. I can understand the one in test, but should the other 3 be removed since exceptions are builtin?
I'm guessing this is a remnant from a transitional period around Python 1.5.
Let's get rid of it.
-- --Guido van Rossum (home page: http://www.python.org/~guido/)
- Previous message: [Python-Dev] import exceptions
- Next message: [Python-Dev] [Python-checkins] python/dist/src/Lib/test test_re.py, 1.45.6.3, 1.45.6.4
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]