[Python-Dev] PEP 215 redux: toward a simplified consensus?

Jeff Epler jepler@unpythonic.dhs.org
Mon, 25 Feb 2002 16:34:49 -0600

On Mon, Feb 25, 2002 at 11:27:49PM +0100, Martin v. Loewis wrote:
> Paul Prescod <paul@prescod.net> writes:
> > I think you go through and remove the "$" signs (probably at the same
> > time you are removing "_") and use a runtime function to do the
> > translation (probably the same function doing the interpolation).
> I could not accept any solution that cannot offer anything but this.
> This kind of interpolation is plain broken.

Exactly.  Why spend all this time and effort complicating the Python
parser and compiler, only to find that all real-world programs just
instead implement the feature inside a function call?