avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Hammerbacher (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AVRO-451) Try to use hashlib in Python implementation and fall back to md5 if we can't find it
Date Fri, 19 Mar 2010 08:47:27 GMT

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

Jeff Hammerbacher updated AVRO-451:
-----------------------------------

    Fix Version/s: 1.3.2
           Status: Patch Available  (was: Open)

> 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
>            Assignee: Bruce Mitchener
>             Fix For: 1.3.2
>
>         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.


Mime
View raw message