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, mjpieters, ncoghlan, pitrou, python-dev, r.david.murray
Date 2013-10-14.16:10:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Updated and renamed the DynamicClassAttribute tests, and discovered that classify_class_attrs is not handling instance portion correctly.

    class Meta(type):
        def __getattr__(self, name):
            if name == 'ham':
                return 'spam'
            return super().__getattr__(name)

    class VA(metaclass=Meta):
        def ham(self):
            return 'eggs'

We should see both eggs and spam, but only eggs is showing up.
Date User Action Args
2013-10-14 16:10:10ethan.furmansetrecipients: + ethan.furman, barry, mjpieters, ncoghlan, pitrou, r.david.murray, eli.bendersky, python-dev
2013-10-14 16:10:10ethan.furmansetmessageid: <>
2013-10-14 16:10:10ethan.furmanlinkissue19030 messages
2013-10-14 16:10:10ethan.furmancreate