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 georg.brandl
Recipients William.Wu, georg.brandl, orsenthil, vstinner
Date 2011-02-10.17:53:33
SpamBayes Score 5.4899697e-08
Marked as misclassified No
Message-id <1297360413.63.0.562719658826.issue11082@psf.upfronthosting.co.za>
In-reply-to
Content
Victor: I don't see an API change here.  A ValueError is raised in both cases, and error messages are not part of the API. (And BTW, you may call me Georg.)

Senthil: I'd like the documentation change to be a bit more explicit that a string is always returned.  Since the string must be encoded, it would also be helpful to mention which encoding to use.

The new exception message looks slightly incorrect to me: the argument can also be an iterable of bytes.
History
Date User Action Args
2011-02-10 17:53:33georg.brandlsetrecipients: + georg.brandl, orsenthil, vstinner, William.Wu
2011-02-10 17:53:33georg.brandlsetmessageid: <1297360413.63.0.562719658826.issue11082@psf.upfronthosting.co.za>
2011-02-10 17:53:33georg.brandllinkissue11082 messages
2011-02-10 17:53:33georg.brandlcreate