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 dstufft
Recipients alex, benjamin.peterson, christian.heimes, dstufft, giampaolo.rodola, janssen, ncoghlan, pitrou, python-dev, smurfix
Date 2014-05-31.15:14:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1401549297.56.0.158750757671.issue21306@psf.upfronthosting.co.za>
In-reply-to
Content
That's also a security sensitive thing, you don't want to compare two different encoding and have it accidentally fail. Strictly speaking you can only do a constant time comparison on bytes, the fact it accepts unicode at all (even on Python 3.x) is a convenience feature.
History
Date User Action Args
2014-05-31 15:14:57dstufftsetrecipients: + dstufft, ncoghlan, janssen, pitrou, giampaolo.rodola, christian.heimes, benjamin.peterson, smurfix, alex, python-dev
2014-05-31 15:14:57dstufftsetmessageid: <1401549297.56.0.158750757671.issue21306@psf.upfronthosting.co.za>
2014-05-31 15:14:57dstufftlinkissue21306 messages
2014-05-31 15:14:56dstufftcreate