◐ Shell
clean mode source ↗

gh-108901: Deprecate `inspect.getargvalues` and `inspect.formatargvalues`, provide modern alternative by sobolevn · Pull Request #112639 · python/cpython

(Copying and pasting my reply from elsewhere :)

PEP 387 says two releases of deprecation is the minimum but also:

  • If the deprecated feature is replaced by a new one, it should generally be removed only after the last Python version without the new feature reaches end of support.

Does that apply here? If so, and if the replacement is added in 3.13, then the removals should be when 3.13 is EOL in October 2029, meaning removal in 3.18, not 3.15.