I suspect that the use case for those errors is far less than you think. On 9/27/07, BJörn Lindqvist <[EMAIL PROTECTED]> wrote: > On 9/27/07, Guido van Rossum <[EMAIL PROTECTED]> wrote: > > How about making IOError, OSError and EnvironmentError all aliases for > > the same thing? The distinction is really worthless historical > > baggage. > > Wouldn't it also be nice to have some subclasses of IOError like > FileNotFoundError, IOPermissionError and EOFError? Often that would be > easier than having to use the errno attribute to find out the exact > cause. > > -- > mvh Björn >
-- --Guido van Rossum (home page: http://www.python.org/~guido/) _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com