[Python-Dev] Missing operator.call (original) (raw)
Nick Coghlan ncoghlan at gmail.com
Wed Feb 4 14:33:45 CET 2009
- Previous message: [Python-Dev] Missing operator.call
- Next message: [Python-Dev] Missing operator.call
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hrvoje Niksic wrote:
Is there a reason why the operator module doesn't have an operator.call function?
My guess is that it was left out because it would have been redundant given the existence of apply() in 2.x.
That argument no longer holds in 3.x of course, so operator.call may be a reasonable addition to 3.1 (and then to 2.7 for forward compatibility reasons).
I'm somewhere between -0 and +0 though (-0 due to the lack of concrete use cases, +0 because the improved consistency is appealing)
Cheers, Nick.
-- Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
- Previous message: [Python-Dev] Missing operator.call
- Next message: [Python-Dev] Missing operator.call
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]