This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Spencer Brown
Recipients David E. Franco G., Spencer Brown, gvanrossum
Date 2016-09-07.09:59:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1473242347.38.0.238435728663.issue27989@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2016-09-07 09:59:07Spencer Brownsetrecipients: + Spencer Brown, gvanrossum, David E. Franco G.
2016-09-07 09:59:07Spencer Brownsetmessageid: <1473242347.38.0.238435728663.issue27989@psf.upfronthosting.co.za>
2016-09-07 09:59:07Spencer Brownlinkissue27989 messages
2016-09-07 09:59:07Spencer Browncreate