[New-bugs-announce] [issue30147] change in interface for compiled regex.pattern
Greg Lindahl
report at bugs.python.org
Sun Apr 23 14:39:56 EDT 2017
New submission from Greg Lindahl:
The following script runs fine in python 3.6 and recently started failing the assertion in 3.7-dev and nightly
import re
r = re.compile(re.escape('/foo'))
print(r)
print(r.pattern)
assert r.pattern.startswith('\\/')
----------
components: Regular Expressions
messages: 292177
nosy: ezio.melotti, mrabarnett, wumpus
priority: normal
severity: normal
status: open
title: change in interface for compiled regex.pattern
versions: Python 3.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30147>
_______________________________________
More information about the New-bugs-announce
mailing list