[issue12548] Add suport native Functor
yuriy_levchenko
report at bugs.python.org
Thu Jul 14 12:30:07 CEST 2011
yuriy_levchenko <levchenko.yuriy.vladimirovich at gmail.com> added the comment:
http://www.python.org/dev/peps/pep-0309/#note
--------------------------------------------------------------------
Abandoned Syntax Proposal
I originally suggested the syntax fn@(*args, **kw), meaning the same as partial(fn, *args, **kw).
The @ sign is used in some assembly languages to imply register indirection, and the use here is also a kind of indirection. f@(x) is not f(x), but a thing that becomes f(x) when you call it.
It was not well-received, so I have withdrawn this part of the proposal. In any case, @ has been taken for the new decorator syntax
--------------------------------------------------------------------
Maybe change '@' -> '%'
----------
status: closed -> open
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12548>
_______________________________________
More information about the Python-bugs-list
mailing list