Issue 34005: Replace inspect.formatargspec by inspect.signature in xmlrpc module (original) (raw)

Issue34005

Created on 2018-06-29 22:03 by remi.lapeyre, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 8016 closed remi.lapeyre,2018-06-29 22:05
Messages (3)
msg320743 - (view) Author: Rémi Lapeyre (remi.lapeyre) * Date: 2018-06-29 22:03
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.
msg320744 - (view) Author: Zackery Spytz (ZackerySpytz) * (Python triager) Date: 2018-06-29 22:15
This is a duplicate of #33911 (which already has a PR).
msg320745 - (view) Author: Rémi Lapeyre (remi.lapeyre) * Date: 2018-06-29 22:59
Indeed, it is the exact same patch. Sorry about the duplicate.
History
Date User Action Args
2022-04-11 14:59:02 admin set github: 78186
2018-06-29 22:59:04 remi.lapeyre set status: open -> closedresolution: duplicatemessages: + stage: patch review -> resolved
2018-06-29 22:15:31 ZackerySpytz set nosy: + ZackerySpytzmessages: +
2018-06-29 22:13:46 remi.lapeyre set components: + Library (Lib), XMLversions: + Python 3.8
2018-06-29 22:05:31 remi.lapeyre set keywords: + patchstage: patch reviewpull_requests: + <pull%5Frequest7624>
2018-06-29 22:03:03 remi.lapeyre create