packaging icon indicating copy to clipboard operation
packaging copied to clipboard

Pickled tags don't == tags from parsed filenames with same str() representation?

Open dholth opened this issue 1 year ago • 3 comments

I tried pickling some tags and evaluating them in a different interpreter, and tag1 != tag2 even though str(tag1) == str(tag2). Is this intentional?

dholth avatar Dec 02 '24 20:12 dholth

Do you think the __eq__ function needs an update?

Siddhesh-Agarwal avatar Jan 09 '25 04:01 Siddhesh-Agarwal

No, I think the PR linked above #860 has the correct solution.

uranusjr avatar Jan 09 '25 06:01 uranusjr

Checks pass on #860

dholth avatar Jan 29 '25 21:01 dholth