ldap.open() SSL patch
michael at stroeder.com
Sun Apr 18 14:23:33 CEST 2010
ygormutti at dcc.ufba.br wrote:
> Michael Ströder <michael at stroeder.com>:
>> Yes, you're right. I would accept such a patch. ;-)
>> At least it's documented:
> I was using ldap.open because there are many code samples where it's
> still used, in the tubes.
> The new patch is attached.
Just raising DeprecationWarning exception breaks existing code. I have to
reject your patch. ;-)
I've checked in a solution which only outputs a warning (just like md5.py does
in recent Python releases). So old code should still work.
More information about the python-ldap