You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Jeff Hammerbacher (JIRA)" <ji...@apache.org> on 2010/03/04 21:35:30 UTC
[jira] Created: (AVRO-451) Try to use hashlib in Python
implementation and fall back to md5 if we can't find it
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
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.
[jira] Updated: (AVRO-451) Try to use hashlib in Python
implementation and fall back to md5 if we can't find it
Posted by "Bruce Mitchener (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Assigned: (AVRO-451) Try to use hashlib in Python
implementation and fall back to md5 if we can't find it
Posted by "Jeff Hammerbacher (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AVRO-451?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeff Hammerbacher reassigned AVRO-451:
--------------------------------------
Assignee: Bruce Mitchener
> 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.
[jira] Updated: (AVRO-451) Try to use hashlib in Python
implementation and fall back to md5 if we can't find it
Posted by "Jeff Hammerbacher (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AVRO-451?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeff Hammerbacher updated AVRO-451:
-----------------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
Committed revision 925135. Thanks, Bruce!
> 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.
[jira] Updated: (AVRO-451) Try to use hashlib in Python
implementation and fall back to md5 if we can't find it
Posted by "Jeff Hammerbacher (JIRA)" <ji...@apache.org>.
[ 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.