Author r.david.murray
Recipients Guillaume.Bouchard, docs@python, pitrou, r.david.murray
Date 2011-12-06.14:30:26
SpamBayes Score 4.53558e-08
Marked as misclassified No
Message-id <1323181826.87.0.685107739752.issue13538@psf.upfronthosting.co.za>
In-reply-to
Content
A diff would be great.

We try to use warnings sparingly, and I don't think this is a case that warrants it.  Possibly a .. note is worthwhile, perhaps with an example for the bytes case, but even that may be too much.

I also wouldn't use the wording "is totally different from what you would expect", since by now I do expect it :).  How about something like "the result will not be the decoded version of the bytes, but instead will be the repr of the object", with a cross link to repr.
History
Date User Action Args
2011-12-06 14:30:26r.david.murraysetrecipients: + r.david.murray, pitrou, docs@python, Guillaume.Bouchard
2011-12-06 14:30:26r.david.murraysetmessageid: <1323181826.87.0.685107739752.issue13538@psf.upfronthosting.co.za>
2011-12-06 14:30:26r.david.murraylinkissue13538 messages
2011-12-06 14:30:26r.david.murraycreate