Lev Maximov added the comment: Nevermind. It's not urgent but should definitely be fixed some day. Yes, __qualname__ might be a good idea. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue26844> _______________________________________