This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author bquinlan
Recipients avdd, bquinlan, georg.brandl, r.david.murray, ron_adam
Date 2011-02-01.23:57:24
SpamBayes Score 2.8743141e-05
Marked as misclassified No
Message-id <1296604645.17.0.126840786823.issue10918@psf.upfronthosting.co.za>
In-reply-to
Content
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)
History
Date User Action Args
2011-02-01 23:57:25bquinlansetrecipients: + bquinlan, georg.brandl, ron_adam, r.david.murray, avdd
2011-02-01 23:57:25bquinlansetmessageid: <1296604645.17.0.126840786823.issue10918@psf.upfronthosting.co.za>
2011-02-01 23:57:24bquinlanlinkissue10918 messages
2011-02-01 23:57:24bquinlancreate