[issue44786] test_check_c_globals "crashed" and then "FutureWarning: Possible nested set at position 12"

Serhiy Storchaka report at bugs.python.org
Wed Sep 15 10:08:19 EDT 2021


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

Yes, [[] looks as the start of a character set containing nested sets (e.g. "[[a-z]--[p-q]]"). This feature is supported by regex and can be added in future versions of re, breaking the code which contain such combinations.

----------

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


More information about the Python-bugs-list mailing list