[Python-ideas] PEP 3151: Reworking the OS and IO exception hierarchy

Greg Ewing greg.ewing at canterbury.ac.nz
Sun Jul 25 03:20:34 CEST 2010


Mike Meyer wrote:
> I can't even say the
> package authors are wrong not to catch and map those errors into
> package-specific errors.

I'd say they're not wrong at all. The exception hierarchy
should be based on the semantics of the exceptions, not
which package they happen to originate from or pass through.

-- 
Greg



More information about the Python-ideas mailing list