More news from Europython
7 Jul
2005
7 Jul
'05
4:48 a.m.
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/patches@python.org/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
7130
Age (days ago)
7130
Last active (days ago)
0 comments
1 participants
participants (1)
-
Kirby Urner