[Python-Dev] Adding NewType() to PEP 484 (original) (raw)

Greg Ewing greg.ewing at canterbury.ac.nz
Fri May 27 21:51:46 EDT 2016


Guido van Rossum wrote:

Also -- the most important thing. :-) What to call these things? We're pretty much settled on the semantics and how to create them (A = NewType('A', int)) but what should we call types like A when we're talking about them? "New types" sounds awkward.

Fake types? Virtual types? Pseudo-types?

-- Greg



More information about the Python-Dev mailing list