This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
| Author | arno |
|---|---|
| Recipients | arno |
| Date | 2008年06月09日.23:01:37 |
| SpamBayes Score | 0.310877 |
| Marked as misclassified | No |
| Message-id | <1213052512.78.0.0912293391051.issue3069@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
The patch allows the following syntax for s set/frozenset: * s.union(a, b, c,...) * s.update(a, b, c,...) * s.intersection(a, b, c,...) * s.intersection_update(a, b, c,...) By extension: * set.union(a, b, c,...) # provided a is a set/frozenset * ... Union is extended by iterative application of set_union_internal Intersection is optimized by sorting all sets/frozensets/dicts in increasing order of size and only iterating over elements in the smallest. This was discussed on python-ideas: http://groups.google.com/group/python- ideas/browse_thread/thread/945a6c989ab905a3/54defd5e62b9a2a6 |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008年06月09日 23:01:53 | arno | set | spambayes_score: 0.310877 -> 0.310877 recipients: + arno |
| 2008年06月09日 23:01:52 | arno | set | spambayes_score: 0.310877 -> 0.310877 messageid: <1213052512.78.0.0912293391051.issue3069@psf.upfronthosting.co.za> |
| 2008年06月09日 23:01:51 | arno | link | issue3069 messages |
| 2008年06月09日 23:01:50 | arno | create | |