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 diekhans
Recipients diekhans, rhettinger
Date 2017-11-09.04:56:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <23043.57331.964256.94948@gargle.gargle.HOWL>
In-reply-to <1510202955.22.0.213398074469.issue31989@psf.upfronthosting.co.za>
Content
The trackback is not helpful if the attribute name is in a
variable.  It also doesn't explain why the error occurred.

While I would not rate this as a high priority, I don't see an
argument for having uninformative error messages.

Raymond Hettinger <report@bugs.python.org> writes:
> 
> Raymond Hettinger <raymond.hettinger@gmail.com> added the comment:
> 
> Usually, all the necessary information is present in the previous line of the traceback:
> 
>     >>> a.volume = 10
>     Traceback (most recent call last):
>       File "<pyshell#6>", line 1, in <module>
>         a.volume = 10
>     AttributeError: can't set attribute
> 
> I don't seem to recall anyone else having problems with this error message.
> 
> ----------
> nosy: +rhettinger
> 
> _______________________________________
> Python tracker <report@bugs.python.org>
> <https://bugs.python.org/issue31989>
> _______________________________________
History
Date User Action Args
2017-11-09 04:56:24diekhanssetrecipients: + diekhans, rhettinger
2017-11-09 04:56:24diekhanslinkissue31989 messages
2017-11-09 04:56:24diekhanscreate