[issue25532] infinite loop when running inspect.unwrap over unittest.mock.call
Yury Selivanov
report at bugs.python.org
Mon May 22 14:25:36 EDT 2017
Yury Selivanov added the comment:
> Since the limit is arbitrary anyway, sys.getrecursionlimit() seems like a reasonable choice.
The recursion limit can be changed for whatever purposes and I'm not sure that it's a good idea that it will affect unwrap behaviour in such cases.
I'd suggest to pick a sufficiently large number like 500 and go with it.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25532>
_______________________________________
More information about the Python-bugs-list
mailing list