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 abarry, ppperry
Date 2016-05-30.00:25:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Further testing reveals that this issue has nothing to do with metaclasses:

>>>class X(type):pass

raises the same TypeError.
Even if the possibly dubious feature of being able to call instances of subclasses of type with one argument is rejected, the error message should definitely be improved. It is ridiculously unhelpful.
Date User Action Args
2016-05-30 00:25:40ppperrysetrecipients: + ppperry, abarry
2016-05-30 00:25:39ppperrysetmessageid: <>
2016-05-30 00:25:39ppperrylinkissue27157 messages
2016-05-30 00:25:39ppperrycreate