homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author amccampos
Recipients amccampos
Date 2010年05月05日.16:38:14
SpamBayes Score 0.00020088228
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

AltStyle によって変換されたページ (->オリジナル) /