RFC PEP candidate: q'<delim>'quoted<delim> ?

Chris Gonnerman chris.gonnerman at newcenturycomputers.net
Thu Mar 7 09:09:52 EST 2002


Ugly.  You state that code like this:

def somefunc():
    astring = """this is the first line
this is the second"""

... is ugly.  Fine, but IMHO so is the proposed syntax.

Recall always that the charm of Python is it's simplicity.  Even with the
new language features added in 2.1 and 2.2, a "bear of little brain" can
remember all the rules more or less at the same time.

I am against pasting and patching one after another new language construct,
syntax sweetener, etc. to Python because it detracts from that core
simplicity
each and every time.

This is why I am against incorporating the "$varname" interpolation
operator.
At least, IMHO it is not ugly.

There seem to be a never-ending stream of new language feature proposals.
Praise Guido they don't all get incorporated!

(Don't take this personally.  I've had my share of similar ideas; we all
think we are like Guido and can improve the language.  Learning to trust his
language-design skills was hard, but rewarding.)






More information about the Python-list mailing list