[issue12981] rewrite multiprocessing (senfd|recvfd) in Python

STINNER Victor report at bugs.python.org
Thu Sep 15 11:12:16 CEST 2011


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

> - if the ancillay data is truncated, struct.unpack will raise an exception

Well, the current C code doesn't check that the data is truncated and it 
works correctly, so I don't think that it would be different in Python. 
And yes, Python adds an extra check thanks to struct.unpack.

----------

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


More information about the Python-bugs-list mailing list