This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Replace inspect.formatargspec by inspect.signature in xmlrpc module
Type: Stage: resolved
Components: Library (Lib), XML Versions: Python 3.8
process
Status: closed Resolution: duplicate
Dependencies: Superseder:
Assigned To: Nosy List: ZackerySpytz, remi.lapeyre
Priority: normal Keywords: patch

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:02adminsetgithub: 78186
2018-06-29 22:59:04remi.lapeyresetstatus: open -> closed
resolution: duplicate
messages: + msg320745

stage: patch review -> resolved
2018-06-29 22:15:31ZackerySpytzsetnosy: + ZackerySpytz
messages: + msg320744
2018-06-29 22:13:46remi.lapeyresetcomponents: + Library (Lib), XML
versions: + Python 3.8
2018-06-29 22:05:31remi.lapeyresetkeywords: + patch
stage: patch review
pull_requests: + pull_request7624
2018-06-29 22:03:03remi.lapeyrecreate