STINNER Victor <vstinner at redhat.com> added the comment: Maybe repr(func) should be left unchanged, but str(func) can be enhanced? ---------- _______________________________________ Python tracker <report at bugs.python.org> <https://bugs.python.org/issue37645> _______________________________________