classification
Title: Line buffering in socket._fileobject is broken
Type: behavior Stage: resolved
Components: Library (Lib) Versions: Python 2.7
process
Status: closed Resolution: duplicate
Dependencies: Superseder: socket line buffering
View: 879399
Assigned To: Nosy List: kristjan.jonsson, neologix
Priority: normal Keywords: patch

Created on 2012-12-14 09:10 by kristjan.jonsson, last changed 2012-12-14 10:07 by neologix. This issue is now closed.

Files
File name Uploaded Description Edit
_fileobject.diff kristjan.jonsson, 2012-12-14 09:10
Messages (3)
msg177452 - (view) Author: Kristján Valur Jónsson (kristjan.jonsson) * (Python committer) Date: 2012-12-14 09:10
socket._fileobject supports line buffering for output with the bufsize=1 option.  Unfortunately, it is broken and behaves like no buffering.  This patch remedies the situation.
msg177454 - (view) Author: Kristján Valur Jónsson (kristjan.jonsson) * (Python committer) Date: 2012-12-14 09:18
http://www.urbandictionary.com/define.php?term=borken
msg177456 - (view) Author: Charles-François Natali (neologix) * (Python committer) Date: 2012-12-14 10:07
It's a duplicate, otherwise the patch LGTM.
History
Date User Action Args
2012-12-14 10:07:33neologixsetstatus: open -> closed

superseder: socket line buffering

nosy: + neologix
messages: + msg177456
resolution: duplicate
stage: resolved
2012-12-14 09:18:12kristjan.jonssonsetmessages: + msg177454
2012-12-14 09:15:37berker.peksagsettitle: Line buffering in socket._fileobject is borken -> Line buffering in socket._fileobject is broken
2012-12-14 09:10:28kristjan.jonssoncreate