Re: [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 <[email protected]>
| Newsgroups | gmane.comp.web.zope.zope3.cvs |
|---|---|
| Message-ID | <[email protected]> |
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"