On May 9, 11:41 am, Steven Bethard <[EMAIL PROTECTED]> wrote: > $ python -m timeit -s "s = set('abcdef')" "x = s.pop(); s.add(x)"
It's interesting that that's faster. I'd be hesitant to use that in a real program because it's so unattractive (as is the '.next()' approach). To me a builtin method would be worthwhile in this case. -- http://mail.python.org/mailman/listinfo/python-list