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 BTaskaya, lys.nikolaou, pablogsal, tusharsadhwani
Date 2022-01-25.16:05:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1643126704.29.0.699102148118.issue46521@roundup.psfhosted.org>
In-reply-to
Content
This is due to the fact that the new parser doesn't detect the syntax error of "abc def" after it has parsed the full text, but before that happens, the tokenizer has detected a problem (the ''' is not closed) and this is considered incomplete output for code (the same if you do code.compile_command('"""')).

Unfortunately, this is not easy to fix once we have the tokenizer error in place so I am afraid we probably need to close this as "won't fix", unless someone has a good idea on how to accommodate for this case.
History
Date User Action Args
2022-01-25 16:05:04pablogsalsetrecipients: + pablogsal, lys.nikolaou, BTaskaya, tusharsadhwani
2022-01-25 16:05:04pablogsalsetmessageid: <1643126704.29.0.699102148118.issue46521@roundup.psfhosted.org>
2022-01-25 16:05:04pablogsallinkissue46521 messages
2022-01-25 16:05:04pablogsalcreate