From: Yukihiro Matsumoto Date: 2010-12-24T14:45:41+09:00 Subject: Re: Undefined local variable? Hi, In message "Re: Undefined local variable?" on Fri, 24 Dec 2010 14:29:36 +0900, Zhi-Qiang Lei writes: |Why is there still NameError? Because name resolution for local variables are done in compile time. matz.