[Python-ideas] Optional static typing -- the crossroads

Greg Ewing greg.ewing at canterbury.ac.nz
Sat Aug 16 02:20:11 CEST 2014


Ryan Hiebert wrote:
> I don’t think it would conflict in this case, since I don’t think there’d be
> a reason to mix Enum item access with Type item access.

It would conflict if you somehow needed to define an
Enum subclass with type parameters. I'm having trouble
thinking of a use case for such a thing, though.

-- 
Greg


More information about the Python-ideas mailing list