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 alex
Recipients alex, benjamin.peterson, christian.heimes, dstufft, giampaolo.rodola, janssen, ncoghlan, pitrou
Date 2014-04-22.21:27:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1398202028.13.0.882150986754.issue21306@psf.upfronthosting.co.za>
In-reply-to
Content
Design question here: compare_digest on Python 3 supports comparing str (text) objects, if they're both ascii-only. This feature is provided, primarily, so you can compare hexdigests or similar.

Should the Python 2 version support comparing unicodes? Arguments in favor: some amount of consistency. Against: it's not necessary because hexdigest is still a str (binary), further it's not actually posisble to replicate the ascii only semantic.
History
Date User Action Args
2014-04-22 21:27:08alexsetrecipients: + alex, ncoghlan, janssen, pitrou, giampaolo.rodola, christian.heimes, benjamin.peterson, dstufft
2014-04-22 21:27:08alexsetmessageid: <1398202028.13.0.882150986754.issue21306@psf.upfronthosting.co.za>
2014-04-22 21:27:08alexlinkissue21306 messages
2014-04-22 21:27:07alexcreate