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 ethan.furman
Recipients barry, eli.bendersky, ethan.furman, ncoghlan, pitrou, r.david.murray
Date 2013-09-22.22:22:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1379888561.68.0.733157685198.issue19030@psf.upfronthosting.co.za>
In-reply-to
Content
Current patch has a little more code cleanup and a bunch more tests.

I copied and adapted test_property to test_VirtualAttribute, and VirtualAttribute passes every test except the __slots__ test where __doc__ is not supposed to copy.  I think the problem there is that VA is a python object and already has a __doc__ so having __slots__ not show __doc__ doesn't help.  I put a skipIf(hasattr, obj, '__doc__') around that test.

I'm still not crazy about the name VirtualAttribute... oh well.

If no negative feedback by mid-week I'll commit, as I would really like this code to be the next alpha.
History
Date User Action Args
2013-09-22 22:22:41ethan.furmansetrecipients: + ethan.furman, barry, ncoghlan, pitrou, r.david.murray, eli.bendersky
2013-09-22 22:22:41ethan.furmansetmessageid: <1379888561.68.0.733157685198.issue19030@psf.upfronthosting.co.za>
2013-09-22 22:22:41ethan.furmanlinkissue19030 messages
2013-09-22 22:22:41ethan.furmancreate