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 pitrou
Recipients giampaolo.rodola, josiah.carlson, josiahcarlson, nirs, pitrou, r.david.murray
Date 2010-08-30.20:13:20
SpamBayes Score 2.864978e-08
Marked as misclassified No
Message-id <1283199203.02.0.0449445268718.issue9693@psf.upfronthosting.co.za>
In-reply-to
Content
Some comments:

- the signature in the doc is not the same as in the code: (fun, args, kwds) instead of (fun, *args, **kwds)
- I don't understand what _Callable is used for; why not just a tuple?
(or a function if you prefer)
- if you use _Callable, then why do you write "hasattr(first, '__call__')" rather than simply "isinstance(first, _Callable)"?
- why override __bool__??

The API also looks a bit weird to me - the Twisted model of Deferreds is so much better - but why not.
History
Date User Action Args
2010-08-30 20:13:23pitrousetrecipients: + pitrou, josiahcarlson, nirs, giampaolo.rodola, josiah.carlson, r.david.murray
2010-08-30 20:13:23pitrousetmessageid: <1283199203.02.0.0449445268718.issue9693@psf.upfronthosting.co.za>
2010-08-30 20:13:20pitroulinkissue9693 messages
2010-08-30 20:13:20pitroucreate