%T
sounds good, I often wished we had that
Instead of adding a computed attribute, __fullyqualname__
, let’s maybe put a function in e.g. inspect
? It could handle functions as well as types.
The f"{type(x):#T}"
sounds great too, except T
might not be the right choice for a type-specific directive.
1 Like