pycapnp icon indicating copy to clipboard operation
pycapnp copied to clipboard

__eq__ and __hash__ operators

Open abe-winter opened this issue 9 years ago • 2 comments

Hi,

Love capnproto, love pycapnp but I'm doing a lot of casting to nametuple to get ==, in, __hash__ features.

If nobody has started to add these, I'd be happy to do it. Let me know and I'll create a PR.

abe-winter avatar Aug 12 '16 16:08 abe-winter

I haven't heard of anyone working on this. I'd be happy to accept a PR adding these features.

jparyani avatar Aug 12 '16 18:08 jparyani

Thanks.

abe-winter avatar Aug 12 '16 18:08 abe-winter