Antoine Pitrou wrote:
> This deserves its own PEP IMO, although I'm not sure it would be accepted 
> (ISTR the idea of a detailed IO exception hierarchy was already refused 
> in the past).

Not as such - a big exception hierarchy rewrite was rejected, but
nothing specifically limited to the IO exceptions.

Michael's response cut to the heart of the issue though - a richer IO
exception hierarchy can make life interesting for compatibility purposes
(especially when creating "file-like" interfaces to non-file objects).

Cheers,
Nick.

-- 
Nick Coghlan   |   ncogh...@gmail.com   |   Brisbane, Australia
---------------------------------------------------------------
_______________________________________________
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

Reply via email to