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 serhiy.storchaka
Recipients ezio.melotti, gregory.p.smith, mbussonn, mrabarnett, serhiy.storchaka
Date 2019-12-09.07:32:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1575876774.47.0.446740161048.issue38981@roundup.psfhosted.org>
In-reply-to
Content
I am not sure about the new name. "re" is an abbreviation, so if include it in the exception name it should be "RE". I am not sure what name is better: RECompileError, REParseError, RESyntaxError, REError, CompileError, ParseError, SyntaxError or Error.

json raises JSONDecodeError, ElementTree raises ParseError, other xml modules raise ExpatError, csv raises Error, configparser raises subclasses of Error.

Many modules (at least 18: aifc, binhex, concurrent.futures, configparser, copy, cvs, ftplib, locale, mailbox, shutil, sqlite, sunau, test.support, uu, wave, webbrowser, xdrlib, xmlrpc.client) have an exception named just Error for module-specific errors.
History
Date User Action Args
2019-12-09 07:32:54serhiy.storchakasetrecipients: + serhiy.storchaka, gregory.p.smith, ezio.melotti, mrabarnett, mbussonn
2019-12-09 07:32:54serhiy.storchakasetmessageid: <1575876774.47.0.446740161048.issue38981@roundup.psfhosted.org>
2019-12-09 07:32:54serhiy.storchakalinkissue38981 messages
2019-12-09 07:32:54serhiy.storchakacreate