Terry J. Reedy <[EMAIL PROTECTED]> added the comment: Function is about 2/3rds down in urllib2.
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. Note 4: I consider 'name = lambda ...' inferior to 'def name...' but I am not the one who will edit this. Keyword says patch, but I do not see one. __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2695> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com