- E04 - Leadership! Google, Guido van Rossum, PSF

Mike Meyer mwm at mired.org
Fri Jan 6 20:23:27 CET 2006

Xavier Morel <xavier.morel at masklinn.net> writes:
> Ilias Lazaridis wrote:
>  > thus if I make a typo, I create a new attribute?
> Why yes of course, what were you expecting?

Actually, it's not quite that way. If you make a typo reading an
attribute, you'll create an exception. There are languages where
making a typo reading an exception creates the attribute, giving it
some default value.

Mike Meyer <mwm at mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

More information about the Python-list mailing list