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 xiang.zhang
Recipients abarry, r.david.murray, xiang.zhang, ztane
Date 2016-08-22.17:40:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1471887640.28.0.600035033764.issue27794@psf.upfronthosting.co.za>
In-reply-to
Content
One solution I can think of is alter the constructor of property() and add an optional name attribute to it. If users really care about the exception message, they can set the attribute to the property's name. If they don't care, everything remains the same as now. This is just like the doc parameter of property() right now and the first parameter of type() when it is used to create a class dynamically. This is just a suggestion, I am not sure it's worth to do it.
History
Date User Action Args
2016-08-22 17:40:40xiang.zhangsetrecipients: + xiang.zhang, r.david.murray, ztane, abarry
2016-08-22 17:40:40xiang.zhangsetmessageid: <1471887640.28.0.600035033764.issue27794@psf.upfronthosting.co.za>
2016-08-22 17:40:40xiang.zhanglinkissue27794 messages
2016-08-22 17:40:40xiang.zhangcreate