[issue3831] Multiprocessing: Expose underlying pipe in queues

Matt Joiner report at bugs.python.org
Sat Apr 9 02:13:27 CEST 2011


Matt Joiner <anacrolix at gmail.com> added the comment:

I look forward to this, or something similar. Inspiration can be taken from Golangs's select behaviour on channels.

select {
case i1 = <-c1:
	print("received ", i1, " from c1\n")
case c2 <- i2:
	print("sent ", i2, " to c2\n")

default:
	print("no communication\n")
}

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3831>
_______________________________________


More information about the Python-bugs-list mailing list