Changed locking for function calls into _ldap

Michael Ströder michael at
Thu Jun 3 14:53:57 CEST 2010


After Howard's answer

I've relaxed the locking when calling functions of _ldap. Solely
_ldap.initialize() is now protected by a lock.

Also there's now debug logging for the locks if trace_level is 2 or higher.

Please review and test the code in HEAD especially with OpenLDAP 2.3 libs and
in heavily threaded environment.

Ciao, Michael.

More information about the python-ldap mailing list