[Python-ideas] Smart/Curly Quote Marks and cPython

Chris Angelico rosuav at gmail.com
Sat Oct 22 18:00:14 EDT 2016


On Sun, Oct 23, 2016 at 3:32 AM, Nick Coghlan <ncoghlan at gmail.com> wrote:
> Looking for particular Unicode confusables when post-processing
> SyntaxErrors seems like a reasonable idea to me - that's how we ended
> up implementing the heuristic that reports "Missing parenthesis in
> call to print" when folks attempt to run Python 2 code under Python 3.
>

+1, big time. There are a few tricks you can easily teach people
("syntax error on line X might actually be on the previous line"), but
the more that the language can help with, the better.

ChrisA


More information about the Python-ideas mailing list