This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author georg.brandl
Recipients georg.brandl, orsenthil, siona, terry.reedy
Date 2009-09-18.07:18:15
SpamBayes Score 0.00033687698
Marked as misclassified No
Message-id <1253258297.44.0.347234509598.issue6925@psf.upfronthosting.co.za>
In-reply-to
Content
I'm sorry, I messed up the test.  When "x" is not used in g(), it's of
course *not* a free variable in g.  This is the correct test:

def f():
  x = 1
  def g():
    print x
    print locals()
  g()
f()
History
Date User Action Args
2009-09-18 07:18:17georg.brandlsetrecipients: + georg.brandl, terry.reedy, orsenthil, siona
2009-09-18 07:18:17georg.brandlsetmessageid: <1253258297.44.0.347234509598.issue6925@psf.upfronthosting.co.za>
2009-09-18 07:18:16georg.brandllinkissue6925 messages
2009-09-18 07:18:15georg.brandlcreate