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-30.00:39:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1464568748.58.0.282100506486.issue27157@psf.upfronthosting.co.za>
In-reply-to
Content
Yes, that would be preferable. The error message is at Objects/typeobject.c#l2301, but keep in mind that this message is shown for both faulty calls to type() as well as any of its subclasses that don't override __new__, and I'm lukewarm on adding e.g. a PyType_Check call before that; might as well replace the PyType_CheckExact call and make this work. I'm not knowledgeable enough in that field though, you'll need a core dev's advice.
History
Date User Action Args
2016-05-30 00:39:08abarrysetrecipients: + abarry, ppperry
2016-05-30 00:39:08abarrysetmessageid: <1464568748.58.0.282100506486.issue27157@psf.upfronthosting.co.za>
2016-05-30 00:39:08abarrylinkissue27157 messages
2016-05-30 00:39:07abarrycreate