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 terry.reedy
Recipients docs@python, mjpieters, python-dev, terry.reedy
Date 2014-10-10.17:06:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1412960802.54.0.863796647748.issue22575@psf.upfronthosting.co.za>
In-reply-to
Content
I changed the line to 
* If it is unicode, you must also give the encoding (and optionally, errors) parameters; bytearray() then converts the unicode to bytes using unicode.encode().

Thank you for the report, and for your work answering questions on SO
History
Date User Action Args
2014-10-10 17:06:42terry.reedysetrecipients: + terry.reedy, mjpieters, docs@python, python-dev
2014-10-10 17:06:42terry.reedysetmessageid: <1412960802.54.0.863796647748.issue22575@psf.upfronthosting.co.za>
2014-10-10 17:06:42terry.reedylinkissue22575 messages
2014-10-10 17:06:42terry.reedycreate