[issue26475] Misleading debugging output for verbose regular expressions

2016-03-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 910d0256601f by Serhiy Storchaka in branch '3.5': Issue #26475: Fixed debugging output for regular expressions with the (?x) flag. https://hg.python.org/cpython/rev/910d0256601f New changeset b8928725e8cc by Serhiy Storchaka in branch '2.7': Issue #

[issue26475] Misleading debugging output for verbose regular expressions

2016-03-05 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue26475] Misleading debugging output for verbose regular expressions

2016-03-03 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: When the verbose mode is switched on by using the inline (?x) flag instead of re.VERBOSE argument, the debugging output is duplicated: once for non-verbose mode and then for verbose mode. >>> import re >>> re.compile(r' (?x)a', re.DEBUG) LITERAL 32 LITERAL