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:45:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1643129146.04.0.389744719114.issue46521@roundup.psfhosted.org>
In-reply-to
Content
> wontfix would really suck, because that would mean every REPL written with the `code` module will be broken, even IPython:

I understand, but I don't see a way to fix this without reverting the change to detect unclosed triple quites or without committing a lot of code to handle special cases.

Also notice that in your example with python, as soon as you close the quotes you get an error:

In [1]: asdf dsfsd """
   ...:
   ...:
   ...: """
  Input In [1]
    asdf dsfsd """
         ^
SyntaxError: invalid syntax

So is not as dramatic as you mention when you say "every REPL written with the `code` module will be broken". Although I understand it depends on the optics.
History
Date User Action Args
2022-01-25 16:45:46pablogsalsetrecipients: + pablogsal, lys.nikolaou, BTaskaya, tusharsadhwani
2022-01-25 16:45:46pablogsalsetmessageid: <1643129146.04.0.389744719114.issue46521@roundup.psfhosted.org>
2022-01-25 16:45:46pablogsallinkissue46521 messages
2022-01-25 16:45:45pablogsalcreate