[issue28765] _sre.compile(): be more strict on types of indexgroup and groupindex
STINNER Victor
report at bugs.python.org
Tue Nov 22 17:21:36 EST 2016
STINNER Victor added the comment:
sre_compile_remove_groups.patch removes the groups parameter from _sre.compile(). A first step to simplify the API.
I prefer to keep most of the code in pure Python, to have code easier to maintain. So I prefer to not accept only groupindex. I prefer to build both (indexgroup, groupindex) in pure Python and pass them to the C code.
I pushed my patch sre_types.patch.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28765>
_______________________________________
More information about the Python-bugs-list
mailing list