and while working on the dungeon generator I hit this bug yet again. the workaround I created at the time alas does not work in this case and another workaround would make the current process so slow it would not be feasible.
In short: this time I *really* would like this bug fixed.
In short:
Code: Select all
[json.difference('[1,1,2,3,]','[1,3]')]
Code: Select all
[2]
Code: Select all
[1,2]
Should be people start crying about backwards compatibility (which I doubt would be an issue) I'm happy if another function is added that does what it should do e.g. json.actualDifference or json.realDifference.
for the savvy observer
One might have spotted this thread. I have not started working on a solution for that, so this issue has nothing to do with that issue, although when actually starting working on the solution of that issue, this issue might become an issue for that issue as well, who knows