[issue11957] re.sub confusion between count and flags args

Valentina Mukhamedzhanova report at bugs.python.org
Sat Jul 6 13:36:01 CEST 2013


Valentina Mukhamedzhanova added the comment:

Please see my patch, I have changed flags to be instances of IntEnum and added a check to re.sub, re.subn and re.split. The patch contains some tests. This solution also allowed me to discover several bugs in the standard library, and I am going to create tickets for them shortly.

----------
nosy: +umi
Added file: http://bugs.python.org/file30801/patch_11957

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11957>
_______________________________________


More information about the Python-bugs-list mailing list