Le 18/06/2021 à 08:50, Paul Moore a écrit :
IMO it doesn't. However for certain applications (the sort of thing I was referring to) - where the user is writing their own scripts and the embedding API is used merely to expose an interface to the Python language, dynamically linking to whatever version of Python the user has installed can be precisely the right thing to do - the user gets access to the version of the language they expect, the installed packages they expect to see, etc.
As a user, I second this. When trying to drive applications from the outside (as opposed to extending them through plugins), it is annoying when two applications won't work together because each one insists on using its own vendored python.
Of course, there are often real blockers, such as incompatible event loops. But not always…