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 terry.reedy
Recipients terry.reedy, zathras
Date 2008-05-02.21:07:49
SpamBayes Score 0.15969554
Marked as misclassified No
Message-id <1209762470.29.0.809003369504.issue2695@psf.upfronthosting.co.za>
In-reply-to
Content
What module is this in that you want to change?

Note 1: hashlib checks upper and lower case versions of names.
So this seems like reasonable request.

Note 2: I would start hashlib.__get_builtin_constructor(name):
with 'name = name.lower()'
and replace first two 'name in' constructions with 'name =='
and shrink 2nd two lists.

Note 3. I would do same with get_algorithm_impls():
   algorithm = algorithm.lower()
Instead of possibly calling .lower twice.
History
Date User Action Args
2008-05-02 21:34:32terry.reedyunlinkissue2695 messages
2008-05-02 21:07:50terry.reedysetspambayes_score: 0.159696 -> 0.15969554
recipients: + terry.reedy, zathras
2008-05-02 21:07:50terry.reedysetspambayes_score: 0.159696 -> 0.159696
messageid: <1209762470.29.0.809003369504.issue2695@psf.upfronthosting.co.za>
2008-05-02 21:07:49terry.reedylinkissue2695 messages
2008-05-02 21:07:49terry.reedycreate