[Python-Dev] Utopian String Interpolation

Barry A. Warsaw barry@zope.com
Thu, 17 Jan 2002 10:39:30 -0500


>>>>> "MAL" == M  <mal@lemburg.com> writes:

    MAL> It is. Currently Python strings are just that: immutable
    MAL> strings.  Now, you suddenly add dynamics to then. This will
    MAL> cause nightmares in terms of security. Note that Python
    MAL> hasn't really had a need for Perl's "taint" because of
    MAL> this. I wouldn't want to see that change in any way.

Bingo!

    MAL> I've jumped in at a rather late point. Perhaps you ought to
    MAL> rewind the discussion then and start discussing in a
    MAL> different direction :-) E.g. about the syntax to be used in
    MAL> the interpolation and where, when and in which context to
    MAL> evaluate the strings.

Proponants of this feature can start by updating the PEP.

-Barry