[issue28070] 3.6 regression: re.compile not handling flags with X correctly

2016-09-11 Thread Chi Hsuan Yen
Chi Hsuan Yen added the comment: Thanks for such a quick fix! -- ___ Python tracker ___ ___ Python-bugs-list

[issue28070] 3.6 regression: re.compile not handling flags with X correctly

2016-09-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your report Chi Hsuan Yen! -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker

[issue28070] 3.6 regression: re.compile not handling flags with X correctly

2016-09-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset bee52e5f8fb1 by Serhiy Storchaka in branch 'default': Issue #28070: Fixed parsing inline verbose flag in regular expressions. https://hg.python.org/cpython/rev/bee52e5f8fb1 New changeset 842e75f0e592 by Serhiy Storchaka in branch '3.5': Backported

[issue28070] 3.6 regression: re.compile not handling flags with X correctly

2016-09-10 Thread SilentGhost
SilentGhost added the comment: I get normal behaviour on e3dbe8b7279a -- nosy: +SilentGhost ___ Python tracker ___

[issue28070] 3.6 regression: re.compile not handling flags with X correctly

2016-09-10 Thread Chi Hsuan Yen
New submission from Chi Hsuan Yen: This test script: import re print(re.compile(r'(?ix)A').flags == re.I | re.X | re.U) print(re.compile(r'(?ix)A').flags == re.X | re.U) print(re.compile(r'(?im)A').flags == re.I | re.M | re.U) gives False, True, True on default:b28b37de9470+. Python 3.5.2