Closed jsirois closed 8 years ago
NB: 1st commit failed like so on my machine and under travis: https://travis-ci.org/jsirois/pystachio/jobs/54761346 Second commit goes green: https://travis-ci.org/jsirois/pystachio/builds/54762436
Ok, rebasing made it clear a similar .travis.yml
commit was done - its here: https://github.com/wickman/pystachio/commit/76fbf759638d9af549717e95188b7fe90edd37da
Ditto a fix for the pypy issue, here: https://github.com/wickman/pystachio/commit/819c893f4670bc20a3d67396904d94740050dd59
I'll close this PR and mint a new one that just expands .travis.yml
coverage.
Previously Map indirectly relied on dict iteration order in its eq implementation and this blew up under pypy. Now Map uses the same stable comparison structure returned by get() as it uses in its hash which has the side-benefit of being easier to reason about; ie: the hash and == relationship is now more obviously sane.