Author amccampos
Recipients amccampos
Date 2010-05-05.16:38:14
SpamBayes Score 0.000200882
Marked as misclassified No
Message-id <1273077495.73.0.386813094956.issue8630@psf.upfronthosting.co.za>
In-reply-to
Content
Some methods in StreamReaderWriter class (codecs library) has different signatures from StreamReader methods. More precisely it's missing the keepends parameter in readline and readlines methods.

So, we cannot code:
fp = codecs.open(fileName, "r", "utf-8")
lines = fp.readlines(keepends=False)
or
line = fp.readline(keepends=False)
History
Date User Action Args
2010-05-05 16:38:19amccampossetrecipients: + amccampos
2010-05-05 16:38:15amccampossetmessageid: <1273077495.73.0.386813094956.issue8630@psf.upfronthosting.co.za>
2010-05-05 16:38:14amccamposlinkissue8630 messages
2010-05-05 16:38:14amccamposcreate