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 fish2000
Recipients fish2000
Date 2018-10-12.03:03:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1539313395.67.0.788709270274.issue34963@psf.upfronthosting.co.za>
In-reply-to
Content
When creating a new type with `typing.NewType(…)` the result is a function defined on-the-fly with no reasonable `__repr__` definition – the string representation of the type looks something like e.g. “<function NewType.<locals>.new_type at 0x108ae6950>” which isn’t very useful or aesthetically appealing.
History
Date User Action Args
2018-10-12 03:03:15fish2000setrecipients: + fish2000
2018-10-12 03:03:15fish2000setmessageid: <1539313395.67.0.788709270274.issue34963@psf.upfronthosting.co.za>
2018-10-12 03:03:15fish2000linkissue34963 messages
2018-10-12 03:03:14fish2000create