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 pitrou
Recipients christian.heimes, craigemery, jnelson, pitrou
Date 2014-11-17.21:42:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1416260535.95.0.236409353448.issue1038591@psf.upfronthosting.co.za>
In-reply-to
Content
The simple fact of the matter is that socket.makefile() has never worked for non-blocking sockets on 2.x. I doubt Twisted would be so broken as to use it in that context, but if that's the case, you should report a bug to them. If it's your own code, just use the socket directly (and call recv() and friends).

3.x should work fine, in that read() will return a short read (or None if nothing could be read before EAGAIN). Still, more complex calls such as readline() may still give incorrect results.
History
Date User Action Args
2014-11-17 21:42:15pitrousetrecipients: + pitrou, jnelson, christian.heimes, craigemery
2014-11-17 21:42:15pitrousetmessageid: <1416260535.95.0.236409353448.issue1038591@psf.upfronthosting.co.za>
2014-11-17 21:42:15pitroulinkissue1038591 messages
2014-11-17 21:42:15pitroucreate