PyWart: Namespace asinitiy and the folly of the global statement

Michael Torrie torriem at gmail.com
Fri Feb 8 23:25:15 EST 2013


On 02/08/2013 04:45 AM, Steven D'Aprano wrote:
> Rick Johnson wrote:
>> Of course in this simplistic example we can see that count is @ module
>> level
> 
> But it isn't. It is a local variable.
> 
> Rick, I appreciate your honesty in telling us that you have no idea how to
> read Python code and recognise which namespace the variables are found in,
> but you really shouldn't assume others suffer under that same affliction.

Very interesting to hear the crickets chirping over this one as the
trolling continues on another thread.  Rick seems to know his stuff
about Tk programming, but his knowledge of programming language theory
and formal computing seems quite informal.



More information about the Python-list mailing list