[issue18532] hashlib.HASH objects should officially expose the hash name

2013-08-15 Thread Christian Heimes
Christian Heimes added the comment: The builtin hash algorithms still had upper case names. I fixed it in revision http://hg.python.org/cpython/rev/9a4949f5d15c -- ___ Python tracker __

[issue18532] hashlib.HASH objects should officially expose the hash name

2013-08-15 Thread Christian Heimes
Changes by Christian Heimes : -- stage: patch review -> committed/rejected ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue18532] hashlib.HASH objects should officially expose the hash name

2013-08-06 Thread Christian Heimes
Christian Heimes added the comment: I added some tests in 5fbf23e947d8 and found a bug in the _sha1 module, too. -- status: open -> closed ___ Python tracker ___

[issue18532] hashlib.HASH objects should officially expose the hash name

2013-08-04 Thread Jason R. Coombs
Jason R. Coombs added the comment: I've confirmed the tests pass and the updated documentation renders nicely and without warnings. These changes now make the name attribute officially-supported and tested. -- resolution: -> fixed ___ Python tracke

[issue18532] hashlib.HASH objects should officially expose the hash name

2013-08-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 238c37e4c395 by Jason R. Coombs in branch 'default': Issue 18532: Added tests and documentation to formally specify the .name attribute on hashlib objects. http://hg.python.org/cpython/rev/238c37e4c395 -- nosy: +python-dev

[issue18532] hashlib.HASH objects should officially expose the hash name

2013-08-03 Thread Jason R. Coombs
Changes by Jason R. Coombs : -- keywords: +needs review stage: needs patch -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue18532] hashlib.HASH objects should officially expose the hash name

2013-08-03 Thread Jason R. Coombs
Jason R. Coombs added the comment: It's not obvious to me if the authors originally intended to have the 'name' attribute as a formal interface, so I've decided the change should probably be added to Python 3.4. Here's a diff I've put together: http://paste.jaraco.com/tMdQ2 It updates the doc

[issue18532] hashlib.HASH objects should officially expose the hash name

2013-07-22 Thread Daniel Holth
Daniel Holth added the comment: fwiw pypy 2 supports HASH.name but the older 1.9 (still part of some Linux distributions) did not. -- nosy: +dholth ___ Python tracker ___ __

[issue18532] hashlib.HASH objects should officially expose the hash name

2013-07-22 Thread Christian Heimes
Christian Heimes added the comment: Sounds like a good idea. -- nosy: +christian.heimes, gregory.p.smith stage: -> needs patch type: -> enhancement ___ Python tracker ___ _

[issue18532] hashlib.HASH objects should officially expose the hash name

2013-07-22 Thread Jason R. Coombs
New submission from Jason R. Coombs: In hashlib, the HASH objects currently supply a 'name' attribute, reflecting the name used to initialize the hash object, and they have since Python 2.5. However, this interface is not published so isn't honored by other platforms (namely pypy). I propose