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

nk3: Drop Version.__hash__ #350

Merged
merged 1 commit into from
Mar 23, 2023
Merged

nk3: Drop Version.__hash__ #350

merged 1 commit into from
Mar 23, 2023

Conversation

robin-nitrokey
Copy link
Member

@robin-nitrokey robin-nitrokey commented Mar 22, 2023

Due to the issues discussed in #339 [0] and #340 [1], this patch removes the Version.__hash__ method and replaces the only usage of Version in a dict with a flattened list.

[0] #339
[1] #340

Fixes: #349

Checklist

  • tested with Python3.9
  • run make check or make fix for the formatting check
  • signed commits
  • updated documentation (e.g. parameter description, inline doc, docs.nitrokey)
  • added labels

Due to the issues discussed in #339 [0] and #340 [1], this patch removes
the Version.__hash__ method and replaces the only usage of Version in a
dict with a flattened list.

[0] #339
[1] #340

Fixes: #349
@robin-nitrokey robin-nitrokey merged commit 2c15cb1 into master Mar 23, 2023
@robin-nitrokey robin-nitrokey deleted the no-version-hash branch March 23, 2023 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

nk3: Fix Version.__hash__
2 participants