proposed proposal: set.values()

Paul Rubin http
Thu Mar 30 18:26:47 EST 2006


I'm thinking of proposing that a values method be added to set
objects, analogously with dicts.  If x is a set, x.values() would be
the same as list(x).  This feels logical, and it would allow unified
treatment of dicts and sets in some contexts.  Any objections?



More information about the Python-list mailing list