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 Isobel Hooper, barry, docs@python, loewis, martin.panter, ncoghlan, r.david.murray, slinkp
Date 2015-12-21.06:19:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1450678788.64.0.816104584289.issue1753718@psf.upfronthosting.co.za>
In-reply-to
Content
The term "bytes-like object" is specifically designed for those situations where python used to say "X does not support the buffer interface" if passed something else.  Which is the case here...now it says "a bytes-like object is required".  I'm not sure if we fixed that everywhere, but I think we did.  It is certainly true in the cases you cite, except that it turns out that ignorechars accepts an ASCII string.

So, if there is any sort of remaining problem, it is a separate issue: my edits match the current error message behavior.  I'll fix ignorechars and commit.
History
Date User Action Args
2015-12-21 06:19:48r.david.murraysetrecipients: + r.david.murray, loewis, barry, ncoghlan, slinkp, docs@python, martin.panter, Isobel Hooper
2015-12-21 06:19:48r.david.murraysetmessageid: <1450678788.64.0.816104584289.issue1753718@psf.upfronthosting.co.za>
2015-12-21 06:19:48r.david.murraylinkissue1753718 messages
2015-12-21 06:19:48r.david.murraycreate