Jesse Noller <jnol...@gmail.com> added the comment: John, can you try this on trunk:
from multiprocessing import * latin = str SENTINEL = latin('') def _echo(conn): for msg in iter(conn.recv_bytes, SENTINEL): conn.send_bytes(msg) conn.close() conn, child_conn = Pipe() p = Process(target=_echo, args=(child_conn,)) p.daemon = True p.start() really_big_msg = latin('X') * (1024 * 1024 * 32) conn.send_bytes(really_big_msg) assert conn.recv_bytes() == really_big_msg conn.send_bytes(SENTINEL) # tell child to quit child_conn.close() ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue3551> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com