Skip to content

How to Compare Reference Equality of Value Objects in pythonnet Without Using Obsolete PyObject.Handle #2604

Answered by lostmsu
ljnober asked this question in Q&A
Discussion options

You must be logged in to vote

There's a PythonReferenceComparer.Instance of type IEqualityComparer<PyObject>

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ljnober
Comment options

Answer selected by ljnober
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2603 on July 16, 2025 20:46.