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, python-dev, serhiy.storchaka
Date 2016-10-09.03:03:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1475982234.13.0.288430769834.issue28214@psf.upfronthosting.co.za>
In-reply-to
Content
The following seem like a reasonable starting point to me:

TypeError: Failed to set name on 'BadIdea' instance 'attr' in 'NotGoingToWork': 'NoneType' object is not callable

TypeError: Failed to set name on 'FaultyImplementation' instance 'attr' in 'TheoreticallyCouldWork': ZeroDivisionError: division by zero


That is, the error message format would be along the lines of:

    f"Failed to set name on {type(the_attr).__name__!r} instance {the_attr_name!r} in {class_being_defined.__name__!r}: {str(raised_exc)}"
History
Date User Action Args
2016-10-09 03:03:54ncoghlansetrecipients: + ncoghlan, python-dev, eric.snow, serhiy.storchaka, Martin.Teichmann, Tim.Graham, Martin Teichmann
2016-10-09 03:03:54ncoghlansetmessageid: <1475982234.13.0.288430769834.issue28214@psf.upfronthosting.co.za>
2016-10-09 03:03:54ncoghlanlinkissue28214 messages
2016-10-09 03:03:53ncoghlancreate