[issue30605] re.compile fails when compiling bytes under `-bb` mode

2017-06-15 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: backport needed -> resolved status: open -> closed ___ Python tracker ___ __

[issue30605] re.compile fails when compiling bytes under `-bb` mode

2017-06-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 523a243840feb4d5f444a1b128e540876afac3d2 by Serhiy Storchaka in branch '3.6': [3.6] bpo-30605: Fix compiling binary regexs with BytesWarnings enabled. (GH-2016) (#2214) https://github.com/python/cpython/commit/523a243840feb4d5f444a1b128e540876a

[issue30605] re.compile fails when compiling bytes under `-bb` mode

2017-06-15 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +2258 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue30605] re.compile fails when compiling bytes under `-bb` mode

2017-06-09 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- stage: patch review -> backport needed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue30605] re.compile fails when compiling bytes under `-bb` mode

2017-06-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 171b9a354e816eebc6d4c3a8553303942e9c5025 by Serhiy Storchaka (Roy Williams) in branch 'master': bpo-30605: Fix compiling binary regexs with BytesWarnings enabled. (#2016) https://github.com/python/cpython/commit/171b9a354e816eebc6d4c3a8553303942

[issue30605] re.compile fails when compiling bytes under `-bb` mode

2017-06-08 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka nosy: +serhiy.storchaka stage: -> patch review type: -> behavior ___ Python tracker ___

[issue30605] re.compile fails when compiling bytes under `-bb` mode

2017-06-08 Thread Roy Williams
Changes by Roy Williams : -- pull_requests: +2081 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue30605] re.compile fails when compiling bytes under `-bb` mode

2017-06-08 Thread Roy Williams
Roy Williams added the comment: Repro: ``` import re re.compile(br'^(.*?)$(?m)') ``` Results in ``` Traceback (most recent call last): File "test_compile.py", line 2, in re.compile(br'^(.*?)$(?m)') File "/usr/lib/python3.6/re.py", line 233, in compile return _compile(pattern, flags

[issue30605] re.compile fails when compiling bytes under `-bb` mode

2017-06-08 Thread Roy Williams
New submission from Roy Williams: import re re.compile(br'^(.*?)$(?m)') -- components: Regular Expressions messages: 295473 nosy: Roy Williams, ezio.melotti, mrabarnett priority: normal severity: normal status: open title: re.compile fails when compiling bytes under `-bb` mode versions: