Changes by Christian Heimes li...@cheimes.de:
--
stage: patch review - committed/rejected
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18532
___
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 rep...@bugs.python.org
http://bugs.python.org/issue18532
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 rep...@bugs.python.org
http://bugs.python.org/issue18532
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
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
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
Changes by Jason R. Coombs jar...@jaraco.com:
--
keywords: +needs review
stage: needs patch - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18532
___
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
Christian Heimes added the comment:
Sounds like a good idea.
--
nosy: +christian.heimes, gregory.p.smith
stage: - needs patch
type: - enhancement
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18532
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 rep...@bugs.python.org
http://bugs.python.org/issue18532
10 matches
Mail list logo