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 thorsten.behrens
Recipients docs@python, thorsten.behrens
Date 2010-12-30.00:24:30
SpamBayes Score 0.002080787
Marked as misclassified No
Message-id <1293668672.17.0.948063108001.issue10793@psf.upfronthosting.co.za>
In-reply-to
Content
The documentation for hashlib.hash.digest() states that digest() will "[r]eturn the digest of the data passed to the update() method so far. This is a bytes array of size digest_size[...]".

The returned object is of class 'bytes', not 'bytearray'. Documentation should reflect this.
History
Date User Action Args
2010-12-30 00:24:32thorsten.behrenssetrecipients: + thorsten.behrens, docs@python
2010-12-30 00:24:32thorsten.behrenssetmessageid: <1293668672.17.0.948063108001.issue10793@psf.upfronthosting.co.za>
2010-12-30 00:24:30thorsten.behrenslinkissue10793 messages
2010-12-30 00:24:30thorsten.behrenscreate