[Python-ideas] Allow isinstance second argument to be a set of types

Benjamin Peterson benjamin at python.org
Mon Jul 4 22:26:39 CEST 2011


Michael Foord <fuzzyman at ...> writes: 
> I have no *objection* to it working for arbitrary iterables, I just don't care
about it.
> 
> So does this mean no-one has any objections to my suggested change? I'll
create an issue.


Can you explain why tuple(x) is not sufficient?

It seems like useless bloat to me.






More information about the Python-ideas mailing list