Nick Coghlan <ncogh...@gmail.com> added the comment:

Yeah, I've asked Miro to try essentially that in 
https://bugzilla.redhat.com/show_bug.cgi?id=1595421#c12

My concern is that Py_Main used to keep a *lot* of state on the local C stack 
that we've now moved into the main interpreter config.

So my suspicion is that even that change I've asked Miro to try may not do the 
right thing, but it really depends on *why* fontforge is calling Py_Main, and 
what they're passing in argc and argv.

Given that the embedded Py_Initialize is a no-op, they may be better off just 
copying out the parts they actually need from the code execution aspects of it, 
and skipping the Py_Main call entirely.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue34008>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to