[Python-Dev] Exception Reorg PEP revised yet again
Trent Mick
trentm at ActiveState.com
Thu Aug 11 02:25:38 CEST 2005
[Brett Cannon wrote]
> Where is it used so much? In the stdlib, grepping for WindowsError
> recursively in Lib in 2.4 turns up only one module raising it
> (subprocess) and only two modules with a total of three places of
> catching it (ntpath once, urllib twice). In Module, there are no
> hits.
Just a data point (not really following this thread): The PyWin32
sources raise WindowsError twice (one of them is
win32\Demos\winprocess.py which is probably where subprocess got it
from) an catches it in 11 places.
Trent
--
Trent Mick
TrentM at ActiveState.com
More information about the Python-Dev
mailing list