Are Python's reserved words reserved in places they dont need to be?

NickC ncoghlan at gmail.com
Fri Sep 15 10:02:21 EDT 2006


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.




More information about the Python-list mailing list