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 eli.bendersky
Recipients alex, barry, benjamin.peterson, docs@python, eli.bendersky, ethan.furman, ezio.melotti, gvanrossum, ncoghlan, python-dev, zach.ware
Date 2013-05-12.12:54:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1368363290.7.0.625084021145.issue17947@psf.upfronthosting.co.za>
In-reply-to
Content
Ethan, I pasted the minimized version to point out the problem; I fully agree it should do the getattr lookup because otherwise it's very difficult to understand what's going on. Let's keep exceptions for actual exceptional situations and explicitly code the normal path.

Also, _MemberOrProperty is probably a more descriptive name.
History
Date User Action Args
2013-05-12 12:54:50eli.benderskysetrecipients: + eli.bendersky, gvanrossum, barry, ncoghlan, benjamin.peterson, ezio.melotti, alex, docs@python, ethan.furman, python-dev, zach.ware
2013-05-12 12:54:50eli.benderskysetmessageid: <1368363290.7.0.625084021145.issue17947@psf.upfronthosting.co.za>
2013-05-12 12:54:50eli.benderskylinkissue17947 messages
2013-05-12 12:54:50eli.benderskycreate