unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* emacspy dynamic module - support request
@ 2024-08-25  1:25 813gan
  2024-08-27 13:06 ` Richard Stallman
  2024-08-29 11:43 ` Eli Zaretskii
  0 siblings, 2 replies; 5+ messages in thread
From: 813gan @ 2024-08-25  1:25 UTC (permalink / raw)
  To: emacs-devel@gnu.org

[-- Attachment #1: Type: text/plain, Size: 1064 bytes --]

Hello Everyone.

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.

Happy Hacking!

[-- Attachment #2: Type: text/html, Size: 2132 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-08-30  2:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

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).