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 jaraco
Recipients docs@python, jaraco
Date 2013-07-22.20:29:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1374524940.42.0.582552143445.issue18532@psf.upfronthosting.co.za>
In-reply-to
Content
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 the '.name' attribute be formally added to the documentation to reflect the actual implementation.

I suggest this change be considered as a bugfix release if the original intention was for the '.name' attribute to be public (as it's a bug in the documentation if the intended and implemented interface isn't fully documented).

I plan to do some research to ascertain the intention of this attribute (as can be inferred from tests and the source). For now, I'll assume Python 3.4 only.

Any comments or suggestions welcome.
History
Date User Action Args
2013-07-22 20:29:00jaracosetrecipients: + jaraco, docs@python
2013-07-22 20:29:00jaracosetmessageid: <1374524940.42.0.582552143445.issue18532@psf.upfronthosting.co.za>
2013-07-22 20:29:00jaracolinkissue18532 messages
2013-07-22 20:29:00jaracocreate