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 George Jenkins
Recipients George Jenkins, ajaksu2, berker.peksag, doerwalter, ezio.melotti, pitrou, r.david.murray, rhettinger, sdementen
Date 2015-06-27.15:55:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1435420541.05.0.703528089648.issue1182143@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks for the response.

In terms of python API changes - I exposed the 'name' attribute on UnboundLocalError and NameError exceptions. 

(This can be seen (& is verified) by the changes to test_exceptions.py exceptions test cases in the patch)

In terms of the wider changes in the patch - I factored UnboundLocalError and NameError to have specific native implementations, rather than been based off SimpleExtendsException. And thus able to accept the name of the variable causing the exception.

And I agree with your comment on the exact API never been agreed on. Since there are now native implementations of UnboundLocalError and NameError, I can happily change their implementation to expose whatever can be decided to be better (comments?!)

Thanks, George
History
Date User Action Args
2015-06-27 15:55:41George Jenkinssetrecipients: + George Jenkins, doerwalter, rhettinger, sdementen, pitrou, ajaksu2, ezio.melotti, r.david.murray, berker.peksag
2015-06-27 15:55:41George Jenkinssetmessageid: <1435420541.05.0.703528089648.issue1182143@psf.upfronthosting.co.za>
2015-06-27 15:55:41George Jenkinslinkissue1182143 messages
2015-06-27 15:55:40George Jenkinscreate