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 michael.foord, r.david.murray
Date 2010-10-22.02:38:38
SpamBayes Score 2.7855496e-13
Marked as misclassified No
Message-id <1287715123.38.0.87162557324.issue10164@psf.upfronthosting.co.za>
In-reply-to
Content
After talking with Michael on #python-dev, I've revised the patch to make it a real assertBytesEqual method rather than a pretend-the-bytes-are-strings method.  This version allows the byte strings to be split on an arbitrary byte string, which makes it more useful for getting diffs of structured binary data if that data has a convenient break point.  And the default is no splitting, which is what assertEqual uses when comparing bytes.

One of the tests is failing, and it's late and I can't figure out where the extra space is coming from.  Maybe someone else will check it out and spot the problem before I get back to it.
History
Date User Action Args
2010-10-22 02:38:43r.david.murraysetrecipients: + r.david.murray, michael.foord
2010-10-22 02:38:43r.david.murraysetmessageid: <1287715123.38.0.87162557324.issue10164@psf.upfronthosting.co.za>
2010-10-22 02:38:42r.david.murraylinkissue10164 messages
2010-10-22 02:38:41r.david.murraycreate