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 veky
Recipients Hibou57, Mariatta, Roscoe R. Higgins, brett.cannon, cheryl.sabella, docs@python, ezio.melotti, nanjekyejoannah, terry.reedy, veky
Date 2020-07-05.21:34:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
How is that different from saying that "At any one time, the language and interpreter sees all the scopes as one scope for the purpose of accessing and rebinding."? Any ChainMap presents itself as a dictionary to the outside. That doesn't mean it doesn't have an internal structure.

Yes, nonlocal picks the innermost one because of its semantics, but it still needs to search through the scopes in order to know which one to pick, right?
Date User Action Args
2020-07-05 21:34:31vekysetrecipients: + veky, brett.cannon, terry.reedy, ezio.melotti, docs@python, Hibou57, Roscoe R. Higgins, Mariatta, cheryl.sabella, nanjekyejoannah
2020-07-05 21:34:31vekysetmessageid: <>
2020-07-05 21:34:31vekylinkissue26205 messages
2020-07-05 21:34:31vekycreate