[issue30349] Preparation for advanced set syntax in regular expressions

Philippe Ombredanne report at bugs.python.org
Tue Sep 21 05:51:26 EDT 2021


Philippe Ombredanne <pombredanne at nexb.com> added the comment:

Sorry, my comment was at best nonsensical gibberish!

I meant to say that this warning message should include the actual regex at fault; otherwise it is hard to fix when the regex in question comes from some data structure like a list; then the line number where the warning occurs is not enough to fix the issue; the code needs to be instrumented first to catch warning which is rather heavy handed to handle a warning.

----------

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


More information about the Python-bugs-list mailing list