New submission from Charles-François Natali <neolo...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue12996>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to