New submission from Mark Diekhans <ma...@kermodei.com>:

done a setattr on a property gives a very unhelpful error message

   AttributeError: can't set attribute

it neither indicates the name of the attribute that failed or the cause.

an error such as "can't set property attribute: the_attr_name"

would be far more helpful.

----------
messages: 305933
nosy: diekhans
priority: normal
severity: normal
status: open
title: setattr on a property gives a very unhelpful exception
type: behavior
versions: Python 2.7, Python 3.4, Python 3.5, Python 3.6, Python 3.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue31989>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to