[pypy-issue] [issue971] multiprocessing connection needs htonl/ntohl

brownan tracker at bugs.pypy.org
Wed Dec 21 16:36:23 CET 2011

New submission from brownan <brownan at gmail.com>:

Multiprocessing connection objects are not compatible with CPython. To 
run the example at


with one process using CPython and the other using pypy. Result: IOError: bad 
message length

According to Amaury on the list, this is because pypy neglects to call htonl and 
ntohl when sending and receiving bytes in 
pypy/module/_multiprocessing/interp_connection.py in e.g. do_send_string()

messages: 3590
nosy: brownan, pypy-issue
priority: bug
status: unread
title: multiprocessing connection needs htonl/ntohl

PyPy bug tracker <tracker at bugs.pypy.org>

More information about the pypy-issue mailing list