X Tutup

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Antony.Lee
Recipients Antony.Lee, hrik2001
Date 2021-08-04.04:24:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1628051055.88.0.674203633155.issue44019@roundup.psfhosted.org>
In-reply-to
Content
Actually, upon further thought, the semantics I suggested above should go into `operator.caller` (cf. `operator.methodcaller`), and `operator.call`/`operator.__call__` should instead be defined as `operator.call(f, *args, **kwargs) == f(*args, **kwargs)`, so that the general rule `operator.opname(a, b) == a.__opname__(b)` (modulo dunder lookup rules) remains applicable.
History
Date User Action Args
2021-08-04 04:24:15Antony.Leesetrecipients: + Antony.Lee, hrik2001
2021-08-04 04:24:15Antony.Leesetmessageid: <1628051055.88.0.674203633155.issue44019@roundup.psfhosted.org>
2021-08-04 04:24:15Antony.Leelinkissue44019 messages
2021-08-04 04:24:15Antony.Leecreate
X Tutup