> That kind of depends on what you mean by syntactic sugar. For instance, I > wouldn't call any of your examples syntactic sugar.
AFAIK that is exactly what syntactic sugar means. Apart from non-strictness, all syntax can be expressed by function application. Even foo.bar() is nothing but bar(self) So - he used the term right I'd say. Regards, Diez -- http://mail.python.org/mailman/listinfo/python-list