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 eric.smith
Recipients camshaka, eric.smith
Date 2018-07-31.11:35:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1533036952.88.0.56676864532.issue34291@psf.upfronthosting.co.za>
In-reply-to
Content
Python thinks that `g` inside `f()` is a local variable. See https://stackoverflow.com/questions/9264763/unboundlocalerror-in-python#9264845 for an explanation.

This is working as intended.
History
Date User Action Args
2018-07-31 11:35:52eric.smithsetrecipients: + eric.smith, camshaka
2018-07-31 11:35:52eric.smithsetmessageid: <1533036952.88.0.56676864532.issue34291@psf.upfronthosting.co.za>
2018-07-31 11:35:52eric.smithlinkissue34291 messages
2018-07-31 11:35:52eric.smithcreate