On Wed, Nov 18, 2009 at 12:00 PM, Chris Withers <ch...@simplistix.co.uk> wrote:
> - Anyone know what to replace md5 with? The warning suggests hashlib,
> which landed in 2.5. I assume it's okay to just use hashlib rather than
> worry about conditionally import md5 or hashlib, given that trunk ZODB
> and 3.9 branch are only targeted at Python 2.5 and above, right?
No, ZODB works with Python 2.4 too.
It's easy to handle this with a test on sys.version_info.
For more information about ZODB, see the ZODB Wiki:
ZODB-Dev mailing list - ZODB-Dev@zope.org