> I'm not convinced that operator.caller() would be useful to me.
To be clear, as noted above, I have realized that the semantics I initially proposed (now known as "caller") are not particularly useful; the semantics I am proposing (and implementing in the linked PR) are `call(f, *args, **kwargs) == f(*args, **kwargs)`.
> I don't see how operator.caller() implements an existing "intrinsic operators of Python".
Agreed; on the other hand function calling is much more intrinsic(?!)
> Can't you use functools.partial() for that?
How do you propose to do that? Perhaps I am missing an easy solution... |