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.

(if you have a problem figuring this out, try substituting other things for
"expressions" and "statements", and see if you still think that "can be
used as" and "are" are always the same thing.  try "fish" and "pillow",
for example).

> It's just an artifact.  Whether the artifact is a desirable one is a matter
> of discussion.

no, it's Python, and it's designed this way on purpose.  go read the
language reference.

</F> 



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to