bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#63818: 27.1; unbound local variables break python-util-clone-local-v


From: Eli Zaretskii
Subject: bug#63818: 27.1; unbound local variables break python-util-clone-local-variables
Date: Thu, 01 Jun 2023 14:39:29 +0300

> From: Ernesto Alfonso <erjoalgo@gmail.com>
> Date: Wed, 31 May 2023 17:47:16 -0400
> 
> 
> 
> 
>   SCRIPT=$(cat <<EOF
>   (progn
>     (require 'python)
>     (defvar-local my-local-var 0)
>     (makunbound 'my-local-var)
>     (python-util-clone-local-variables (current-buffer)))
>   EOF
>   )
>   emacs -Q --eval "${SCRIPT}"
>   
> 
> Suggested patch to '#python-util-clone-local-variables in python.el
> 
> 
> 5205c5205,5206
> <      (and (symbolp (car pair))
> ---
> >      (and (listp pair)
> >           (symbolp (car pair))
> 

Stefan and kobarity, any comments?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]