Closed
Description
Current Parser:
╰─ ./python
Python 3.9.0a5+ (heads/pegen:99a8e2fa08, Apr 9 2020, 16:19:04)
[GCC 9.2.1 20191008] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import warnings
>>> with warnings.catch_warnings(record=True) as w:
... warnings.simplefilter('always', category=DeprecationWarning)
... eval("'''\n\\z'''")
...
'\n\\z'
>>> len(w)
1
Pegen:
╰─ ./python -p new
Python 3.9.0a5+ (heads/pegen:99a8e2fa08, Apr 9 2020, 16:19:04)
[GCC 9.2.1 20191008] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import warnings
>>> with warnings.catch_warnings(record=True) as w:
... warnings.simplefilter('always', category=DeprecationWarning)
... eval("'''\n\\z'''")
...
'\n\\z'
>>> len(w)
2