This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author socketpair
Recipients gvanrossum, j1m, socketpair, vstinner, yselivanov
Date 2016-06-29.15:17:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Also I recommend you to use asyncio streams, instead of reinventing wheels.

So, reading your command will look like:

data = await stream.read_exactly(4)
(len,) = unpack(">I", data)
command = await stream.read_exactly(len)
Date User Action Args
2016-06-29 15:17:40socketpairsetrecipients: + socketpair, gvanrossum, vstinner, j1m, yselivanov
2016-06-29 15:17:40socketpairsetmessageid: <>
2016-06-29 15:17:40socketpairlinkissue27386 messages
2016-06-29 15:17:40socketpaircreate