Python handles globals badly.

Steven D'Aprano steve at pearwood.info
Sun Sep 13 14:06:33 CEST 2015


On Sun, 13 Sep 2015 10:04 pm, Skybuck Flying wrote:

> "
> Namespaces don't "become writeable".
> 
> The purpose of "global" is to tell the compiler that this name should
> be bound in the global namespace, not the local namespace.
> "
> 
> How does it become writeable then ?

It's always writeable.






-- 
Steven



More information about the Python-list mailing list