[Python-checkins] r70046 - python/branches/io-c/Lib/_pyio.py

antoine.pitrou python-checkins at python.org
Sat Feb 28 02:31:01 CET 2009


Author: antoine.pitrou
Date: Sat Feb 28 02:31:00 2009
New Revision: 70046

Log:
Bump up CHUNK_SIZE (no need to make the Python version look slower than it is)



Modified:
   python/branches/io-c/Lib/_pyio.py

Modified: python/branches/io-c/Lib/_pyio.py
==============================================================================
--- python/branches/io-c/Lib/_pyio.py	(original)
+++ python/branches/io-c/Lib/_pyio.py	Sat Feb 28 02:31:00 2009
@@ -1338,7 +1338,7 @@
     write contains a newline character.
     """
 
-    _CHUNK_SIZE = 128
+    _CHUNK_SIZE = 2048
 
     def __init__(self, buffer, encoding=None, errors=None, newline=None,
                  line_buffering=False):


More information about the Python-checkins mailing list