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 barry
Recipients barry, zkrynicki
Date 2013-12-04.23:01:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
At best, this is an undocumented (afaict) change in behavior in 3.3.  Let's boil it down:

-----snip snip-----
class Type(type):
    def __new__(mcls, name, bases, namespace):
        return super().__new__(mcls, 'foo', bases, namespace)

class Obj(metaclass=Type):
    def __init__(self, **kwargs):

-----snip snip-----

In <= 3.2, this prints <class ''>

In >= 3.3 this prints <class '__main__.Obj'>

So, clearly this is a change in behavior.  Was it intended?  If so, it's undocumented - I can find no mention of it in Misc/NEWS or What's New in 3.3.  I suspect it is unintended.
Date User Action Args
2013-12-04 23:01:11barrysetrecipients: + barry, zkrynicki
2013-12-04 23:01:11barrysetmessageid: <>
2013-12-04 23:01:11barrylinkissue19888 messages
2013-12-04 23:01:11barrycreate