Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
Sorry, it makes no sense to me to add keyword arguments everywhere just
to accommodate partial(). The alternative using lambda is workable and
there have been proposals to further build-out partial. I acknowledge
your
New submission from Marek Kubica ma...@xivilization.net:
When calling operators from the ``operator``-module, they refuse to
accept keyword arguments:
operator.add(a=1, b=2)
TypeError: add() takes no keyword arguments
Operators with keyword arguments are important when one wants to create
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5567
___
___
Python-bugs-list mailing
Marek Kubica ma...@xivilization.net added the comment:
Well, some Schemes have an CURRYR variant which creates partial
functions with positional arguments from the right but the current
solution with partial accepting keywords is way more flexible since I
can pre-set any arguments I like in such