[Python-Dev] Adding NewType() to PEP 484 (original) (raw)
André Malo nd at perlig.de
Sat May 28 07:26:57 EDT 2016
- Previous message (by thread): [Python-Dev] Adding NewType() to PEP 484
- Next message (by thread): [Python-Dev] Adding NewType() to PEP 484
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
- Steven D'Aprano wrote:
On Fri, May 27, 2016 at 04:01:11PM -0700, 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.
TypeAlias? Because A is an alias for int?
I like the view C takes on this: typedef.
Cheers,
Wer sein Wissen nicht teilen will, besitzt wahrscheinlich zu wenig davon. -- Unbekannt
- Previous message (by thread): [Python-Dev] Adding NewType() to PEP 484
- Next message (by thread): [Python-Dev] Adding NewType() to PEP 484
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]