[issue8830] Add nondestructive selection to sets

2010-05-26 Thread Eric Smith
Eric Smith added the comment: This is a dupe of issue 7212. -- nosy: +eric.smith resolution: -> duplicate status: open -> closed superseder: -> Retrieve an arbitrary element from a set without removing it ___ Python tracker

[issue8830] Add nondestructive selection to sets

2010-05-26 Thread ipatrol
New submission from ipatrol : I see in a lot of references for computer programming a function that returns an arbitrary value from a standard or frozen set. http://en.wikipedia.org/wiki/Set_%28computer_science%29 describes it as pick. It surprised me when I discovered that Python sets don't h