[Python-Dev] Critique of PEP 501 (General purpose string interpolation)

Guido van Rossum guido at python.org
Sat Sep 5 17:48:05 CEST 2015


On Sat, Sep 5, 2015 at 5:11 AM, Nick Coghlan <ncoghlan at gmail.com> wrote:

> On 5 September 2015 at 13:04, Guido van Rossum <guido at python.org> wrote:
> > I think it's too much effort for too little gain.
> >
> > The motivation feels very weak; surely writing
> >
> >   os.system("echo " + message_from_user)
> >
> > is just as easy (as is the %s spelling), so the security issue can
> hardly be
> > blamed on PEP 498.
>
> That's fair - writing PEP 501 actually made *me* a lot more
> comfortable with PEP 498.
>
> Rather than asking for a pronouncement, I've marked 501 as Deferred -
> I still think it's potentially interesting, but I also think it's
> worth taking our time and seeing how far we can get with just eager
> rendering. If cases emerge where the lack of delayed rendering support
> is keenly felt, then it isn't hard to resurrect a deferred PEP.
>

Thank you. I agree with that assessment.

-- 
--Guido van Rossum (python.org/~guido)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20150905/d7ac94af/attachment.html>


More information about the Python-Dev mailing list