forked from python/cpython
-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
python/cpython
#19962Labels
3.9.0b1Needs to be fixed/implemented until the 3.9.0b1 releaseNeeds to be fixed/implemented until the 3.9.0b1 release
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
Metadata
Metadata
Assignees
Labels
3.9.0b1Needs to be fixed/implemented until the 3.9.0b1 releaseNeeds to be fixed/implemented until the 3.9.0b1 release