[issue38981] better name for re.error Exception class.

Gregory P. Smith report at bugs.python.org
Sat Dec 7 15:37:37 EST 2019


Gregory P. Smith <greg at krypto.org> added the comment:

Strictly speaking not all of those _need_ to be touched given the old name is always going to exist for backwards compatibility.  But I agree that we should update them as part of this regardless.

I'd go forward with a PR.

The only fallout I expect a change like this to have on users is in the very odd test scenario where someone has hardcoded the error name in a string.  That is rare, especially for an re.error which is generally not an expected exception.

----------
nosy: +gregory.p.smith

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38981>
_______________________________________


More information about the Python-bugs-list mailing list