Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix comparisons of Ref objects #41

Merged
merged 2 commits into from
Oct 17, 2024
Merged

Fix comparisons of Ref objects #41

merged 2 commits into from
Oct 17, 2024

Commits on Oct 17, 2024

  1. pyc: fix handling of refences to objects

    When the original file had the same object twice, once normally and
    once as a reference, when writing out, we'd write the object a second
    time in full, because we had Ref(x)!=y, even when x==y. We handled
    this correctly in the hashing code, and the writing code, but not in
    the comparison function. The fix is easy — just deference in one more
    place, but it took me forever to figure out.
    keszybz committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    97af9fb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0a9526b View commit details
    Browse the repository at this point in the history