[Python-3000] Brainstorming: Python Metaprogramming

Terry Reedy tjreedy at udel.edu
Mon Apr 24 08:57:30 CEST 2006


"Talin" <talin at acm.org> wrote in message 
news:loom.20060423T222618-765 at post.gmane.org...
> For some reason, I have stuck in my head the idea that this concept of 
> 'quoting'
> is central to the whole business

I agree.  And in Python, the main means of implicit (unwritten) quoting is 
to use a statement instead of an expression.  For instance, a=b <=> 
set('a', b) and import xyz <=> xyz = __import__('xyz').  In a def 
statement, everything is quoted *except* the default arg expressions.  But 
I am not sure how this understanding helps you.

Terry Jan Reedy







More information about the Python-3000 mailing list