summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew/3.6.rst
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2016-12-02 10:29:57 (GMT)
committerNick Coghlan <ncoghlan@gmail.com>2016-12-02 10:29:57 (GMT)
commit3c35fdb8fbf72c750ab19036b6145751ccbec856 (patch)
tree7986833389f5aa0d803d30f11cf1c651abc480f6 /Doc/whatsnew/3.6.rst
parentc2c8fe1252dda7dd973a1da440607a1d9a9638f0 (diff)
downloadcpython-3c35fdb8fbf72c750ab19036b6145751ccbec856.zip
cpython-3c35fdb8fbf72c750ab19036b6145751ccbec856.tar.gz
cpython-3c35fdb8fbf72c750ab19036b6145751ccbec856.tar.bz2
Issue #27172: Undeprecate inspect.getfullargspec()
This is still useful for single source Python 2/3 code migrating away from inspect.getargspec(), but that wasn't clear with the documented deprecation in place.
Diffstat (limited to 'Doc/whatsnew/3.6.rst')
-rw-r--r--Doc/whatsnew/3.6.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.6.rst b/Doc/whatsnew/3.6.rst
index 3beea09..5b5884d 100644
--- a/Doc/whatsnew/3.6.rst
+++ b/Doc/whatsnew/3.6.rst
@@ -1155,6 +1155,13 @@ implicit ``.0`` parameters generated by the compiler for comprehension and
generator expression scopes as if they were positional-only parameters called
``implicit0``. (Contributed by Jelle Zijlstra in :issue:`19611`.)
+To reduce code churn when upgrading from Python 2.7 and the legacy
+:func:`inspect.getargspec` API, the previously documented deprecation of
+:func:`inspect.getfullargspec` has been reversed. While this function is
+convenient for single/source Python 2/3 code bases, the richer
+:func:`inspect.signature` interface remains the recommended approach for new
+code. (Contributed by Nick Coghlan in :issue:`27172`)
+
json
----