[Python-Dev] About adding a new iterator method called "shuffled"

Aahz aahz at pythoncraft.com
Tue Mar 24 16:58:29 CET 2009


On Tue, Mar 24, 2009, Roy Hyunjin Han wrote:
>
> I know that Python has iterator methods called "sorted" and "reversed" and
> these are handy shortcuts.
> 
> Why not add a new iterator method called "shuffled"?

Please do not post ideas like this to python-dev, please use python-ideas
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"Programming language design is not a rational science. Most reasoning
about it is at best rationalization of gut feelings, and at worst plain
wrong."  --GvR, python-ideas, 2009-3-1


More information about the Python-Dev mailing list