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 gregory.p.smith
Recipients gregory.p.smith, pitrou, vstinner
Date 2011-04-07.06:08:22
SpamBayes Score 1.9063448e-08
Marked as misclassified No
Message-id <BANLkTimUcUw+w_vQsc7g0McXjqVQeWs3ZQ@mail.gmail.com>
In-reply-to <1302012128.46.0.552990700902.issue11771@psf.upfronthosting.co.za>
Content
heh yeah.  while all hash functions do have internal state and someone
could conceivably want to store such a state (it basically amounts to
queued up partial block of input data if any and the current starting
IV) there are not consistent APIs to expose that and I really don't
see why it'd be worth trying to find them.

remember, hashlib doesn't have to be openssl.  there are non openssl
libtomcrypt based versions and someone nice should write a libnss
based version someday.

i'd mark this "won't fix." :)

-Greg

On Tue, Apr 5, 2011 at 7:02 AM, Antoine Pitrou <report@bugs.python.org> wrote:
>
> Antoine Pitrou <pitrou@free.fr> added the comment:
>
> Why on Earth would you want to serialize a hashlib object?
> It makes as much sense as serializing, say, a JSONEncoder.
>
> ----------
> nosy: +gregory.p.smith, pitrou
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue11771>
> _______________________________________
>
History
Date User Action Args
2011-04-07 06:08:23gregory.p.smithsetrecipients: + gregory.p.smith, pitrou, vstinner
2011-04-07 06:08:22gregory.p.smithlinkissue11771 messages
2011-04-07 06:08:22gregory.p.smithcreate