Fredrik Lundh wrote: > Antoon Pardon wrote: > > > One place where I would use such a feature is in a unittest > > package. I think being able to write self.assert or self.raise > > looks better than having to append an underscore. > > patch here: > > http://mail.python.org/pipermail/python-list/2001-June/047996.html > > </F>
Heh. Imagine how much more fun the introduction of conditional expressions and the yield statement -> yield expression transition in Python 2.5 would have been if Python 2.4 had used this behaviour :) Cheers, Nick. -- http://mail.python.org/mailman/listinfo/python-list