This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pablogsal
Recipients Anthony Sottile, BTaskaya, gaborjbernat, lys.nikolaou, pablogsal, serhiy.storchaka
Date 2020-04-24.21:02:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <[email protected]>
In-reply-to
Content
With the old parser it works:

~/github/python/master master*
❯ ./python -X oldparser t.py
3.9.0a5+ (heads/master:503de7149d, Apr 24 2020, 22:02:28)
[GCC 9.3.0]

SyntaxError:
- line: 8
- offset: 8
- text: "    '''\n\ndef bar():\n    pass\n\ndef baz():\n    '''quux'''\n"


~/github/python/master master*
❯ ./python  t.py
3.9.0a5+ (heads/master:503de7149d, Apr 24 2020, 22:02:28)
[GCC 9.3.0]

SyntaxError:
- line: 8
- offset: 52
- text: "    '''"
History
Date User Action Args
2020-04-24 21:02:53pablogsalsetrecipients: + pablogsal, serhiy.storchaka, Anthony Sottile, lys.nikolaou, gaborjbernat, BTaskaya
2020-04-24 21:02:53pablogsalsetmessageid: <[email protected]>
2020-04-24 21:02:53pablogsallinkissue40335 messages
2020-04-24 21:02:53pablogsalcreate