Skip to content

Netlister: Switch form embedded python to python in a subprocess #3

Description

@growly

It is both tempting and "neat" (as in "neato") to link against python libraries already installed on the system and call the interpreter through its API.

But some python libraries (COUGH numpy COUGH), which have their own DLLs, do not behave well when being unloaded/loaded/reloaded between successive invocations of the interpreter. As a result we have to run successive calls in the same Python instance, and that is Not Good.

We should probably just spawn a Python subprocess each time.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions