Barry A. Warsaw added the comment:

I don't see the value in opening a new bug.  Now that we understand what's 
going on, let's just repurpose and retitle this one.

Run qualname-19888.py with Python 3.3 and you'll get:

Obj.__name__ foo
Obj.__qualname__ Obj
repr(Obj) <class '__main__.Obj'>

And with 3.2:

Obj.__name__ foo
repr(Obj) <class '__main__.foo'>

The primary discrepancy (and relevant visible regression) is in the repr of Obj.

----------
nosy: +ncoghlan
resolution: invalid -> 
status: closed -> open
title: type.__new__() name argument is ignored -> Three argument type() super 
call sets __name__ but not __qualname__
versions:  -Python 2.7, Python 3.2

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue19888>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to