From ee13950340f9b5143ed198ae7a1db630ff65bade Mon Sep 17 00:00:00 2001 From: Robert Bradshaw Date: Wed, 3 Nov 2010 02:35:05 -0700 Subject: [PATCH] Py < 2.6 fix. --- Cython/Utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cython/Utils.py b/Cython/Utils.py index d319ac06..06c2295d 100644 --- a/Cython/Utils.py +++ b/Cython/Utils.py @@ -115,7 +115,7 @@ class NormalisedNewlineStream(object): self.close = stream.close self.encoding = getattr(stream, 'encoding', 'UTF-8') - def read(self, count): + def read(self, count=-1): data = self._read(count) if u'\r' not in data: return data -- 2.26.2