[Python-Dev] Proposal: go back to enabling DeprecationWarning by default (original) (raw)

Jakub Wilk jwilk at jwilk.net
Tue Nov 7 16:34:45 EST 2017


"import async" would indeed cause deprecation warning, but that's not what ldap3 does. The only uses of the now-keyword "async" in their codebase are like this:

from ..strategy.async import AsyncStrategy from .async import AsyncStrategy

These do not provoke deprecation warnings from Python 3.6. (They probably should!)

I'm afraid that showing deprecation warnings by default wouldn't have helped in this particular case.

-- Jakub Wilk



More information about the Python-Dev mailing list