Message110403
where is it defined that sets are not "supposed" to contain mutable items? such a requirement vastly limits the usefulness of sets.
Consider that relational database rows are mutable. A result set containing multiple rows which each have a primary key comprises a set, hashed on primary key. But other attributes of each row can be updated. Surely this is not controversial ? What Python data structure should I (and a whole bunch of Python ORMs) be using to represent mutable, relational database rows, unordered and unique on primary key, in memory ? |
|
Date |
User |
Action |
Args |
2010-07-16 00:26:40 | zzzeek | set | recipients:
+ zzzeek, rhettinger, belopolsky, grubert, alexandre.vassalotti, schmir, eric.araujo |
2010-07-16 00:26:39 | zzzeek | set | messageid: <1279239999.22.0.237682571159.issue9269@psf.upfronthosting.co.za> |
2010-07-16 00:26:37 | zzzeek | link | issue9269 messages |
2010-07-16 00:26:36 | zzzeek | create | |
|