[Python-ideas] Variable-length, homogeneous tuple: why? (was: Optional static typing -- the crossroads)

Steven D'Aprano steve at pearwood.info
Mon Aug 18 01:24:29 CEST 2014


On Sun, Aug 17, 2014 at 04:19:16PM -0700, Łukasz Langa wrote:
> On Aug 17, 2014, at 4:16 PM, Steven D'Aprano <steve at pearwood.info> wrote:
> 
> > Perhaps in 3.6 we can consider allowing isinstance and issubclass to 
> > accept Union types as well as tuples of types.
> 
> 
> Why not 3.5?

In case Guido changes his mind :-)



-- 
Steven


More information about the Python-ideas mailing list