Martin Panter added the comment: This patch fixes the exception when releasing the import lock. I also moved the Py_XDECREF(gc_module) back out to where it was to keep the patch to a minimum, but I don’t really see a way to simplify it much more.
Apparently Solaris supports posix_spawn(), which doesn’t require double the memory like fork(). But implementing that would be a significant project, and was rejected in Issue 20104. ---------- Added file: http://bugs.python.org/file41199/preexec-fork.2.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25764> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com