Deprecate old APIsΒΆ

CPython is old, the code evolved. Some functions became useless and so should be removed. But backward compatibility matters in Python, so we need a transition period with a deprecation process.

The deprecation can be:

  • Emitted at runtime: DeprecationWarning

  • At the compilation: Py_DEPRECATED()

  • In the documentation

Functions that should deprecated:

See: