stefankoegl / python-json-patch

Applying JSON Patches in Python
https://python-json-patch.readthedocs.org/
BSD 3-Clause "New" or "Revised" License
434 stars 94 forks source link

Closes #129 #130

Closed Penguin2600 closed 3 years ago

Penguin2600 commented 3 years ago

Here's my attempt at a fix, We just store the type along with the value as the dict key, that way the hashes don't collide. Also added a test to exercise the scenario.

Closes #129

coveralls commented 3 years ago

Coverage Status

Coverage remained the same at 65.892% when pulling 5cdb066ab6bfd0f28e7bd78a61f13bf4ff90d00d on Penguin2600:master into 7a6d76ada4b990b1951831a42a08924de5775c2d on stefankoegl:master.

stefankoegl commented 3 years ago

Thanks :)