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 abarry
Recipients abarry, ppperry
Date 2016-05-29.22:56:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1464562563.91.0.55885438908.issue27158@psf.upfronthosting.co.za>
In-reply-to
Content
Works for me:

>>> class meta(type): pass
...
>>> class X(type, metaclass=meta): pass
...
>>> X.__class__ = X
>>> type(X) is X
True
>>> isinstance(X, X)
True
History
Date User Action Args
2016-05-29 22:56:03abarrysetrecipients: + abarry, ppperry
2016-05-29 22:56:03abarrysetmessageid: <1464562563.91.0.55885438908.issue27158@psf.upfronthosting.co.za>
2016-05-29 22:56:03abarrylinkissue27158 messages
2016-05-29 22:56:03abarrycreate