[Python-Dev] thoughts on having EOFError inherit from EnvironmentError? (original) (raw)
Antoine Pitrou solipsis at pitrou.net
Fri Apr 18 11:13:05 CEST 2008
- Previous message: [Python-Dev] thoughts on having EOFError inherit from EnvironmentError?
- Next message: [Python-Dev] thoughts on having EOFError inherit from EnvironmentError?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Greg Ewing <greg.ewing 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.
- Previous message: [Python-Dev] thoughts on having EOFError inherit from EnvironmentError?
- Next message: [Python-Dev] thoughts on having EOFError inherit from EnvironmentError?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]