◐ Shell
clean mode source ↗

[3.5] bpo-28814: Undeprecate inadvertently deprecated inspect functions. (#122) by berkerpeksag · Pull Request #244 · python/cpython

…ython#122)

Nick Coghlan said on bpo-28814:

> inspect.getargvalues() and inspect.formatargvalues() were deprecated
> in Python 3.5 as part of implementing bpo-20438

> This is incorrect, as these are *frame* introspection related functions,
> not callable introspection ones. The documentation and implementation
> layout is confusing though, as they're interleaved with the callable
> introspection operation

This commit undeprecates these functions and adds a note to ignore
previous deprecation notices.

(cherry picked from commit 0899b98)

Mariatta

@berkerpeksag berkerpeksag changed the title bpo-28814: Undeprecate inadvertently deprecated inspect functions. (#122) [3.5] bpo-28814: Undeprecate inadvertently deprecated inspect functions. (#122)

Feb 23, 2017

jaraco pushed a commit that referenced this pull request

Dec 2, 2022

jaraco added a commit to jaraco/cpython that referenced this pull request

Feb 17, 2023
fix(types): Adding some typing from typeshed