On Mon, 8 Jan 2018 21:22:56 -0800
Nathaniel Smith <n...@pobox.com> wrote:
> 
> The only documented error from multiprocessing.Connection.recv is EOFError,
> which is basically equivalent to a StopIteration.

Actually recv() can raise an OSError corresponding to any system-level
error.

> I'm surprised that multiprocessing.Connection isn't iterable -- it seems
> like an obvious oversight.

What is obvious about making a connection iterable?  It's the first
time I see someone requesting this.

Regards

Antoine.


_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to