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 <rep...@bugs.python.org> <http://bugs.python.org/issue11957> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com