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 zuo
Recipients docs@python, zuo
Date 2013-11-11.01:56:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1384134960.27.0.809048925872.issue19548@psf.upfronthosting.co.za>
In-reply-to
Content
8. Again ad `codecs.open`: the default file mode is actually 'rb', not 'r'.

9. Several places in the docs -- ad: `codecs.register_error`, `codecs.open`, `codecs.EncodedFile`, `Codec.encode/decode`, `codecs.StreamWriter/StreamReader` -- do not cover cases of using bytes-to-bytes and/or str-to-str encodings (especially when using `string`/`bytes` and `text`/`binary` terms).

10. `codecs.replace_errors` -- `bytestring` should be replaced with `bytes-like object` (as in other places).
History
Date User Action Args
2013-11-11 01:56:00zuosetrecipients: + zuo, docs@python
2013-11-11 01:56:00zuosetmessageid: <1384134960.27.0.809048925872.issue19548@psf.upfronthosting.co.za>
2013-11-11 01:56:00zuolinkissue19548 messages
2013-11-11 01:56:00zuocreate