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 ncoghlan
Recipients Martin Teichmann, Martin.Teichmann, Tim.Graham, eric.snow, ncoghlan, serhiy.storchaka
Date 2016-09-21.08:57:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Good catch Serhiy - I'd completely missed that in the original review, and definitely agree we should make that fix independently of the exception chaining idea.

While that correction will fix the specific __getattr__ example given, we still have the problem of actual errors in looking up __set_name__ on the class (e.g. in a metaclass or in __getattribute__) and errors when calling it being hard to debug, as the traceback will point to the class header without giving the name of the offending attribute.
Date User Action Args
2016-09-21 08:57:43ncoghlansetrecipients: + ncoghlan, eric.snow, serhiy.storchaka, Martin.Teichmann, Tim.Graham, Martin Teichmann
2016-09-21 08:57:43ncoghlansetmessageid: <>
2016-09-21 08:57:43ncoghlanlinkissue28214 messages
2016-09-21 08:57:43ncoghlancreate