summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorYury Selivanov <yselivanov@sprymix.com>2015-05-22 20:28:05 (GMT)
committerYury Selivanov <yselivanov@sprymix.com>2015-05-22 20:28:05 (GMT)
commit945fff44c496c3d918d42b148087faf73008c85d (patch)
tree583ab97e6968072215e83cdf015799bfc0be1431 /Modules
parentc8386f78fdf68fef4d9b87e7147b6d288213b8e4 (diff)
downloadcpython-945fff44c496c3d918d42b148087faf73008c85d.zip
cpython-945fff44c496c3d918d42b148087faf73008c85d.tar.gz
cpython-945fff44c496c3d918d42b148087faf73008c85d.tar.bz2
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.
Diffstat (limited to 'Modules')
0 files changed, 0 insertions, 0 deletions