[Python-checkins] r68644 - sandbox/trunk/io-c/_bufferedio.c
antoine.pitrou
python-checkins at python.org
Sat Jan 17 03:52:25 CET 2009
Author: antoine.pitrou
Date: Sat Jan 17 03:52:25 2009
New Revision: 68644
Log:
This TODO has been done.
Modified:
sandbox/trunk/io-c/_bufferedio.c
Modified: sandbox/trunk/io-c/_bufferedio.c
==============================================================================
--- sandbox/trunk/io-c/_bufferedio.c (original)
+++ sandbox/trunk/io-c/_bufferedio.c Sat Jan 17 03:52:25 2009
@@ -3,8 +3,6 @@
#include "pythread.h"
#include "_iomodule.h"
-/* TODO: offsets must be off_t, not Py_ssize_t. See _fileio.c for examples */
-
/*
* BufferedIOBase class, inherits from IOBase.
*/
@@ -591,7 +589,7 @@
}
ENTER_BUFFERED(self)
-
+
if (self->writable) {
res = _BufferedWriter_flush_unlocked(self, 1);
if (res == NULL)
More information about the Python-checkins
mailing list