[Python-Dev] OSError.errno => exception hierarchy?
benjamin at python.org
Thu Apr 2 22:25:09 CEST 2009
2009/4/2 Gustavo Carneiro <gjcarneiro at gmail.com>:
> Apologies if this has already been discussed.
I don't believe it has ever been discussed to be implemented.
> Apparently no one has bothered yet to turn OSError + errno into a hierarchy
> of OSError subclasses, as it should. What's the problem, no will to do it,
> or no manpower?
Python doesn't need any more builtin exceptions to clutter the
namespace. Besides, what's wrong with just checking the errno?
More information about the Python-Dev