]> granicus.if.org Git - python/commit
bpo-28814: Undeprecate inadvertently deprecated inspect functions. (#122) (#243)
authorBerker Peksag <berker.peksag@gmail.com>
Thu, 23 Feb 2017 15:42:30 +0000 (18:42 +0300)
committerNick Coghlan <ncoghlan@gmail.com>
Thu, 23 Feb 2017 15:42:30 +0000 (01:42 +1000)
commit2197eac6104311472f200645bc844adb46444b10
treecab888bbfa1915037a2a289de4f1ebcdbfed5326
parent55b82e10dc6b75b30a72fa56beb60eaf54a008d4
bpo-28814: Undeprecate inadvertently deprecated inspect functions. (#122) (#243)

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 0899b9809547ec2894dcf88cf4bba732c5d47d0d)
Doc/library/inspect.rst
Doc/whatsnew/3.5.rst