In article <07ad771b-a6d1-4f08-b16c-07caf7462...@e18g2000yqo.googlegroups.com>, Michele Simionato <michele.simion...@gmail.com> wrote: >On Apr 18, 3:03=A0pm, a...@pythoncraft.com (Aahz) wrote: >> In article <gsc7e1$rj6$0...@news.t-online.com>, >> Peter Otten =A0<__pete...@web.de> wrote: >>> >>>If it were up to me I'd rip out send() immediatly. At first I thought I >>>would see a compelling use case and be enlightened, but it never happened. >> >> Too late -- it's likely to get an upgrade for 3.1 and 2.7. Basically, >> send() is useful for coroutines, and if you haven't yet read >>http://dabeaz.com/coroutines/ >> you really should (assuming you want to continue arguing). > >I suspect Peter knows everything about coroutines and still he is not >convinced about .send. FWIW, I am sympathic with him.
Okay, I'm curious, is the argument that you shouldn't use generators for coroutines or something else? -- Aahz (a...@pythoncraft.com) <*> http://www.pythoncraft.com/ "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." --Red Adair -- http://mail.python.org/mailman/listinfo/python-list