Skip to content

Node equality comparison #5187

Answered by mbercx
mbercx asked this question in Q&A
Discussion options

You must be logged in to vote

After discussing this again in the team meeting, the consensus is to move forward with making the Python base types consistently compare by content/value (option 3). So, we'll change/add the __eq__ method for the Dict data type.

For other data types, we will not implement equality comparison by content for now, but also not discourage others from doing so.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

mbercx
Nov 3, 2021
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by ltalirz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants