Coroutines and argument tupling

Bjoern Schliessmann usenet-mail-0306.20.chr0n0ss at spamgourmet.com
Thu Aug 16 08:58:11 EDT 2007


Marshall T. Vandegrift wrote:

> I'd seen the consumer decorator, and it certainly is cleaner than
> just using a generator.  I don't like how it hides the parameter
> signature in the middle of the consumer function though, and it
> also doesn't provide for argument default values.  

Mh, that may be. :( I didn't use it much yet.
 
> Thanks in any case for the replies!  Since I've apparently decided
> my ArgPacker is worth it, the complete code for my coroutine
> decorator follows.

Thanks for reporting back, and happy coding.

Regards,


Björn

-- 
BOFH excuse #198:

Post-it Note Sludge leaked into the monitor.




More information about the Python-list mailing list