[Python-ideas] Smart/Curly Quote Marks and cPython
Mikhail V
mikhailwas at gmail.com
Thu Oct 27 19:06:30 EDT 2016
On 27 October 2016 at 21:51, M.-A. Lemburg <mal at egenix.com> wrote:
> On 27.10.2016 20:28, Mikhail V wrote:
>> So what about curly quotes? This would make at
>> least some sense, regardless of unicode.
>
> -1. This would break code using curly quotes in string literals,
> break existing Python IDEs and parsers.
>
> BTW: I have yet to find a keyboard which allows me to enter
> such quotes. I think you simply have to accept that MS Word is
> not a supported editor for Python applications ;-)
>
> --
> Marc-Andre Lemburg
Hehe :)
For me, putting them in is simply as having this
in my vimrc config:
inoremap <C-o> <C-V>147
inoremap <C-p> <C-V>148
Currently I don't become code from outer applications
so I type them in, so for new code it will not cause
much problems. For old code I think it not so infeasible
to make batch convert to the new format.
AND you know, even in VIM with its spartanic "Courier New"
monowidth font, those quotes look sooo much better, that
I really want it. And in my code there tons of quotes
in concatenating string for console commands.
So I am +1 on this, but of course I cannot argue that it
is very "uncomfortable" change in general.
Mikhail
More information about the Python-ideas
mailing list