Closed rabbbit closed 6 years ago
Thanks for reporting!
We had run into a similar issue with objects that define __call__
, which was resolved. This sound similar to that.
What error are you seeing? What version are you running?
I think that is because the method returned by functools.partial is not a python method, but a native C method, which doubles cannot validate this. To get around this issue you can use the with no_builtin_verification()
context manager.
Hey-oh,
I realize I should put up a PR instead, but as a step one lets see if you know about it already.
Should doubles work with partials? Tried to make it work, but everything seems to be failing :(