<br><br><div class="gmail_quote">On 4 July 2011 16:28, Antoine Pitrou <span dir="ltr"><<a href="mailto:solipsis@pitrou.net">solipsis@pitrou.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
On Mon, 4 Jul 2011 15:35:55 +0100<br>
<div class="im">Michael Foord <<a href="mailto:fuzzyman@gmail.com">fuzzyman@gmail.com</a>> wrote:<br>
</div><div class="im">> On 4 July 2011 08:02, Greg Ewing <<a href="mailto:greg.ewing@canterbury.ac.nz">greg.ewing@canterbury.ac.nz</a>> wrote:<br>
><br>
> > Michael Foord wrote:<br>
> ><br>
> >  It would feel cleaner to me if I could make FunctionTypes a set and use<br>
> >> that as the second argument to isinstance. :-)<br>
> >><br>
> ><br>
> > Or more generally, any iterable object?<br>
><br>
> I don't care about any iterable. If a set would work then I'd be happy. :-)<br>
<br>
</div>Sure, but making it work for tuples and sets, but not other iterables,<br>
would be a pretty lousy API.<br></blockquote><div><br></div><div>I have no *objection* to it working for arbitrary iterables, I just don't care about it.</div><div><br></div><div>So does this mean no-one has any objections to my suggested change? I'll create an issue.</div>
<div><br></div><div>Michael</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Regards<br>
<font color="#888888"><br>
Antoine.<br>
</font><div><div></div><div class="h5"><br>
<br>
_______________________________________________<br>
Python-ideas mailing list<br>
<a href="mailto:Python-ideas@python.org">Python-ideas@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/python-ideas" target="_blank">http://mail.python.org/mailman/listinfo/python-ideas</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><pre cols="72"><a href="http://www.voidspace.org.uk/" target="_blank">http://www.voidspace.org.uk/</a><br><br>May you do good and not evil<br>May you find forgiveness for yourself and forgive others<br>
May you share freely, never taking more than you give.<br>-- the sqlite blessing <a href="http://www.sqlite.org/different.html" target="_blank">http://www.sqlite.org/different.html</a></pre>
<br>