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 terry.reedy
Recipients Hibou57, Mariatta, Roscoe R. Higgins, brett.cannon, cheryl.sabella, docs@python, ezio.melotti, nanjekyejoannah, terry.reedy, veky
Date 2020-07-05.21:13:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1593983595.16.0.890379631991.issue26205@roundup.psfhosted.org>
In-reply-to
Content
At any one time, the language and interpreter sees the local scopes of enclosing functions as collectively 'nonlocal' for the purpose of accessing and rebinding.  If there are bindings of a name 'x' in multiple enclosing local scopes, the binding for 'x' in the synthesized 'nonlocal' is the innermost one.
History
Date User Action Args
2020-07-05 21:13:15terry.reedysetrecipients: + terry.reedy, brett.cannon, ezio.melotti, docs@python, veky, Hibou57, Roscoe R. Higgins, Mariatta, cheryl.sabella, nanjekyejoannah
2020-07-05 21:13:15terry.reedysetmessageid: <1593983595.16.0.890379631991.issue26205@roundup.psfhosted.org>
2020-07-05 21:13:15terry.reedylinkissue26205 messages
2020-07-05 21:13:15terry.reedycreate