5 Nov 2009 5 Nov '09
Clearly, I'll need to write up the PEP.
Why not write a short, fast get_first() function for your utils directory and be done with it? That could work with sets, mappings, generators, and other containers and iterators. No need to fatten the set/frozenset API for something so trivial and so rarely needed.