Author pitrou
Recipients mrjbq7, pitrou, sbt
Date 2013-03-27.16:00:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
A multiprocessing queue currently uses a 32-bit signed int to encode object length (in bytes):

    def _send_bytes(self, buf):
        # For wire compatibility with 3.2 and lower
        n = len(buf)
        self._send(struct.pack("!i", n))
        # The condition is necessary to avoid "broken pipe" errors
        # when sending a 0-length buffer if the other end closed the pipe.
        if n > 0:

I *think* we need to keep compatibility with the wire format, but perhaps we could use a special length value (-1?) to introduce a longer (64-bit) length value.
Date User Action Args
2013-03-27 16:00:26pitrousetrecipients: + pitrou, mrjbq7, sbt
2013-03-27 16:00:26pitrousetmessageid: <>
2013-03-27 16:00:26pitroulinkissue17560 messages
2013-03-27 16:00:26pitroucreate