gruns/orderedmultidict — pull request #1 by denizdogan (2013-06-01 00:39:18+00:00)
Title: Don't throw TypeError when checking for equality to primitive types

This fixes a bug which makes an equality check like below raise a ``TypeError``.

```pycon
>>> from orderedmultidict import omdict as om
>>> om({'foo': om()})
omdict([('foo', omdict([]))])
>>> om({'foo': om()}) == 5
Traceback (most recent call last):
File "", line 1, in
File "c:\repos\github\denizdogan\orderedmultidict\orderedmultidict\orderedmultidict.py", line 716, in __eq__
elif len(self) != len(other):
TypeError: object of type 'int' has no len()
```