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 vstinner
Recipients gvanrossum, lys.nikolaou, pablogsal, vstinner
Date 2020-05-07.23:48:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1588895336.21.0.583196255938.issue40555@roundup.psfhosted.org>
In-reply-to
Content
autopep8 test suite does crash on Python 3.9.0a6. The bug can be reproduced with:

Python 3.9.0a6+ (heads/master:b7a78ca74a, May  8 2020, 01:46:01) 
[GCC 10.0.1 20200430 (Red Hat 10.0.1-0.14)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> compile('"\\xhh" \\',  '<string>', 'exec', dont_inherit=True)
python: Objects/typeobject.c:984: type_call: Assertion `!_PyErr_Occurred(tstate)' failed.
 Abandon (core dumped)

It seems like p->error_condition should be checked more often in Parser/pegen/parse.c.
History
Date User Action Args
2020-05-07 23:48:56vstinnersetrecipients: + vstinner, gvanrossum, lys.nikolaou, pablogsal
2020-05-07 23:48:56vstinnersetmessageid: <1588895336.21.0.583196255938.issue40555@roundup.psfhosted.org>
2020-05-07 23:48:56vstinnerlinkissue40555 messages
2020-05-07 23:48:55vstinnercreate