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... -- Marc-Andre Lemburg ______________________________________________________________________ Business: http://www.lemburg.com/ Python Pages: http://www.lemburg.com/python/
"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. -- Skip Montanaro, skip@mojam.com, http://www.mojam.com/, http://www.musi-cal.com/ "We have become ... the stewards of life's continuity on earth. We did not ask for this role... We may not be suited to it, but here we are." - Stephen Jay Gould
participants (3)
-
bwarsaw@python.org
-
M.-A. Lemburg
-
Skip Montanaro