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 jonathanunderwood, r.david.murray
Date 2017-12-27.15:22:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1514388120.73.0.213398074469.issue32431@psf.upfronthosting.co.za>
In-reply-to
Content
My suspicion is that this behavior/code is left over from when the code was handling strings in python2, where strings were always null terminated and so the equal-bytes test would always pass.  I don't think this is appropriate for bytes objects, so I think the compare logic should be fixed.  But I don't deal with the C code much, so I'd like an opinion from a core dev who does.
History
Date User Action Args
2017-12-27 15:22:00r.david.murraysetrecipients: + r.david.murray, jonathanunderwood
2017-12-27 15:22:00r.david.murraysetmessageid: <1514388120.73.0.213398074469.issue32431@psf.upfronthosting.co.za>
2017-12-27 15:22:00r.david.murraylinkissue32431 messages
2017-12-27 15:22:00r.david.murraycreate