summaryrefslogtreecommitdiff
path: root/Python/Python-ast.c
diff options
context:
space:
mode:
authorKristján Valur Jónsson <kristjan@ccpgames.com>2009-02-02 16:04:04 +0000
committerKristján Valur Jónsson <kristjan@ccpgames.com>2009-02-02 16:04:04 +0000
commit1549e7098ad3469faa00c677a703d9e72ff306dc (patch)
tree5d27bd9432e059c43315d92b2317066b4098e8f0 /Python/Python-ast.c
parent5b779a58477e66f498dcfb228c793e01454aabf1 (diff)
downloadcpython-1549e7098ad3469faa00c677a703d9e72ff306dc.tar.gz
merging / reimplementing r68532 from the trunk to Py3k
Enable buffering for HTTPResponse's fp. read() behaves identically for buffered and non-buffered IO. read(n) also won't block if n bytes are availble on the socket. There is therefore no reason not to use buffering. The reason 2.x disables buffering by default, that some clients may be accessing the underlying socket directly and so bypass the buffering buffer, doesn't apply in 3.x with its redesigned IO library. See issue 4448 and issue 4879
Diffstat (limited to 'Python/Python-ast.c')
0 files changed, 0 insertions, 0 deletions