[issue47152] Reorganize the re module sources
Ma Lin
report at bugs.python.org
Tue Apr 5 00:26:39 EDT 2022
Ma Lin <malincns at 163.com> added the comment:
> cryptic name
In very early versions, "mark" was called register/region.
https://github.com/python/cpython/blob/v1.0.1/Modules/regexpr.h#L48-L52
If span is accessed repeatedly, it's faster than Match.span().
Maybe consider renaming it, and make it as public attribute.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue47152>
_______________________________________
More information about the Python-bugs-list
mailing list