|
From: <mi...@st...> - 2007-03-22 21:45:17
|
David,
hope you don't mind that I'm Cc:-ing the list.
David Leonard wrote:
>
> Mmm as LDAPDN doesn't seem to be used in any other part of the C API,
At Python level I don't care about LDAPDN at all.
> Maybe just move the explode_* impl out into python code..
That's what I'm currently doing.
Other issues:
$ python -c "import _ldap;print _ldap.str2dn('')"
Segmentation fault
$ python -c "import _ldap;print _ldap.str2dn('c=')"
[[('c', None, 1)]]
^^^^
IMHO this should be ''.
Ciao, Michael.
|