[Python-checkins] [python/cpython] 2197ea: bpo-28814: Undeprecate inadvertently deprecated in...

GitHub noreply at github.com
Thu Feb 23 10:42:32 EST 2017


  Branch: refs/heads/3.6
  Home:   https://github.com/python/cpython
  Commit: 2197eac6104311472f200645bc844adb46444b10
      https://github.com/python/cpython/commit/2197eac6104311472f200645bc844adb46444b10
  Author: Berker Peksag <berker.peksag at gmail.com>
  Date:   2017-02-24 (Fri, 24 Feb 2017)

  Changed paths:
    M Doc/library/inspect.rst
    M Doc/whatsnew/3.5.rst

  Log Message:
  -----------
  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)




More information about the Python-checkins mailing list