-
Notifications
You must be signed in to change notification settings - Fork 3
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
object immutability iso639.Language #3
Comments
Hello, thank you for catching this! I've just created a branch for a potential fix (by explicitly defining how to hash a |
Hello)
Thank you for efficiency
I will be able to check within 1-2 days and I will definitely write you
about the result immediately.
Sincerely,
Konstantin
ср, 14 июн. 2023 г. в 04:45, Jackson L. Lee ***@***.***>:
… Hello, thank you for catching this! I've just created a branch for a
potential fix (by explicitly defining how to hash a Language class
instance). It is available for testing if you run pip install git+
***@***.***
Would you be able to see if this would resolve the issue on your end?
—
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQQCVGMGE72T42JTZRTNHCTXLEQVRANCNFSM6AAAAAAZEX3NGQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Hello!
Today I was able to check the work of the updated package - everything is
ok, thanks!
As far as I understand, you tied the hash to part3, as the most complete.
Hope this works for me too.
When can we expect an update in pypi?
I will now have some work with languages, I`ll use your package, if there
are any difficulties, I will definitely write.
Thanks for the quick response
Best regards, Konstantin
ср, 14 июн. 2023 г. в 17:28, Konstantin Zivenko ***@***.***>:
… Hello)
Thank you for efficiency
I will be able to check within 1-2 days and I will definitely write you
about the result immediately.
Sincerely,
Konstantin
ср, 14 июн. 2023 г. в 04:45, Jackson L. Lee ***@***.***>:
> Hello, thank you for catching this! I've just created a branch for a
> potential fix (by explicitly defining how to hash a Language class
> instance). It is available for testing if you run pip install git+
> ***@***.***
> Would you be able to see if this would resolve the issue on your end?
>
> —
> Reply to this email directly, view it on GitHub
> <#3 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AQQCVGMGE72T42JTZRTNHCTXLEQVRANCNFSM6AAAAAAZEX3NGQ>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
|
Thank you for confirming that the fix would work for you! I've just made a new release to PyPI, version Closing this issue now -- thank you again for catching and reporting this issue! |
Objects of class iso639.Language are marked as immutable:
But when you try to use them in this way (for example, as elements of a set), you can get an error if the element other_names exists. Example:
is it possible to replace the use of a list with a tuple to describe this attribute in order to get a fully immutable object?
The text was updated successfully, but these errors were encountered: