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

Brian Quinlan report at bugs.python.org
Wed Feb 2 00:57:25 CET 2011


Brian Quinlan <brian at sweetapp.com> added the comment:

Sorry for taking so long to reply - I was on holidays until today.

This is an incompatible API change (since people may be providing "fn" by keyword) so we should probably hold off until 3.3.

I also don't really like that the signature for submit will become less readable. And the fix is pretty trivial i.e. functools.partial.

So really I'm -0 on this. But if anyone cares enough, I'll happily review and apply patches that change the submit signature to the one that Adrian proposed.

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

----------
resolution: wont fix -> accepted
status: closed -> open

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


More information about the Python-bugs-list mailing list