Message115241
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. |
|
Date |
User |
Action |
Args |
2010-08-30 20:13:23 | pitrou | set | recipients:
+ pitrou, josiahcarlson, nirs, giampaolo.rodola, josiah.carlson, r.david.murray |
2010-08-30 20:13:23 | pitrou | set | messageid: <1283199203.02.0.0449445268718.issue9693@psf.upfronthosting.co.za> |
2010-08-30 20:13:20 | pitrou | link | issue9693 messages |
2010-08-30 20:13:20 | pitrou | create | |
|