You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Bruce Mitchener (JIRA)" <ji...@apache.org> on 2010/03/16 09:56:27 UTC

[jira] Updated: (AVRO-451) Try to use hashlib in Python implementation and fall back to md5 if we can't find it

     [ https://issues.apache.org/jira/browse/AVRO-451?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bruce Mitchener updated AVRO-451:
---------------------------------

    Attachment: avro_python_hashlib.diff

Easy fix ...

> Try to use hashlib in Python implementation and fall back to md5 if we can't find it
> ------------------------------------------------------------------------------------
>
>                 Key: AVRO-451
>                 URL: https://issues.apache.org/jira/browse/AVRO-451
>             Project: Avro
>          Issue Type: Improvement
>          Components: python
>    Affects Versions: 1.3.0
>            Reporter: Jeff Hammerbacher
>         Attachments: avro_python_hashlib.diff
>
>
> hashlib, new in 2.5, seems to be the better way to do things (http://docs.python.org/library/hashlib.html). We want to support Python 2.4, so the best way to handle this situation is to try to import hashlib and fall back to md5 if we can't find it (similar to the json/simplejson dance).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.