Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Doc: Clarify the relationship between initialize() and LDAPObject()
Originally, `ldap.ldapobject.LDAPObject` was meant as a read/write alias of the "default" connection class. However, setting module attributes is bad practice (action at distance): it affects all users of python-ldap, some of which might not be aware of each other. Clarify that: * `initialize()` is a thin wrapper around calling `LDAPObject()`, * it is fine and recommnended to instantiate LDAPObject-like classes directly, and * it is possible, but not recommended, to set `ldap.ldapobject.LDAPObject` to another class.
- Loading branch information