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.17:12:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1643130752.45.0.0822022283189.issue46521@roundup.psfhosted.org>
In-reply-to
Content
> Can you help me figure out why this bug doesn't show up in the normal Python REPL?

That's because the normal Python REPL works very differently when in interactive mode. This is because the tokenizer in interactive mode is coupled with reading from standard input. 

We would need to somehow decouple this behaviour with interactive mode, allow a new option to the parser that allows activating this mode and then hook this to codeop module (and maybe other places).
History
Date User Action Args
2022-01-25 17:12:32pablogsalsetrecipients: + pablogsal, lys.nikolaou, BTaskaya, tusharsadhwani
2022-01-25 17:12:32pablogsalsetmessageid: <1643130752.45.0.0822022283189.issue46521@roundup.psfhosted.org>
2022-01-25 17:12:32pablogsallinkissue46521 messages
2022-01-25 17:12:32pablogsalcreate