Skip to content

Conversation

bdraco
Copy link
Member

@bdraco bdraco commented Apr 2, 2023

OrderedDict is no longer needed since 3.7 is the minimum python version we support and insertion order is a strong guarantee for dict now. Additionally we can avoid the popitem pattern since async_update_records_complete runs in the event loop and does not need to worry about thread-safety

bdraco added 2 commits April 2, 2023 09:32
OrderedDict is no longer needed since 3.7 is the minimum
python version we support and insertion order is a
strong guarantee now. Additionally we can avoid the popitem
pattern since async_update_records_complete runs in the
event loop and does not need to worry about thread-safety
@codecov-commenter
Copy link

codecov-commenter commented Apr 2, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (d3213d7) 99.77% compared to head (d12fd12) 99.77%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1148   +/-   ##
=======================================
  Coverage   99.77%   99.77%           
=======================================
  Files          22       22           
  Lines        2614     2615    +1     
  Branches      458      458           
=======================================
+ Hits         2608     2609    +1     
  Misses          4        4           
  Partials        2        2           
Impacted Files Coverage Δ
src/zeroconf/_services/browser.py 99.12% <100.00%> (ø)
src/zeroconf/asyncio.py 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@bdraco bdraco marked this pull request as ready for review April 2, 2023 20:15
@bdraco bdraco merged commit 9a16be5 into master Apr 2, 2023
@bdraco bdraco deleted the ordered_dict branch April 2, 2023 20:15
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