This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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).
History
Date User Action Args
2012-11-16 18:53:46ezio.melottisetrecipients: + ezio.melotti, brett.cannon, cvrebert, asvetlov, chris.jerdonek, maker, eric.snow
2012-11-16 18:53:46ezio.melottisetmessageid: <1353092026.69.0.546300038241.issue15767@psf.upfronthosting.co.za>
2012-11-16 18:53:46ezio.melottilinkissue15767 messages
2012-11-16 18:53:46ezio.melotticreate