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 #19 received at 63818-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: erjoalgo <at> gmail.com, 63818-done <at> debbugs.gnu.org
Subject: Re: bug#63818: 27.1;
 unbound local variables break python-util-clone-local-variables
Date: Sat, 03 Jun 2023 10:21:03 +0300
> Cc: 63818 <at> debbugs.gnu.org
> Date: Thu, 01 Jun 2023 09:06:45 -0400
> From:  Stefan Monnier via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
> 
> > 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.

Thanks, installed (with that change) on the emacs-29 branch, and
closing the bug.




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.