GNU bug report logs - #63818
27.1; unbound local variables break python-util-clone-local-variables

Previous Next

Package: emacs;

Reported by: Ernesto Alfonso <erjoalgo <at> gmail.com>

Date: Wed, 31 May 2023 21:48:02 UTC

Severity: normal

Found in version 27.1

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 63818 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Ernesto Alfonso <erjoalgo <at> gmail.com>
Cc: 63818 <at> debbugs.gnu.org
Subject: Re: bug#63818: 27.1; unbound local variables break
 python-util-clone-local-variables
Date: Thu, 01 Jun 2023 09:06:45 -0400
> 5205c5205,5206
> <      (and (symbolp (car pair))
> ---
>>      (and (listp pair)
>>           (symbolp (car pair))

Good catch, thanks.  We usually prefer `consp` over `listp` since
there's no reason to accept `nil` here (tho it would be filtered out
later anyway), but other than that it'd exactly the patch I'd use.


        Stefan





This bug report was last modified 2 years and 47 days ago.

Previous Next


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