[Python-Dev] PEP 563: Postponed Evaluation of Annotations (original) (raw)

Koos Zevenhoven k7hoven at gmail.com
Sun Nov 19 17:38:56 EST 2017


On Mon, Nov 13, 2017 at 11:59 PM, Brett Cannon <brett at python.org> wrote: ​[..]​

On Sun, Nov 12, 2017, 10:22 Koos Zevenhoven, <k7hoven at gmail.com> wrote: ​​

There's two thing I don't understand here: * What does it mean to preserve the string verbatim? No matter how I read it, I can't tell if it's with quotes or without. Maybe I'm missing some context. I believe the string passes through unchanged (i.e. no quotes). Think of the PEP as simply turning all non-string annotations into string ones. ​Ok, maybe that was just wishful thinking on my part ;-).

More info in the other threads, for example:

https://mail.python.org/pipermail/python-dev/2017-November/150642.html https://mail.python.org/pipermail/python-dev/2017-November/150637.html

-- Koos

--



More information about the Python-Dev mailing list