Skip to content

Improve python support for proxy deprecation

  • simple.py generates constructors methods. It iterates over each known proxy definition and call backwards compatibility helper to hook the proxy creation. So no code was called at all for removed proxy, leading to NameError exception without any chance to handle it in backwards compatibility tools.

    Thus, we now generate a list of deprecated/removed proxies associated to their fallback proxy. So:

    • deprecated constructors are defined
    • we go through backwards compatibility helper
  • Fixes #22282 (closed)

Merge request reports