[docs] [issue33594] add deprecation since 3.5 for a few methods of inspect.
report at bugs.python.org
Mon May 21 17:34:32 EDT 2018
New submission from Matthias Bussonnier <bussonniermatthias at gmail.com>:
inspect's getargspec, as well as Signature's from_function, and from_builtin are deprecated.
They all emits DeprecationWarning but:
The deprecation warning does not say since which version since are deprecated.
For the two Signature's methods, there is no documentation available, so finding this information is difficult.
Many tool rely on introspection to provide object help via docstring, which also did not include this deprecation notice.
Adding the deprecation informations to these 3 function/methods would be good to foster migration to newer ways.
assignee: docs at python
nosy: docs at python, mbussonn
title: add deprecation since 3.5 for a few methods of inspect.
versions: Python 3.5, Python 3.6, Python 3.7, Python 3.8
Python tracker <report at bugs.python.org>
More information about the docs