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
def test_bound_method(): class Test: def __init__(self): self.n = 0 def inc(self): self.n += 1 def get(self): return self.n obj = Test() fun = fcache(obj.get) assert fun() == 0
This code will fail despite the fact that Test is not being persisted on disk. Test is used just to compute the Hash of Test().get
Test
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This code will fail despite the fact that
Test
is not being persisted on disk. Test is used just to compute the Hash of Test().getThe text was updated successfully, but these errors were encountered: