tri = self.subcalculation("The quick brown fox jumps over the lazy dog")But it clutters the namespace with objects you don't need. So the complete equivalent would be more close to:
self.disentangle(0x40, tri, self.indent+1)
IMO this is clearer, and even shorter!
tri = self.subcalculation("The quick brown fox jumps over the lazy dog")
self.disentangle(0x40, tri, self.indent+1)
del tri
which seems a bit odd to me.
It wasn't me ;-) It seems this keeps getting back at you. Wish I had thought of this argument before.If we apply this to the anonymous block problem, we may end up finding lambda the ultimate compromise -- like a gentleman in the back of my talk last week at baypiggies observed (unfortunately I don't know his name).
--eric
_______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com