Spencer Brown added the comment:

More precisely, the issue is with inspect.formatannotation(), which 
overrides/ignores the repr if the annotation is an instance of type. Perhaps 
that should be changed to also check that __repr__ is type's repr.

----------
nosy: +Spencer Brown

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue27989>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to