[issue7418] hashlib : the names of the different hash algorithms

2010-09-06 Thread Éric Araujo
Éric Araujo added the comment: Great, thank you! -- resolution: accepted -> fixed stage: needs patch -> committed/rejected ___ Python tracker ___

[issue7418] hashlib : the names of the different hash algorithms

2010-09-06 Thread Gregory P. Smith
Gregory P. Smith added the comment: Implemented in py3k r84554. -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list

[issue7418] hashlib : the names of the different hash algorithms

2010-09-05 Thread Éric Araujo
Éric Araujo added the comment: Thanks for the reply. Reopening. I cannot propose a patch since I don’t know how to introspect OpenSSL (or how to write C, for that matter). -- stage: -> needs patch status: closed -> open ___ Python tracker

[issue7418] hashlib : the names of the different hash algorithms

2010-09-05 Thread Gregory P. Smith
Gregory P. Smith added the comment: Sounds like a good idea. frozensets for both. -- ___ Python tracker ___ ___ Python-bugs-list mail

[issue7418] hashlib : the names of the different hash algorithms

2010-09-05 Thread Éric Araujo
Éric Araujo added the comment: Could the module also grow an attribute listing all available algos, or non-guaranteed algos? (Please tell me if I should open a new report.) -- nosy: +eric.araujo ___ Python tracker

[issue7418] hashlib : the names of the different hash algorithms

2010-02-10 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +gps ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue7418] hashlib : the names of the different hash algorithms

2010-02-09 Thread Raymond Hettinger
Raymond Hettinger added the comment: I'll be taking a look at this patch during the sprints at Pycon. Will get back to you soonish :-) -- ___ Python tracker ___ ___

[issue7418] hashlib : the names of the different hash algorithms

2010-02-09 Thread Raymond Hettinger
Raymond Hettinger added the comment: I'll be taking a look at this patch during the sprints at Pycon. Will get back to you soonish :-) -- ___ Python tracker ___ ___

[issue7418] hashlib : the names of the different hash algorithms

2009-12-24 Thread Carl Chenet
Carl Chenet added the comment: Hi, Maybe you have some ideas on this patch? I think it could be a nice feature e.g in my app I need to support every hash algorithms available so with optparse module it is possible to write something like : for __hashtype in ('md5', 'sha1', 'sha224','s

[issue7418] hashlib : the names of the different hash algorithms

2009-12-02 Thread Carl Chenet
Carl Chenet added the comment: The fixed file : algorithms_constant_attribute_in_hashlib_module_update1.diff -- Added file: http://bugs.python.org/file15438/algorithms_constant_attribute_in_hashlib_module_update1.diff ___ Python tracker

[issue7418] hashlib : the names of the different hash algorithms

2009-12-02 Thread Carl Chenet
Changes by Carl Chenet : Removed file: http://bugs.python.org/file15437/algorithms_constant_value_in_hashlib_module.diff ___ Python tracker ___ __

[issue7418] hashlib : the names of the different hash algorithms

2009-12-02 Thread Carl Chenet
Carl Chenet added the comment: flox : You're right, sorry about that. Here is a fixed patch. -- Added file: http://bugs.python.org/file15437/algorithms_constant_value_in_hashlib_module.diff ___ Python tracker ___

[issue7418] hashlib : the names of the different hash algorithms

2009-12-01 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> rhettinger nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue7418] hashlib : the names of the different hash algorithms

2009-12-01 Thread flox
flox added the comment: I guess you missed the quotes. $ ./python foo.py Traceback (most recent call last): File "foo.py", line 2, in from hashlib import * TypeError: attribute name must be string, not 'tuple' -- nosy: +flox ___ Python track

[issue7418] hashlib : the names of the different hash algorithms

2009-12-01 Thread Carl Chenet
New submission from Carl Chenet : Hi, The hashlib module could provide a tuple offering the names of the different hash algorithms which are guaranteed to be supported. The expected result: >>> import hashlib >>> hashlib.algorithms ('md5', 'sha1', 'sha224', 'sha256', 'sha384', 'sha512') Here