[pypy-svn] r28265 - in pypy/dist/pypy/lib: . test2
cfbolz at codespeak.net
cfbolz at codespeak.net
Sun Jun 4 16:46:00 CEST 2006
Author: cfbolz
Date: Sun Jun 4 16:46:00 2006
New Revision: 28265
Added:
pypy/dist/pypy/lib/test2/test_sio.py
- copied, changed from r28249, pypy/dist/pypy/lib/test2/FIXME_test_sio.py
Removed:
pypy/dist/pypy/lib/test2/FIXME_test_sio.py
Modified:
pypy/dist/pypy/lib/_sio.py
Log:
(ac, cfbolz): 17000 revision later: finish fixing test_sio.py. One tiny tiny
bug in _sio found.
Modified: pypy/dist/pypy/lib/_sio.py
==============================================================================
--- pypy/dist/pypy/lib/_sio.py (original)
+++ pypy/dist/pypy/lib/_sio.py Sun Jun 4 16:46:00 2006
@@ -525,7 +525,7 @@
def write(self, data):
buflen = len(self.buf)
datalen = len(data)
- if datalen + buflen <= self.bufsize:
+ if datalen + buflen < self.bufsize:
self.buf += data
elif buflen:
self.buf += data[:self.bufsize-buflen]
More information about the Pypy-commit
mailing list