[issue34005] Replace inspect.formatargspec by inspect.signature in xmlrpc module

Rémi Lapeyre report at bugs.python.org
Fri Jun 29 18:03:03 EDT 2018


New submission from Rémi Lapeyre <remi.lapeyre at henki.fr>:

xmlrpc still makes use of formatargspec which is deprecated since Python 3.5 and raises a deprecation warning:

DeprecationWarning: `formatargspec` is deprecated since Python 3.5. Use `signature` and the `Signature` object directly

The proposed patch replace both uses of inspect.formatargspec by inspect.signature as the documentation suggest in https://docs.python.org/3/library/inspect.html#inspect.formatargspec.

----------
messages: 320743
nosy: remi.lapeyre
priority: normal
severity: normal
status: open
title: Replace inspect.formatargspec by inspect.signature in xmlrpc module

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34005>
_______________________________________


More information about the Python-bugs-list mailing list