Message175703
| Author |
ezio.melotti |
| Recipients |
asvetlov, brett.cannon, chris.jerdonek, cvrebert, eric.snow, ezio.melotti, maker |
| Date |
2012年11月16日.18:53:46 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1353092026.69.0.546300038241.issue15767@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
That seems indeed to be the case with built-in exceptions. I'm not sure if it's intentional or just a coincidence. I agree that warnings should always have a "Warning" suffix to distinguish them from exceptions, but in the stdlib the "Error" suffix is not used consistently. There are exceptions like: FloatOperation, DivisionByZero, InvalidOperation, TimeoutExpired, BrokenProcessPool, BufferTooShort, ImproperConnectionState, UnknownProtocol, InvalidURL, etc..
Anyway I don't have a strong opinion about this, so if you think the name should be ModuleNotFoundError it's OK with me (i.e. I'm -0). |
|