notmuch/bindings/python/docs
Sebastian Spaeth 8866a89e3c python: Remove Messages().__len__
Messages.__len__() exhausted the iterator and list() inherently calls
len(), so we could not invoke list(msgs) without getting errors. Fix
this by implementing __nonzero__ but removing __len__ on Messages.

Use Query.count_messages() or len(list(msgs)) if you need to know the
number.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2011-06-15 14:25:33 +02:00
..
source python: Remove Messages().__len__ 2011-06-15 14:25:33 +02:00
COPYING Move everything down into a bindings/python directory. 2010-04-21 17:29:34 -07:00
Makefile Move everything down into a bindings/python directory. 2010-04-21 17:29:34 -07:00