]> granicus.if.org Git - python/commit
Issue 20438: Add a note about deprecating old inspect APIs to whatsnew.
authorYury Selivanov <yselivanov@sprymix.com>
Fri, 22 May 2015 20:28:05 +0000 (16:28 -0400)
committerYury Selivanov <yselivanov@sprymix.com>
Fri, 22 May 2015 20:28:05 +0000 (16:28 -0400)
commit945fff44c496c3d918d42b148087faf73008c85d
tree583ab97e6968072215e83cdf015799bfc0be1431
parentc8386f78fdf68fef4d9b87e7147b6d288213b8e4
Issue 20438: Add a note about deprecating old inspect APIs to whatsnew.

Also, deprecate formatargspec, formatargvalues, and getargvalues
functions.  Since we are deprecating 'getfullargspec' function in
3.5 (documentation only, no DeprecationWarning), it makes sense
to also deprecate functions designed to be directly used with it.

In 3.6 we will remove 'getargsspec' function (was deprecated since
Python 3.0), and start raising DeprecationWarnings in other
'getarg*' family of functions.  We can remove them in 3.7 or later.

Also, it is worth noting, that Signature API does not provide 100%
of functionality that deprecated APIs have.  It is important to do
a soft deprecation of outdated APIs in 3.5 to gather users feedback,
and improve Signature object.
Doc/library/inspect.rst
Doc/whatsnew/3.5.rst