Changes between Initial Version and Version 1 of Ticket #1115, comment 14
- Timestamp:
- 2012-04-01T22:38:05Z (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1115, comment 14
initial v1 1 1 {{{len(reduce(set.union, sm.itervalues()))}}} as used in the pull request is wrong for the empty map: 2 2 {{{ 3 >>> reduce(set.union, [])3 >>> reduce(set.union, {}.itervalues()) 4 4 Traceback (most recent call last): 5 5 File "<stdin>", line 1, in <module> … … 7 7 }}} 8 8 9 {{{len(set(sm.itervalues()))}}} is correct. However, the docs should make clear that a high value of {{{count-good-share-hosts}}} does not imply good share distribution .9 {{{len(set(sm.itervalues()))}}} is correct. However, the docs should make clear that a high value of {{{count-good-share-hosts}}} does not imply good share distribution (although a low value does imply bad distribution or insufficient shares).