Richard,
> Assuming that one language works like another is a danger
Abitrarily redefining words and using misnomers is another ... ("global"
and "nonlocal" respecivily if you wonder)
> First, Python doesn't really have 'Variables' like a lot of other
> languages
> (they don't hold a bag of bytes), as Python names don't hold values, but
> are just references to objects which actually hold the value
That's a principle as old as programming languages itself I believe.
> If the name is never bound to something, then the name will be also looked
> for in the global namespace.
Can you give an example of that ? I currently cannot wrap my head around
what you could be meaning there - anything I can imagine simply doesn't make
any sense ...
Regards,
Rudy Wieser
--
https://mail.python.org/mailman/listinfo/python-list