[issue12996] multiprocessing.Connection endianness issue

2011-09-20 Thread Charles-François Natali
Changes by Charles-François Natali : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___

[issue12996] multiprocessing.Connection endianness issue

2011-09-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9c1c81d24e23 by Charles-François Natali in branch 'default': Issue #12996: multiprocessing.connection: transmit the header in network byte http://hg.python.org/cpython/rev/9c1c81d24e23 -- nosy: +python-dev _

[issue12996] multiprocessing.Connection endianness issue

2011-09-18 Thread Charles-François Natali
Charles-François Natali added the comment: > "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." > > I don't think so, the C code uses also the host endian

[issue12996] multiprocessing.Connection endianness issue

2011-09-18 Thread STINNER Victor
STINNER Victor added the comment: "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." I don't think so, the C code uses also the host endian. This issue is a

[issue12996] multiprocessing.Connection endianness issue

2011-09-16 Thread Charles-François Natali
New submission from Charles-François Natali : 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 wit