GNU bug report logs - #50996
29.0.50; formatargspec is deprecated since python 3.5

Previous Next

Package: emacs;

Reported by: Carlos Pita <carlosjosepita <at> gmail.com>

Date: Sun, 3 Oct 2021 16:58:02 UTC

Severity: normal

Found in version 29.0.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Carlos Pita <carlosjosepita <at> gmail.com>
Cc: 50996 <at> debbugs.gnu.org
Subject: bug#50996: 29.0.50; formatargspec is deprecated since python 3.5
Date: Mon, 04 Oct 2021 11:43:35 +0200
Carlos Pita <carlosjosepita <at> gmail.com> writes:

> This will do it:
>
>                 if hasattr(inspect, 'signature'):
>                     args = str(inspect.signature(target))
>                 else:
>                     args = inspect.formatargspec(*argspec_function(target))

Thanks; applied to Emacs 29.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 3 years and 294 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.