lawrence_danna added a comment. Also, @jingham, only the `#if` branch for python2 has easy access to the `__call__` attribute. We could test for it in python3 but it wouldn't do what you're thinking it would:
In [1]: def f(): ...: return 1 ...: In [2]: f.__call__ Out[2]: <method-wrapper '__call__' of function object at 0x102e62e18> In [3]: type(f).__call__ Out[3]: <slot wrapper '__call__' of 'function' objects> Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D69014/new/ https://reviews.llvm.org/D69014 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits