diff --git a/CHANGES b/CHANGES index 8bc3f96..198578a 100644 --- a/CHANGES +++ b/CHANGES @@ -3,6 +3,10 @@ Released 2.4.24 2016-01-18 Changes since 2.4.23: +Lib/ +* Work-around for attrlist=None regression introduced in 2.4.23 + by ref count patch + ---------------------------------------------------------------- Released 2.4.23 2016-01-17 @@ -1230,4 +1234,4 @@ Released 2.0.0pre02 2002-02-01 ---------------------------------------------------------------- Released 1.10alpha3 2000-09-19 -$Id: CHANGES,v 1.367 2016/01/17 20:30:43 stroeder Exp $ +$Id: CHANGES,v 1.368 2016/01/17 20:31:54 stroeder Exp $ diff --git a/Lib/ldap/ldapobject.py b/Lib/ldap/ldapobject.py index 8205bd4..e8e0b5d 100644 --- a/Lib/ldap/ldapobject.py +++ b/Lib/ldap/ldapobject.py @@ -3,7 +3,7 @@ See http://www.python-ldap.org/ for details. -\$Id: ldapobject.py,v 1.149 2015/10/24 15:46:12 stroeder Exp $ +\$Id: ldapobject.py,v 1.150 2016/01/17 20:31:54 stroeder Exp $ Compability: - Tested with Python 2.0+ but should work with Python 1.5.x @@ -580,7 +580,7 @@ def search_ext(self,base,scope,filterstr='(objectClass=*)',attrlist=None,attrson return self._ldap_call( self._l.search_ext, base,scope,filterstr, - attrlist,attrsonly, + attrlist or [],attrsonly, RequestControlTuples(serverctrls), RequestControlTuples(clientctrls), timeout,sizelimit,