> - 1) add a "getMembersMatching(regexp) method  (best, I think, as it can
>      leverage foreign search methods, i.e. MySQL's "SELECT WHERE name LIKE 
> %s")

I have implemented this for the MySQLMemberAdaptor, and it's a fabulous
speed improvement. My question to Barry would be now: do I need to make this
a compulsory method for the MemberAdaptor class (and declare this function
in MemberAdaptor.py), like:

    def getMembersMatching(self, regexp):
        """Get all the members who match regexp"""
        raise NotImplementedError

or is it enough to just "fall back" to the previous algorithm in case this
method doesn't exist (and then I need patch only admin.py and
MySQLMemberAdaptor, which I have done)?

-- Fil

_______________________________________________
Mailman-Developers mailing list
[email protected]
http://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-developers/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp

Reply via email to