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 ppperry
Recipients elliot.gorokhovsky, mdk, ppperry, serhiy.storchaka, tim.peters, vstinner
Date 2017-03-11.01:15:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
In-reply-to <>
> Elliot Gorokhovsky added the comment:
> Your code changes __class__, not type, which would remain equal to
> "instance". (my understanding, could be wrong). The docs say the
> following:
    class A:pass
    class B:pass
    a = A()
    a.__class__ = B
returns "<class '__main__.B'>"
Date User Action Args
2017-03-11 01:15:20ppperrysetrecipients: + ppperry, tim.peters, vstinner, serhiy.storchaka, mdk, elliot.gorokhovsky
2017-03-11 01:15:19ppperrylinkissue28685 messages
2017-03-11 01:15:17ppperrycreate