See my response to Mark's e-mail. I agree that special-casing outermost strings is not generic enough of a solution and will be removing this special handling from the PEP and the implementation.
- Ł > On Nov 19, 2017, at 2:38 PM, Koos Zevenhoven <k7ho...@gmail.com> wrote: > > On Mon, Nov 13, 2017 at 11:59 PM, Brett Cannon <br...@python.org > <mailto:br...@python.org>> wrote: > [..] > On Sun, Nov 12, 2017, 10:22 Koos Zevenhoven, <k7ho...@gmail.com > <mailto:k7ho...@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/150642.html> > https://mail.python.org/pipermail/python-dev/2017-November/150637.html > <https://mail.python.org/pipermail/python-dev/2017-November/150637.html> > > -- Koos > > > -- > + Koos Zevenhoven + http://twitter.com/k7hoven <http://twitter.com/k7hoven> + > _______________________________________________ > Python-Dev mailing list > Python-Dev@python.org > https://mail.python.org/mailman/listinfo/python-dev > Unsubscribe: > https://mail.python.org/mailman/options/python-dev/lukasz%40langa.pl
signature.asc
Description: Message signed with OpenPGP
_______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com