nicholas hekaovvrhmvagmailcom previous discussion httpmailpythonorgpipermailpythondev2005september056677html dont agree author 3 range11 pass 10 much less confusing returning 3 furthermore c example makes obvious available scope loop theres way know think mistakes would less frequent additionally others opinions pseudonamespace ie scoping slow admittedly dont know much current parsers implementation doesnt seem like scoping necessitates slow parsing considering done languages python functions reasonable scope def do_nothingi 3 do_nothing1 10 nicholas wed apr 16 2008 552 pm nicholas wrote hello times practice tripped python keeps variables scope loopand wasnt immediately obvious problem think one ugliest nonintuitive features hope others agree changed py3k range11 pass printa 10 thanks nicholas thu 07 aug 2008 112858 0700 python3000 end scope iteration variables loop