Replies: 1 comment 7 replies
-
Indeed, though, it’s not limited to python, clashes can occur throughout the system. Autodesk made valiant attempt to solve this, with the now discontinued, registered developer symbol (RDS) The idea is all your paths, module names, command names, CUIX, etc., should be prefixed with your RDS If you look at Lee Mac’s amazing work for AutoLISP, https://www.lee-mac.com/programs.html Looking at the documentation for Py_NewInterpreterFromConfig, it seems very risky, very hard. seems I would have to manage what interpreter gets called for every function on the C++ side. |
Beta Was this translation helpful? Give feedback.
-
As mentioned in #146, it is assumed that
pyrx
can be used to create modular CAD extensions. These extensions can be plugged in as independent plugins. There is a big risk of conflicting dependencies and possibly conflicts at the interpreter level. I think this issue should be looked into https://docs.python.org/3/c-api/init.html#c.Py_NewInterpreterFromConfigMaybe this will also help to solve, as we have discussed many times, module reloading (pyreload) problems.
Beta Was this translation helpful? Give feedback.
All reactions