[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

Stephan Richter srichter at cosmos.phy.tufts.edu
Wed Mar 4 21:11:36 EST 2009


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.

Regards,
Stephan
-- 
Stephan Richter
Web Software Design, Development and Training
Google me. "Zope Stephan Richter"


More information about the Zope3-Checkins mailing list