Message400640
> 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... |
|
| Date |
User |
Action |
Args |
| 2021-08-30 17:34:40 | Antony.Lee | set | recipients:
+ Antony.Lee, brett.cannon, rhettinger, mark.dickinson, vstinner, hrik2001 |
| 2021-08-30 17:34:40 | Antony.Lee | set | messageid: <[email protected]> |
| 2021-08-30 17:34:40 | Antony.Lee | link | issue44019 messages |
| 2021-08-30 17:34:40 | Antony.Lee | create | |
|