<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
On 30/08/2010 17:35, Barry Warsaw wrote:
<blockquote cite="mid:20100830103525.71039548@heresy" type="cite">
<pre wrap="">On Aug 30, 2010, at 10:18 PM, Nick Coghlan wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Since the Linkage section of PEP 384 specifically states the
availability of a generic "python3.dll" that dynamically redirects to
the relevant "python3y.dll" to allow an extension module to run
against any 3.2 or later Python version as a goal of the PEP, I would
say that allowing mixing of C runtimes is definitely one of the PEP's
goals.
</pre>
</blockquote>
<pre wrap="">
It should be explicit about that then, and provide detail about why the
runtime is relevant to Windows programmers (and probably not relevant in
practice for *nix programmers).
</pre>
</blockquote>
<br>
An extension compiled for one version of Python will be linked
against the version of the C runtime used by that version of Python
(if it is compiled with the same version of Visual Studio of
course). <br>
<br>
If the extension binary is to remain compatible with a later version
of Python, compiled against a different version of the C runtime,
then it *must* be possible for multiple C runtimes to be loaded. If
the stable ABI doesn't allow this then binaries will *still* have to
be recompiled when we update the version of Visual Studio used to
compile Python - defeating the purpose of the PEP. Right?<br>
<br>
If this is the case then I agree that it should be explicit in the
PEP.<br>
<br>
All the best,<br>
<br>
Michael<br>
<br>
<blockquote cite="mid:20100830103525.71039548@heresy" type="cite">
<pre wrap="">
-Barry
</pre>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Python-Dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Python-Dev@python.org">Python-Dev@python.org</a>
<a class="moz-txt-link-freetext" href="http://mail.python.org/mailman/listinfo/python-dev">http://mail.python.org/mailman/listinfo/python-dev</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="http://mail.python.org/mailman/options/python-dev/fuzzyman%40voidspace.org.uk">http://mail.python.org/mailman/options/python-dev/fuzzyman%40voidspace.org.uk</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
<a class="moz-txt-link-freetext" href="http://www.ironpythoninaction.com/">http://www.ironpythoninaction.com/</a></pre>
</body>
</html>