python and macros (again) [Was: python3: 'where' keyword]

Steve Holden steve at holdenweb.com
Fri Jan 14 17:24:37 EST 2005


Paul Rubin wrote:

> "Fredrik Lundh" <fredrik at pythonware.com> writes:
> 
>>>Huh?  Expressions are not statements except when they're "expression
>>>statements"?  What kind of expression is not an expression statement?
>>
>>any expression that is used in a content that is not an expression statement,
>>of course.
> 
> 
> Come on, that is vacuous.  The claim was "expressions are not
> statements".  But it turns out that expressions ARE statements.  The
> explanation is "well, that's because they're expression statements".
> And there is no obvious case of an expression that can't be used as a
> statement.  So it's not inherently obvious that there needs to be any
> kind of statement that can't be used as an expression.  It's just an
> artifact.  Whether the artifact is a desirable one is a matter of
> discussion.

Excuse me, coould we get back to discussing how many angels can dance on 
the head of a pin?

or-something-interesting-like-that-sly y'rs  - steve
-- 
Steve Holden               http://www.holdenweb.com/
Python Web Programming  http://pydish.holdenweb.com/
Holden Web LLC      +1 703 861 4237  +1 800 494 3119



More information about the Python-list mailing list