Message295474
Repro:
```
import re
re.compile(br'^(.*?)$(?m)')
```
Results in
```
Traceback (most recent call last):
File "test_compile.py", line 2, in <module>
re.compile(br'^(.*?)$(?m)')
File "/usr/lib/python3.6/re.py", line 233, in compile
return _compile(pattern, flags)
File "/usr/lib/python3.6/re.py", line 301, in _compile
p = sre_compile.compile(pattern, flags)
File "/usr/lib/python3.6/sre_compile.py", line 562, in compile
p = sre_parse.parse(p, flags)
File "/usr/lib/python3.6/sre_parse.py", line 856, in parse
p = _parse_sub(source, pattern, flags & SRE_FLAG_VERBOSE, False)
File "/usr/lib/python3.6/sre_parse.py", line 415, in _parse_sub
itemsappend(_parse(source, state, verbose))
File "/usr/lib/python3.6/sre_parse.py", line 741, in _parse
' (truncated)' if len(source.string) > 20 else '',
BytesWarning: str() on a bytes instance
``` |
|
Date |
User |
Action |
Args |
2017-06-09 00:50:30 | Roy Williams | set | recipients:
+ Roy Williams, ezio.melotti, mrabarnett |
2017-06-09 00:50:30 | Roy Williams | set | messageid: <1496969430.93.0.0756716425776.issue30605@psf.upfronthosting.co.za> |
2017-06-09 00:50:30 | Roy Williams | link | issue30605 messages |
2017-06-09 00:50:30 | Roy Williams | create | |
|