python-json-patch icon indicating copy to clipboard operation
python-json-patch copied to clipboard

fix: use deterministic comparison ordering

Open JacobHenner opened this issue 2 months ago • 0 comments

_compare_dicts() exhibited non-deterministic ordering due to hash randomization affecting the ordering of sets used to compare dict keys. Dict key comparisons are now performed without sets, resulting in dict key ordering being preserved.

Fixes #151

JacobHenner avatar May 15 '24 00:05 JacobHenner