eliminate python2.7 -3 warning due to missing __hash__() methods (fixes #35)