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 Camion
Recipients Camion, levkivskyi, r.david.murray, skrah
Date 2017-12-20.02:35:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1513737320.52.0.213398074469.issue32361@psf.upfronthosting.co.za>
In-reply-to
Content
Ivan, 

I believe, this sentence : "(the scope in which a new binding should be created cannot be determined unambiguously)" in https://docs.python.org/fr/3/reference/simple_stmts.html#nonlocal, is the one which should be clarified first, and then this would probably give the bases to improve the error message.
It raises the following concerns : 
  1/ Is it me or there is a nasty double negation in this sentence which make it tell the contrary of what it should ?
  2/ What are the conditions which would make such an ambiguity appear ? I wonder what the persons who wrote this had on their mind when they wrote it, but in regard with code reading/reviewing, my original example might be an example of such an ambiguous situation. Now the question is: are there others and what would they look like ?
History
Date User Action Args
2017-12-20 02:35:20Camionsetrecipients: + Camion, r.david.murray, skrah, levkivskyi
2017-12-20 02:35:20Camionsetmessageid: <1513737320.52.0.213398074469.issue32361@psf.upfronthosting.co.za>
2017-12-20 02:35:20Camionlinkissue32361 messages
2017-12-20 02:35:19Camioncreate