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

Antoon Pardon apardon at forel.vub.ac.be
Fri Jan 14 04:55:06 EST 2005


Op 2005-01-14, Fredrik Lundh schreef <fredrik at pythonware.com>:
> Paul Rubin wrote:
>
>>> > 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.
>
> no, expressions CAN BE USED as statements.  that doesn't mean
> that they ARE statements, unless you're applying belgian logic.

No I am applying set logic. Any string that is in the set of
valid expressions is also in the set of valid statements.

Like any animal that is in the set of dogs is also in the
set of mamals. 

-- 
Antoon Pardon



More information about the Python-list mailing list