Real fix for attrlist=None regression introduced in 2.4.23 by ref count patch

This commit is contained in:
stroeder 2016-01-18 10:38:26 +00:00
parent 1d4bdc5b88
commit 6bc49775e8
2 changed files with 4 additions and 4 deletions

View File

@ -4,7 +4,7 @@ Released 2.4.24 2016-01-18
Changes since 2.4.23:
Lib/
* Work-around for attrlist=None regression introduced in 2.4.23
* Fix for attrlist=None regression introduced in 2.4.23
by ref count patch
----------------------------------------------------------------
@ -1234,4 +1234,4 @@ Released 2.0.0pre02 2002-02-01
----------------------------------------------------------------
Released 1.10alpha3 2000-09-19
$Id: CHANGES,v 1.368 2016/01/17 20:31:54 stroeder Exp $
$Id: CHANGES,v 1.369 2016/01/18 10:38:26 stroeder Exp $

View File

@ -3,7 +3,7 @@ ldapobject.py - wraps class _ldap.LDAPObject
See http://www.python-ldap.org/ for details.
\$Id: ldapobject.py,v 1.150 2016/01/17 20:31:54 stroeder Exp $
\$Id: ldapobject.py,v 1.151 2016/01/18 10:38:26 stroeder Exp $
Compability:
- Tested with Python 2.0+ but should work with Python 1.5.x
@ -580,7 +580,7 @@ class SimpleLDAPObject:
return self._ldap_call(
self._l.search_ext,
base,scope,filterstr,
attrlist or [],attrsonly,
attrlist,attrsonly,
RequestControlTuples(serverctrls),
RequestControlTuples(clientctrls),
timeout,sizelimit,