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 r.david.murray
Recipients amaury.forgeotdarc, ebfe, ggenellina, gladed, r.david.murray, vstinner
Date 2010-12-18.21:43:24
SpamBayes Score 7.0181324e-07
Marked as misclassified No
Message-id <1292708606.95.0.282799375917.issue4871@psf.upfronthosting.co.za>
In-reply-to
Content
What about bytearray?  Apparently that works pre-patch for at least read, though setpassword rejects it via an assertion.

Also, the error message should be "expected bytes" rather than "bytes expected".  Don't ask me why, that's just the way it is normally done, so the other order sounds weird to this English speaker's ear.  Otherwise the py3k patch looks good and tests correctly for me.
History
Date User Action Args
2010-12-18 21:43:27r.david.murraysetrecipients: + r.david.murray, amaury.forgeotdarc, ggenellina, vstinner, ebfe, gladed
2010-12-18 21:43:26r.david.murraysetmessageid: <1292708606.95.0.282799375917.issue4871@psf.upfronthosting.co.za>
2010-12-18 21:43:24r.david.murraylinkissue4871 messages
2010-12-18 21:43:24r.david.murraycreate