From: Eli Zaretskii <eliz@gnu.org>
To: 813gan <813gan@protonmail.com>, Philipp Stephani <phst@google.com>
Cc: emacs-devel@gnu.org
Subject: Re: emacspy dynamic module - support request
Date: Thu, 29 Aug 2024 14:43:16 +0300 [thread overview]
Message-ID: <86le0fftbf.fsf@gnu.org> (raw)
In-Reply-To: <XpPs7aJ3YigBL7hRx6yCQn0-GcmwAQ8g7bXmJQAP-Maz_07zwpzvB3fdRCBnlPB-2SYPaLfoJwu3sg-WeNLCWlr86OXDctpHLDNXn3o9H0E=@protonmail.com> (message from 813gan on Sun, 25 Aug 2024 01:25:20 +0000)
> Date: Sun, 25 Aug 2024 01:25:20 +0000
> From: 813gan <813gan@protonmail.com>
>
> I recently forked https://github.com/813gan/emacspy.
> It's dynamic module that allows interacting with python using libpython (no subprocess).
> My intention is to allow Emacs modes to use python modules including bindings of external libraries.
>
> I'm facing problems with --module-assertions.
> With mentioned flag enabled emacs is printing
> "Emacs module assertion: Emacs value not found in 57 values of 1 environments"
> and dumps core.
>
> Crash is reproducible with Makefile target test_module_assertions
> (https://github.com/813gan/emacspy/blob/f61275c6d3adec7947d292b8a9df25551e40c869/Makefile#L68)
>
> I have absolutely no idea what is going on there. Only thing i discovered is that commenting line
> https://github.com/813gan/emacspy/blob/f61275c6d3adec7947d292b8a9df25551e40c869/emacspy.pyx#L140
> prevents crash. It's obviously not a solution.
>
> Otherwise module appears to work;
> Despite that i don't want to ship it as i assume emacs have good reason to crash.
>
> I would appreciate any help. If you need more information, please contact me.
Philipp, are you able to help 813gan out?
prev parent reply other threads:[~2024-08-29 11:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-25 1:25 emacspy dynamic module - support request 813gan
2024-08-27 13:06 ` Richard Stallman
2024-08-28 1:29 ` 813gan
2024-08-30 2:31 ` Richard Stallman
2024-08-29 11:43 ` Eli Zaretskii [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86le0fftbf.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=813gan@protonmail.com \
--cc=emacs-devel@gnu.org \
--cc=phst@google.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.