Nested scopes, and augmented assignment

Antoon Pardon apardon at forel.vub.ac.be
Thu Jul 6 03:13:05 EDT 2006


On 2006-07-05, Fredrik Lundh <fredrik at pythonware.com> wrote:
> Antoon Pardon wrote:
>
>> Python could have chosen an approach with a "nested" keyword
>
> sure, and Python could also have been invented by aliens, powered by 
> space potatoes, and been illegal to inhale in Belgium.

At one time one could have reacted the same when people suggested
python could use a ternary operator. In the mean time a ternary
operator is in the pipeline. If you don't want to discuss how
python could be different with me, that is fine, but I do no
harm discussing such things with others.

> have any of your "my mental model of how Python works is more important 
> than how it actually works" ever had a point ?

Be free to correct me. But just suggesting that I'm wrong doesn't help
me in changing my mental model.

-- 
Antoon Pardon



More information about the Python-list mailing list