Message298095
This code in sre_parse (line 738 and down):
warnings.warn(
'Flags not at the start of the expression %s%s' % (
source.string[:20], # truncate long regexes
' (truncated)' if len(source.string) > 20 else '',
),
DeprecationWarning, stacklevel=7
)
triggers a BytesWarning if you do `_line_re = re.compile(br'^(.*?)$(?m)')`.
The fix should be simple; I can try to get a PR in over the next few days. |
|
Date |
User |
Action |
Args |
2017-07-10 23:27:55 | JelleZijlstra | set | recipients:
+ JelleZijlstra, ezio.melotti, serhiy.storchaka |
2017-07-10 23:27:55 | JelleZijlstra | set | messageid: <1499729275.42.0.384122493933.issue30896@psf.upfronthosting.co.za> |
2017-07-10 23:27:55 | JelleZijlstra | link | issue30896 messages |
2017-07-10 23:27:55 | JelleZijlstra | create | |
|