notmuch/bindings/python/notmuch
Justus Winter 8015cbff26 python: fix error handling
Before 3434d1940 the return values of libnotmuch functions were
declared as c_void_p and the code checking for errors compared the
returned value to None, which is the ctypes equivalent of a NULL
pointer.

But said commit wrapped all the data types in python classes and the
semantic changed in a subtle way. If a function returns NULL, the
wrapped python value is falsish, but no longer equal to None.
2012-01-22 06:14:57 +01:00
..
__init__.py pep8 fixes 2011-12-06 12:20:45 +01:00
database.py python: fix error handling 2012-01-22 06:14:57 +01:00
filename.py python: fix error handling 2012-01-22 06:14:57 +01:00
globals.py py3k: add a specialized version of _str for python3 2012-01-16 13:43:11 +01:00
message.py python: fix error handling 2012-01-22 06:14:57 +01:00
tag.py python: fix error handling 2012-01-22 06:14:57 +01:00
thread.py python: fix error handling 2012-01-22 06:14:57 +01:00
version.py Update version to 0.11 2012-01-13 19:58:36 -04:00