[New-bugs-announce] [issue12996] multiprocessing.Connection endianness issue

Charles-François Natali report at bugs.python.org
Fri Sep 16 20:40:55 CEST 2011


New submission from Charles-François Natali <neologix at free.fr>:

Since the rewrite in pure Python of multiprocessing.Connection (issue #11743), multiprocessing.Connection sends and receives the length of the data (used as header) in host byte order.
This will break if the connection's endpoints are on machine with different endianness.
Patch attached (it also removes an unnecessary computation of the length of the data being sent).

----------
components: Library (Lib)
files: multiprocessing_conn_endianness.diff
keywords: needs review, patch
messages: 144148
nosy: haypo, neologix
priority: normal
severity: normal
stage: patch review
status: open
title: multiprocessing.Connection endianness issue
type: behavior
versions: Python 3.3
Added file: http://bugs.python.org/file23171/multiprocessing_conn_endianness.diff

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


More information about the New-bugs-announce mailing list