diff options
author | Yury Selivanov <yselivanov@sprymix.com> | 2015-05-22 20:28:05 (GMT) |
---|---|---|
committer | Yury Selivanov <yselivanov@sprymix.com> | 2015-05-22 20:28:05 (GMT) |
commit | 945fff44c496c3d918d42b148087faf73008c85d (patch) | |
tree | 583ab97e6968072215e83cdf015799bfc0be1431 /Modules/timemodule.c | |
parent | c8386f78fdf68fef4d9b87e7147b6d288213b8e4 (diff) | |
download | cpython-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/timemodule.c')
0 files changed, 0 insertions, 0 deletions