[Python-Dev] SyntaxError: can't assign to function call
"Martin v. Löwis"
martin at v.loewis.de
Thu Aug 10 10:35:18 CEST 2006
Neal Becker schrieb:
> 1) Should assignment to a temporary object be allowed?
Unlike Michael, I think the question does make sense, and
the answer is "no", for the reason Michael gave: you assign
to names, not to objects.
> 2) Should the syntax for creation of a temporary object be a constructor
> call?
Now, *that* question makes no sense. Why do you need special syntax
to create a temporary object?
Regards,
Martin
More information about the Python-Dev
mailing list