So one of the biggest developments was Guido's approval to enhancements around 'yield', making a new gen.send(arg) method to supplement the already-defined gen.next(). gen.send(arg) will feed arguments to a yield *expression* i.e. a yield on the right side of an assignment operator, e.g. x = yield. gen.send(None) is equivalent to gen.next().
http://www.opensubscriber.com/message/[email protected]/1624403.html http://www.python.org/peps/pep-0342.html I'm hoping we'll build some simpler examples than those provided in the PEP, using simple math concepts or just skeletal "means nothing" code. Kirby _______________________________________________ Edu-sig mailing list [email protected] http://mail.python.org/mailman/listinfo/edu-sig
