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

Georg Brandl g.brandl at gmx.net
Tue Jul 5 22:29:21 CEST 2011

Am 05.07.2011 10:33, schrieb Masklinn:
> On 2011-07-05, at 10:14 , Stefan Behnel wrote:
>> Yes, that's more or less what I wrote in the next sentence, right the first
>> one that you discarded. ;)
> Not quite. Your next sentence talks about tuples of tuples, but the nesting
> is entirely arbitrary. Talking about tuples of tuples is way simplifying
> what's truly accepted by `isinstance`.

Where can I vote for renaming this list to python-nitpicking?  (If you really
read Stefan's post you'll see that he knows very well how this works.)


More information about the Python-ideas mailing list