Re: [Python-checkins] CVS: python/dist/src/Lib exceptions.py,1.18,1.19

Update of /cvsroot/python/python/dist/src/Lib In directory slayer.i.sourceforge.net:/tmp/cvs-serv25262
Modified Files: exceptions.py Log Message: For backwards compatibility, simply import everything from the _exceptions module, including __doc__.
Hmm, wasn't _exceptions supposed to be a *fall back* solution for the case where the exceptions.py module is not found ? It now looks like _exceptions replaces exceptions.py...

"M" == M mal@lemburg.com writes:
M> Hmm, wasn't _exceptions supposed to be a *fall back* solution M> for the case where the exceptions.py module is not found ? It M> now looks like _exceptions replaces exceptions.py...
I see no reason to keep both of them around. Too much of a synchronization headache.
-Barry

M> Hmm, wasn't _exceptions supposed to be a *fall back* solution for the M> case where the exceptions.py module is not found ? It now looks like M> _exceptions replaces exceptions.py...
BAW> I see no reason to keep both of them around. Too much of a BAW> synchronization headache.
Well, wait a minute. Is Nick's third revision of his AttributeError/NameError enhancement still on the table? If so, exceptions.py is the right place to put it. In that case, I would recommend that exceptions.py still be the file that is loaded. It would take care of importing _exceptions.
Oh, BTW.. +1 on Nick's latest version.
participants (3)
-
bwarsaw@python.org
-
M.-A. Lemburg
-
Skip Montanaro