[Zope3-checkins] [Checkins] SVN: zope.app.security/trunk/ Don't load security declarations for `sha` and `md5` modules on Python 2.6, as they were deprecated there. This is done pretty the same way, like the check for Python 2.5
mbaiju at zeomega.net
Wed Mar 4 22:37:00 EST 2009
On Thu, Mar 5, 2009 at 7:41 AM, Stephan Richter
<srichter at cosmos.phy.tufts.edu> wrote:
> On Wednesday 04 March 2009, Dan Korostelev wrote:
>> Don't load security declarations for `sha` and `md5` modules on Python
>> 2.6, as they were deprecated there. This is done pretty the same way, like
>> the check for Python 2.5 for excluding `gopherlib` in previous releases.
>> However, it's quite an ugly way, it works and anyway, modules behind
>> security proxies are not used much, so I believe that it's okay. :-)
> We really should allow a condition that let's you check for the Python version
> directly. It is clearly a common use case while transitioning to another
> Python release.
More information about the Zope3-Checkins