Skip to content

Conversation

@wadevries
Copy link

This is more robust than JSON.stringifying both operands, because the order of keys is relevant for JSON.stringify, but not for object equality. This led to 'false positive' inequality reports, which led to notebooks being set to dirty immediately after opening, which caused an autosave directly after load, which is annoying when you want to navigate away quickly.

…or equality.

This is more robust than JSON.stringifying both operands, because the order of keys is relevant for JSON.stringify, but not for object equality. This led to 'false positive' inequality reports, which led to notebooks being set to dirty immediately after opening, which caused an autosave directly after load, which is annoying when you want to navigate away quickly.
@takluyver
Copy link
Member

Beaten to the punch by #992, I'm afraid. ;-)

@takluyver takluyver closed this Jan 26, 2016
@minrk
Copy link
Member

minrk commented Jan 26, 2016

Bonus: I think the patches might be character-identical. Clearly on the right track!

@minrk minrk added this to the no action milestone Jan 26, 2016
@wadevries
Copy link
Author

Heh, exactly my thoughts!

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants