Dynamic Linking

Jeff Epler jepler at unpythonic.net
Mon Feb 2 14:40:44 CET 2004

On Mon, Feb 02, 2004 at 09:00:48AM -0000, Phil Hornby wrote:
> I am just wondering if anyone has played with dynamically linking to the
> pythonXX.dll??

Historically, nobody has been interested in making the kind of committment
that binary-level compatiblity between Python shared library images of
different x.y versions.  Such a decision would be viewed as preventing
necessary change to Python's internals---for instance, either the size
and layout of all builtin types would be frozen, or access to any fields
would require calls to shared library functions.  It's your choice
whether to hurt either performance or the freedom of implementation
details of future Python releases.

If you're in favor of this kind of compatibility, as opposed to the
source-level compatibility that Python maintains for 90+% of code
between releases, then it may be up to you to make a convincing
case for it.


More information about the Python-list mailing list