Let's say I have two capsules returned from my C-extension that both point to the same address. How could I compare these two capsule objects within python to check if they both point to the same address?
I've tries just simply comparing them (using ==
) but that returns False even if they are the same.