[issue30896] BytesWarning in re module when compiling certain bytes patterns

2017-07-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your report Jelle, but this was fixed in issue30605. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker __

[issue30896] BytesWarning in re module when compiling certain bytes patterns

2017-07-10 Thread Jelle Zijlstra
New submission from Jelle Zijlstra: 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