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 Frederick.Ross
Recipients Frederick.Ross
Date 2012-05-23.16:19:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1337789976.83.0.562394292273.issue14891@psf.upfronthosting.co.za>
In-reply-to
Content
The following code throws an UnboundLocal error:

def f(x):
    def g():
        x = x + "a"
        return x
    return g()
f("b")
History
Date User Action Args
2012-05-23 16:19:36Frederick.Rosssetrecipients: + Frederick.Ross
2012-05-23 16:19:36Frederick.Rosssetmessageid: <1337789976.83.0.562394292273.issue14891@psf.upfronthosting.co.za>
2012-05-23 16:19:36Frederick.Rosslinkissue14891 messages
2012-05-23 16:19:36Frederick.Rosscreate