reverbrain/elliptics — pull request #334 by ijon (2014-01-17 15:48:24+00:00)
Title: Python: fixed None usage as Id in session.exec_()

Check must directly compare `PyObject*` to `Py_None` singleton, because other method (checking object equality to `python::api::object()`) involves user defined comparing/equality operators.
This is the case with `elliptics.Id` which has `__cmp__` method, which cannot accept None as an argument and breaks.