Someone changed the ZCML that registers the "gopherlib" module (why???) to this:

  <!-- This package has been deprecated in Python 2.5; let's use a cheap way
       of detecting Python 2.5 by checking whether the package "regex" exists,
       which has been deleted in that version. -->
  <module module="gopherlib"
          zcml:condition="installed regex">
    <allow attributes="send_selection send_query" />
  </module>

In trying to avoid a Python 2.5 deprecation warning (not removal),
this code imports and causes a deprecation warning for a module that
was declared obsolete in Python 1.5 (yes, that's a "1"!).

Isn't this just a little bit insane?

I think the condition should be removed for zope.app.security 3.5.2,
and the registration of gopherlib should be removed for 3.6.0.


 -Fred

-- 
Fred L. Drake, Jr. <fdrake at gmail.com>
"Chaos is the score upon which reality is written." --Henry Miller
_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to