mongodb/mongo-python-driver — pull request #130 by tompko (2012-04-12 14:21:12+00:00)
Title: bson/objectid.py ObjectId.__ne__

When replacing the __cmp__ method on ObjectId the __ne__ method was not implemented. Without a __ne__ method python falls back to object.__ne__ meaning that even objects with the same __id can be not equal if they are not the same object. This patch adds the missing function following the style of the other comparison methods.