Nick Coghlan <[email protected]> added the comment:
Just noticed one minor nit with the patch: the pure Python version of
functools.partial should support "func" as a keyword argument that is passed to
the underlying object. The trick is to declare a positional only argument like
this:
def f(*args, **kwds):
first, *args = args
# etc...
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue12428>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com