Jeroen Demeyer <J.Demeyer at UGent.be> added the comment: 4. It uses the __name__ instead of the __qualname__ ---------- _______________________________________ Python tracker <report at bugs.python.org> <https://bugs.python.org/issue37645> _______________________________________