[issue10918] **kwargs unnecessarily restricted in concurrent.futures 'submit' API

Adrian Dries report at bugs.python.org
Tue Jan 18 20:28:47 CET 2011


Adrian Dries <adries at gmail.com> added the comment:

Have your cake and eat it:

def submit(self, fn, args, kw):
    # submit implementation

def sugar(*args, **kw):
    return args[0].submit(args[1], args[2:], kw)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10918>
_______________________________________


More information about the Python-bugs-list mailing list