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
Baiju M <[email protected]>
| Newsgroups | gmane.comp.web.zope.zope3.cvs |
|---|---|
| Message-ID | <c911c70d0903041937kd8a0a9i16bf18a72d2510f8__44161.3163486638$1236224316$gmane$org@mail.gmail.com> |
On Thu, Mar 5, 2009 at 7:41 AM, Stephan Richter <[email protected]> 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. +1 -- Baiju M