uniphil/SuperHash — pull request #4 by jonathaneunice (2012-11-27 17:25:23+00:00)
Title: `superhash()` fails on `dict` subclasses - a ffix

`superhash()` fails on `collections.OrderedDict`, `stuf.stuf`, and other `dict` subclasses, often with infinite recursion. This patch fixes that. `dict` subclasses are not processed through the `__dict__` enumeration, and the additional `KeyError` exception that can arise is caught alongside `AttributeError`. Tests added to confirm proper operation, and tested successfully against py26, py27, py32, py33, and pypy. There are also some `.ini` files added to support automated multi-version testing.