Author ethan.furman
Recipients alex, barry, benjamin.peterson, docs@python, eli.bendersky, ethan.furman, ezio.melotti, gvanrossum, ncoghlan, python-dev, zach.ware
Date 2013-05-12.11:24:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1368357884.5.0.421027540351.issue17947@psf.upfronthosting.co.za>
In-reply-to
Content
After more thought, I think we should leave the shortened version of _StealthProperty as is.

The reasoning being that if _StealthProperty does the __getattr__ lookup itself, and fails, it will return an AttributeError... and then Python will use __getattr__ again to try and find the attribute.

So I'll add a comment into the shortened version and leave it at that.
History
Date User Action Args
2013-05-12 11:24:44ethan.furmansetrecipients: + ethan.furman, gvanrossum, barry, ncoghlan, benjamin.peterson, ezio.melotti, alex, eli.bendersky, docs@python, python-dev, zach.ware
2013-05-12 11:24:44ethan.furmansetmessageid: <1368357884.5.0.421027540351.issue17947@psf.upfronthosting.co.za>
2013-05-12 11:24:44ethan.furmanlinkissue17947 messages
2013-05-12 11:24:44ethan.furmancreate