unstale

pypi / python-ldap

python-ldap

What changed in python-ldap 3, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-25.

3 breaking2 security7 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.6 on npm

python-ldap 312 changes

Breaking changes 3

  • Server-sent invalid UTF-8 is handled by throwing an error.

    3.4.8release notes

  • An fd provided to set up a new LDAPObject is owned and managed by the module; callers should not close it themselves.

    3.4.8release notes

  • Building now requires setuptools>=61; older environments fail with a clear resolver error instead of producing broken sdist metadata.

    3.4.8release notes

Security 2

  • Correctly escapes output when emitting an HTML anchor.

    3.4.8release notes

  • The attrlist parameter is checked before use, avoiding memory errors caused by type mismatches.

    3.4.6release notes

Fixes and other changes 7

  • VLV control now honours the contextID passed in.

    3.4.8release notes

  • Now handles an empty string correctly.

    3.4.8release notes

  • Memory and reference leaks at error-handling time have been plugged.

    3.4.8release notes

  • Use OPT_RESTART when handling EINTR.

    3.4.8release notes

  • Errors involving requestName and requestValue are fixed.

    3.4.6release notes

  • The module now actively closes sockets when finished with them.

    3.4.6release notes

  • The module now actively closes sockets when finished with them.

    3.4.6release notes