On Fri, Oct 30, 2009 at 09:37:36PM +0100, Georg Brandl wrote:
> I don't like this.  It gives a set object a hidden state, something that
> AFAICS no other builtin has.  Iterating over an iterable is what iterators
> are for.

It also makes the object thread-unsafe; there's no way for two threads
to iterate over it at the same time.  It's a terrible idea to
introduce new things that won't work under threaded usage.

--amk
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to