homepage

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月19日.01:23:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1379553832.93.0.351257845229.issue19030@psf.upfronthosting.co.za>
In-reply-to
Content
Okay, some slight reorganizing. Current patch gives preferential treatment to getattr, falling back on dict lookup if getattr raises an exception or if the resulting object's class is not found in the mro (including the metaclass mro).
Amazingly, nothing appeared to break in the test suite. :)
If no kibitzing in the next couple days I'll write some tests to better excercise the metaclass portion (I used Enum for interactive testing).
History
Date User Action Args
2013年09月19日 01:23:53ethan.furmansetrecipients: + ethan.furman, barry, ncoghlan, pitrou, r.david.murray, eli.bendersky
2013年09月19日 01:23:52ethan.furmansetmessageid: <1379553832.93.0.351257845229.issue19030@psf.upfronthosting.co.za>
2013年09月19日 01:23:52ethan.furmanlinkissue19030 messages
2013年09月19日 01:23:52ethan.furmancreate

AltStyle によって変換されたページ (->オリジナル) /