STINNER Victor <vstin...@redhat.com> added the comment:
An alternative would be to add multiple formatters. Example: * %Tn: type name, type.__name__, Py_TYPE(obj)->tp_name * %Tq: qualified name, type.__qualname__ * %Ts: short name, never contains "." * %Tf: fully qualified name, "module.qualified.name" What do you think Serhiy? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue34595> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com