[issue17087] Improve the repr for regular expression match objects
Claudiu.Popa
report at bugs.python.org
Thu Oct 17 08:19:16 CEST 2013
Claudiu.Popa added the comment:
I could use self->pattern->logical_size, but it seems that I still need the call to getstring for bytes & co, to obtain the view to the underlying buffer (otherwise the group0 part from the repr will contain random bytes). I didn't find a simpler way to achieve this.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17087>
_______________________________________
More information about the Python-bugs-list
mailing list