wesley chun wrote:
> below is a quick summary of the 2.5 highlights.  of these, i like/use
> the following:
> 1, 2, 4, 5, 6, 7, (8), 9a, 9b. 
> 
> 7) Enhanced Generator Features (PEP 342) -- now you can "talk-back" to
> a generator, meaning you can send data into it as you resume it...
> .next() sends None, .send(obj) sends obj, .throw(exc) throws exception
> exc

Are you using this? I would be interested in finding out how. This seems 
like a feature that allows Python to be used in a new way, but I have 
not yet seen any real applications of it.

Kent

_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to