Message172960
Instead of documenting what *encoding* and *errors* do, I would just say that str(bytesobj, encoding, errors) is equivalent to bytesobj.decode(encoding, errors) (assuming it really is). I don't like encodings/decodings done via the str/bytes constructors, and I think the docs should encourage the use of bytes.decode/str.encode. |
|
Date |
User |
Action |
Args |
2012-10-15 11:05:10 | ezio.melotti | set | recipients:
+ ezio.melotti, terry.reedy, pitrou, eric.araujo, r.david.murray, chris.jerdonek, docs@python, Guillaume.Bouchard |
2012-10-15 11:05:10 | ezio.melotti | set | messageid: <1350299110.51.0.674960545785.issue13538@psf.upfronthosting.co.za> |
2012-10-15 11:05:10 | ezio.melotti | link | issue13538 messages |
2012-10-15 11:05:10 | ezio.melotti | create | |
|