[Python-Dev] Missing operator.call
Guido van Rossum
guido at python.org
Fri Feb 6 06:22:13 CET 2009
On Thu, Feb 5, 2009 at 9:20 PM, Greg Ewing <greg.ewing at canterbury.ac.nz> wrote:
> I've been thinking about proposing an enhancement
> concerning generators that would entail making
> "call" a reserved word, so I'd be a little
> disappointed if this name were used.
>
> Maybe apply() could be reinstated and put into
> the operator module?
That would lose the symmetry with __call__.
What's so special about your proposal that requires a new keyword?
--
--Guido van Rossum (home page: http://www.python.org/~guido/)
More information about the Python-Dev
mailing list