[patch] Demo/simplebrowse.py fixes/enhancemnts

Michael Ströder michael at stroeder.com
Wed Dec 19 17:04:32 CET 2001

Paul Sokolovsky wrote:
> DL> Now, I don't fully understand X.500 so maybe someone else knows a way of
> DL> properly defining and implementing "cd .."?
>     I understand that it's not that simple, but it's just the demo and
> my hack likely fixed it a bit and added some feature ;-) . I don't
> think it's a big problem anyway - yes, some intermediate levels may
> not exist, but don't you want to see corresponding exception with
> your own eyes?

If the parent entry does not exist you either have to catch
ldap.NO_SUCH_OBJECT or handle a referral. I see no problem either.

Ciao, Michael.

More information about the python-ldap mailing list