[prev in list] [next in list] [prev in thread] [next in thread] 

List:       zodb-dev
Subject:    [ZODB-Dev] repozo uses md5 lib, which is deprecated in python 2.6
From:       Chris Withers <chris () simplistix ! co ! uk>
Date:       2009-11-18 17:00:20
Message-ID: 4B042824.4000305 () simplistix ! co ! uk
[Download RAW message or body]

Hi All,

ZODB's repozo script uses the md5 library, which is deprecated in python 
2.6, resulting in annoying emails from cron jobs.

A few questions:

- Where's the tracker for ZODB nowadays to report this issue?

- 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?

- Does repozo have any tests? If so, how do I run them.

cheers,

Chris

-- 
Simplistix - Content Management, Batch Processing & Python Consulting
            - http://www.simplistix.co.uk
_______________________________________________
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zodb-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic