|
From: Michael <mi...@st...> - 2001-12-15 20:03:58
|
Michael Ströder wrote: > > As already announced I'd like to contribute some of my LDAP-related > Python modules to python-ldap. > > But I don't want to pollute the module name space with a lot of > separate names. Therefore I'd suggest that we turn the module ldap > into a directory-based module package adding more sub-modules later. > > ldap/__init__.py would import all symbols from _ldap for the sake of > backward compability (like ldap.py already does today). > > Comments? Hmm, following-up on my own request. After checking in some of my modules below Lib/ldap/ I noticed a serious drawback: All modules are dependent on availability of OpenLDAP 2 libs if located under Lib/ldap/ because of the "from _ldap import *" done in Lib/ldap/__init__.py. But I'm also using some of my modules separately on platforms where the OpenLDAP 2 libs are not available. This affects mostly the modules ldapurl, ldif, upcoming module dsml and upcoming module containing generic filter classes. The only solution I have at the moment is to make a new directory-based module package under Lib/ or a new project. Any opinions? Ciao, Michael. |