Message175703
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). |
|
Date |
User |
Action |
Args |
2012-11-16 18:53:46 | ezio.melotti | set | recipients:
+ ezio.melotti, brett.cannon, cvrebert, asvetlov, chris.jerdonek, maker, eric.snow |
2012-11-16 18:53:46 | ezio.melotti | set | messageid: <1353092026.69.0.546300038241.issue15767@psf.upfronthosting.co.za> |
2012-11-16 18:53:46 | ezio.melotti | link | issue15767 messages |
2012-11-16 18:53:46 | ezio.melotti | create | |
|