[issue47152] Reorganize the re module sources
Serhiy Storchaka
report at bugs.python.org
Mon Apr 4 15:39:40 EDT 2022
Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:
> Match.regs is an undocumented attribute, it seems it has existed since 1991.
Can it be removed?
It was kept for compatibility with the pre-SRE implementation of the re module. It was an implementation detail in the original Python code, but I am sure that somebody still uses it. I am sure some code still use it. If we are going to remove it, it needs to be deprecated first.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue47152>
_______________________________________
More information about the Python-bugs-list
mailing list