Ulrich Eckhardt wrote:
t = Test() if (t == 'Vla': print t # must contain VlaWhat's wrong with that?It unnecessarily injects the name 't' into the scope.
Since there is no concept in Python of a scope local to block statements, I don't understant what you would like to happen instead.
-- http://mail.python.org/mailman/listinfo/python-list