From: Eli Zaretskii <eliz@gnu.org>
To: Ernesto Alfonso <erjoalgo@gmail.com>,
kobarity <kobarity@gmail.com>,
Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 63818@debbugs.gnu.org
Subject: bug#63818: 27.1; unbound local variables break python-util-clone-local-variables
Date: Thu, 01 Jun 2023 14:39:29 +0300 [thread overview]
Message-ID: <83h6rrcsy6.fsf@gnu.org> (raw)
In-Reply-To: <87leh4uqaj.fsf@debian-BULLSEYE-live-builder-AMD64> (message from Ernesto Alfonso on Wed, 31 May 2023 17:47:16 -0400)
> 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?
next prev parent reply other threads:[~2023-06-01 11:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-31 21:47 bug#63818: 27.1; unbound local variables break python-util-clone-local-variables Ernesto Alfonso
2023-06-01 11:39 ` Eli Zaretskii [this message]
2023-06-01 14:36 ` kobarity
2023-06-03 7:22 ` Eli Zaretskii
2023-06-01 13:06 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-06-03 7:21 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83h6rrcsy6.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=63818@debbugs.gnu.org \
--cc=erjoalgo@gmail.com \
--cc=kobarity@gmail.com \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).