New submission from Matthias Bussonnier <bussonniermatth...@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@python
components: Documentation
messages: 317252
nosy: docs@python, mbussonn
priority: normal
severity: normal
status: open
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 <rep...@bugs.python.org>
<https://bugs.python.org/issue33594>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to