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 kevinbhendricks, r.david.murray
Date 2014-10-03.19:06:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1412363181.8.0.869926542586.issue22549@psf.upfronthosting.co.za>
In-reply-to
Content
Agreed, but that is a design decision that was taken long ago (regretted by more than a few but defended by others).  You can find a number of discussions of this by searching the python-dev archives, including some more recent discussions on possibilities for lessening the pain, but I don't remember if any of those turned into real proposals.

For now, you can find some helpers in six, or you can write your code using slice notation (b'abc'[1:2] == b'b').
History
Date User Action Args
2014-10-03 19:06:21r.david.murraysetrecipients: + r.david.murray, kevinbhendricks
2014-10-03 19:06:21r.david.murraysetmessageid: <1412363181.8.0.869926542586.issue22549@psf.upfronthosting.co.za>
2014-10-03 19:06:21r.david.murraylinkissue22549 messages
2014-10-03 19:06:21r.david.murraycreate