[issue16920] multiprocessing.connection listener gets MemoryError on recv

2013-01-10 Thread John Brearley
New submission from John Brearley: Using a multiprocessing.connection listener, I can accept an incoming socket OK, but when I do conn.recv(), I get memory error. The attached script mpl_bug.py will readily reproduce the issues on WinXP WinVista, see sample output below: pre c:\python

[issue16920] multiprocessing.connection listener gets MemoryError on recv

2013-01-10 Thread John Brearley
Changes by John Brearley brear...@magma.ca: -- versions: +Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16920 ___ ___ Python-bugs-list

[issue16920] multiprocessing.connection listener gets MemoryError on recv

2013-01-10 Thread John Brearley
John Brearley added the comment: In V3.2.2.3, the conn.accept() was failing to resolve the socket address. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16920 ___

[issue16920] multiprocessing.connection listener gets MemoryError on recv

2013-01-10 Thread Richard Oudkerk
Richard Oudkerk added the comment: Why are you connecting to a multiprocessing listener with a raw socket? You should be using multiprocessing.connection.Client to create a client connection. Connection.send(obj) writes a 32 bit unsigned int (in network order) to the socket representing the