Message411629
> 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. |
|
Date |
User |
Action |
Args |
2022-01-25 16:45:46 | pablogsal | set | recipients:
+ pablogsal, lys.nikolaou, BTaskaya, tusharsadhwani |
2022-01-25 16:45:46 | pablogsal | set | messageid: <1643129146.04.0.389744719114.issue46521@roundup.psfhosted.org> |
2022-01-25 16:45:46 | pablogsal | link | issue46521 messages |
2022-01-25 16:45:45 | pablogsal | create | |
|