Roundup Robot added the comment:
New changeset 1d700e1aff33 by Benjamin Peterson in branch '3.3':
don't shadow the __qualname__ descriptor with __qualname__ in the class's
__dict__ (closes #16271)
http://hg.python.org/cpython/rev/1d700e1aff33
--
nosy: +python-dev
resolution: - fixed
Benjamin Peterson added the comment:
Here's a patch for 3.4. __qualname__ ought to have been implemented this way in
the first place. I'll have to think about what can be done about 3.3. Maybe
just the same fix without the removal of PyHeapType.ht_qualname. We can hope no
one has written
Antoine Pitrou added the comment:
I'm not sure why this would be the correct way to do it. First you are removing
the unicode check, which looks wrong to me. Second, if ht_name works, perhaps
ht_qualname can be made to work as well?
--
___
Python
Benjamin Peterson added the comment:
Was does qualname need to be on the struct?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16271
___
___
Benjamin Peterson added the comment:
s/Was/Why/
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16271
___
___
Python-bugs-list mailing list
Benjamin Peterson added the comment:
Here's the other option.
--
Added file: http://bugs.python.org/file27734/qualname2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16271
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti, pitrou
type: - behavior
versions: +Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16271
___
New submission from Christopher the Magnificent:
The output below is NOT typed at the Python interactive interpeter. The
shows what is being evaluated and the line below it shows what the result it.
The output gets generated here: (lines 418-449 of the attached file)
def