[Python-Dev] thoughts on having EOFError inherit from EnvironmentError?
solipsis at pitrou.net
Fri Apr 18 11:13:05 CEST 2008
Greg Ewing <greg.ewing <at> canterbury.ac.nz> writes:
> Really? Nobody else wants a convenient way to
> distinguish program bugs from exceptions caused
> by external factors?
Why do you want to derive program bugs from EnvironmentError ? Usually I derive
them from ValueError, RuntimeError or simply Exception.
More information about the Python-Dev