[Checkins] [zopefoundation/Products.ZCatalog] 443798: correct argument name in `uniqueValues` method on ...
GitHub
noreply at github.com
Thu Oct 17 23:22:07 CEST 2013
Branch: refs/heads/master
Home: https://github.com/zopefoundation/Products.ZCatalog
Commit: 443798cd11ce8c11d672938b2d8941aa8b10c1a3
https://github.com/zopefoundation/Products.ZCatalog/commit/443798cd11ce8c11d672938b2d8941aa8b10c1a3
Author: Hanno Schlichting <hanno at hannosch.eu>
Date: 2013-10-17 (Thu, 17 Oct 2013)
Changed paths:
M src/Products/PluginIndexes/PathIndex/PathIndex.py
Log Message:
-----------
correct argument name in `uniqueValues` method on PathIndex class
Commit: cf33e0de08866c6d19faebe5bc707c73eadaa4a0
https://github.com/zopefoundation/Products.ZCatalog/commit/cf33e0de08866c6d19faebe5bc707c73eadaa4a0
Author: Hanno Schlichting <hanno at hannosch.eu>
Date: 2013-10-17 (Thu, 17 Oct 2013)
Changed paths:
M src/Products/PluginIndexes/DateRangeIndex/DateRangeIndex.py
M src/Products/PluginIndexes/DateRangeIndex/tests.py
M src/Products/PluginIndexes/UUIDIndex/UUIDIndex.py
Log Message:
-----------
convert DateRangeIndex/UUIDIndex uniqueValues methods into generators
Commit: 5c33365c2e71a8b5ef49e54db93fe48d3b2c3422
https://github.com/zopefoundation/Products.ZCatalog/commit/5c33365c2e71a8b5ef49e54db93fe48d3b2c3422
Author: Hanno Schlichting <hanno at hannosch.eu>
Date: 2013-10-17 (Thu, 17 Oct 2013)
Changed paths:
M src/Products/PluginIndexes/DateRangeIndex/DateRangeIndex.py
Log Message:
-----------
shorten DateRangeIndex.uniqueValues method code
Commit: 7082c50b3440b8d78d304e6e122e5a4349c52006
https://github.com/zopefoundation/Products.ZCatalog/commit/7082c50b3440b8d78d304e6e122e5a4349c52006
Author: Hanno Schlichting <hanno at hannosch.eu>
Date: 2013-10-17 (Thu, 17 Oct 2013)
Changed paths:
M src/Products/PluginIndexes/interfaces.py
Log Message:
-----------
clarify `IUniqueValueIndex.uniqueValues` method to allow generators/iterators
the PathIndex has returned a generator for some time
Commit: 7acb28a49550fe353d7ab5b8b684dfadf687a32e
https://github.com/zopefoundation/Products.ZCatalog/commit/7acb28a49550fe353d7ab5b8b684dfadf687a32e
Author: Hanno Schlichting <hanno at hannosch.eu>
Date: 2013-10-17 (Thu, 17 Oct 2013)
Changed paths:
M src/Products/PluginIndexes/DateIndex/tests.py
M src/Products/PluginIndexes/FieldIndex/tests.py
M src/Products/PluginIndexes/KeywordIndex/tests.py
Log Message:
-----------
don't assume `uniqueValues` directly returns a tuple/list
Commit: 9bbd92bebb96870ded91e898eed08c7c4534c17e
https://github.com/zopefoundation/Products.ZCatalog/commit/9bbd92bebb96870ded91e898eed08c7c4534c17e
Author: Hanno Schlichting <hanno at hannosch.eu>
Date: 2013-10-17 (Thu, 17 Oct 2013)
Changed paths:
M src/Products/PluginIndexes/common/UnIndex.py
Log Message:
-----------
convert `UnIndex.uniqueValues` to a generator
Commit: 8ec4807c0254d036e5b341ca685e700c1881ec51
https://github.com/zopefoundation/Products.ZCatalog/commit/8ec4807c0254d036e5b341ca685e700c1881ec51
Author: Hanno Schlichting <hanno at hannosch.eu>
Date: 2013-10-17 (Thu, 17 Oct 2013)
Changed paths:
M src/Products/ZCatalog/Catalog.py
Log Message:
-----------
cast `index.uniqueValues` to a tuple for more public `uniqueValuesFor` method
Commit: 155a46cb2eaf0bd1e7bc851d6036d7928680480d
https://github.com/zopefoundation/Products.ZCatalog/commit/155a46cb2eaf0bd1e7bc851d6036d7928680480d
Author: Hanno Schlichting <hanno at hannosch.eu>
Date: 2013-10-17 (Thu, 17 Oct 2013)
Changed paths:
M src/Products/ZCatalog/tests/test_plan.py
Log Message:
-----------
add tests for `CatalogPlan.valueindexes` method
Commit: 3770bc998a2656ecdcfc494d5996e6a89fbc2365
https://github.com/zopefoundation/Products.ZCatalog/commit/3770bc998a2656ecdcfc494d5996e6a89fbc2365
Author: Hanno Schlichting <hanno at hannosch.eu>
Date: 2013-10-17 (Thu, 17 Oct 2013)
Changed paths:
M src/Products/ZCatalog/plan.py
Log Message:
-----------
Avoid potentially expensive `len()` call in value index estimation.
Instead iterate over unique values and break if we can get more than
`MAX_DISTINCT_VALUES` values. Also correctly identify empty indexes like the
DateRangeIndex, which only returns values when the name argument is provided
to the uniqueValues method with either the `since` or `until` field.
Commit: 3b2f2f1b42e5a51c71c337e052f76586e501776e
https://github.com/zopefoundation/Products.ZCatalog/commit/3b2f2f1b42e5a51c71c337e052f76586e501776e
Author: Hanno Schlichting <hanno at hannosch.eu>
Date: 2013-10-17 (Thu, 17 Oct 2013)
Changed paths:
M CHANGES.txt
Log Message:
-----------
document recent uniqueValues related changes
Compare: https://github.com/zopefoundation/Products.ZCatalog/compare/fe2a1ef75c21...3b2f2f1b42e5
More information about the checkins
mailing list