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

GitHub noreply at github.com
Thu Feb 23 10:45:59 EST 2017


 Branch: refs/heads/3.5
 Home: https://github.com/python/cpython
 Commit: 0246422b974b1a0c50dd30b0e1a1138674ef87a5
 https://github.com/python/cpython/commit/0246422b974b1a0c50dd30b0e1a1138674ef87a5
 Author: Berker Peksag <berker.peksag at gmail.com>
 Date: 2017年02月24日 (2017年2月24日)
 Changed paths:
 M Doc/library/inspect.rst
 M Doc/whatsnew/3.5.rst
 Log Message:
 -----------
 bpo-28814: Undeprecate inadvertently deprecated inspect functions. (#122) (#244)
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

AltStyle によって変換されたページ (->オリジナル) /