We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
functools.singledispatch
The following code causes a infinite-loop inside functools.singledispatch
from dirty_equals import IsStr from functools import singledispatch @singledispatch def dispatch(a): print("generic", a) s = IsStr() dispatch(s)
It looks like this is caused by the fact that IsStr == IsStr is False.
IsStr == IsStr
False
I already created a pull-request, please let me know if this can be fixed this way.
The text was updated successfully, but these errors were encountered:
fix problem with functools.singledispatch (samuelcolvin#104)
818eb0b
fix problem with functools.singledispatch (#104) (#105)
065162a
solves #104
No branches or pull requests
The following code causes a infinite-loop inside
functools.singledispatch
It looks like this is caused by the fact that
IsStr == IsStr
isFalse
.I already created a pull-request, please let me know if this can be fixed this way.
The text was updated successfully, but these errors were encountered: