Skip to content

Fix equality and hash for dns records with the unique bit#969

Merged
bdraco merged 1 commit into
python-zeroconf:masterfrom
bdraco:class_dupe_unique
Aug 29, 2021
Merged

Fix equality and hash for dns records with the unique bit#969
bdraco merged 1 commit into
python-zeroconf:masterfrom
bdraco:class_dupe_unique

Conversation

@bdraco

@bdraco bdraco commented Aug 29, 2021

Copy link
Copy Markdown
Member
  • These records should have the same hash and equality since
    the unique bit is not considered when adding or removing
    the records from the cache

- These records should have the same hash and equality since
  the unique bit is not considered when adding or removing
  the records from the cache
@bdraco bdraco force-pushed the class_dupe_unique branch from 6a8ff7f to 9093bda Compare August 29, 2021 17:57
@codecov-commenter

codecov-commenter commented Aug 29, 2021

Copy link
Copy Markdown

Codecov Report

Merging #969 (9093bda) into master (e4985c7) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #969   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           22        22           
  Lines         2456      2456           
  Branches       403       403           
=========================================
  Hits          2456      2456           
Impacted Files Coverage Δ
zeroconf/_dns.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e4985c7...9093bda. Read the comment docs.

@bdraco bdraco changed the title Fixed equality and hash for dns records with the unique bit Fix equality and hash for dns records with the unique bit Aug 29, 2021
@bdraco bdraco marked this pull request as ready for review August 29, 2021 18:08
@bdraco bdraco merged commit 574e241 into python-zeroconf:master Aug 29, 2021
@bdraco bdraco deleted the class_dupe_unique branch August 29, 2021 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants