You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Per Jim, in previous versions of GPI PyMOD extensions would be re-loaded each time a node ran. This meant you could run gpi_make in the background and immediately use the new changes. The current behavior is not the same — now you have to re-launch GPI to use the newly compiled extension. I'm not sure if this is always consistent as I thought sometimes refreshing or re-placing the node would work, as did using the "imp.reload()" function in the node.
Ideal behavior: PyMOD extensions are re-loaded each time a node executes OR when a node is refreshed/replaced.
The text was updated successfully, but these errors were encountered:
I don't think this was ever the case. I looked into this recently actually and it's pretty hard (unsafe) to reload c-extensions in Python without restarting the interpreter. If you find a way to do this cleanly please let me know!
I think Python changes still required a node reload (⌘-R) to take effect, but you could probably make this happen each run fairly easily.
With the second piece of information you might be able to hack something that would detect recompiled C/C++ code and re-import it, but it would be a hack (like renaming the file or something).
Per Jim, in previous versions of GPI PyMOD extensions would be re-loaded each time a node ran. This meant you could run
gpi_make
in the background and immediately use the new changes. The current behavior is not the same — now you have to re-launch GPI to use the newly compiled extension. I'm not sure if this is always consistent as I thought sometimes refreshing or re-placing the node would work, as did using the "imp.reload()" function in the node.Ideal behavior: PyMOD extensions are re-loaded each time a node executes OR when a node is refreshed/replaced.
The text was updated successfully, but these errors were encountered: