Re: [Python-ideas] API for VM branches (was: PEP 3146)

Collin Winter wrote:
Right, and that's the idea behind making the VM pluggable: you define the boundaries and interfaces of the components you want to replace and then have Python redirect all calls to your implementation by linking against your VM instead of the default one.
Patch level releases usually don't include any disruptive changes to the code, so I'm not sure whether your experience with going from 2.6.1 to 2.6.4 provides a good example of what maintaining compatibility with Python's main line of development really means in terms of effort. There are a few things to consider: * if you want to stay compatible with Python, you have to provide updated releases of your version for every supported Python version (including all patch level releases) * you need to build releases with more or less the same frequency as CPython * you need to closely follow Python trunk development if want to avoid lagging behind Python's releases by a few months and all this for a long period of time. Otherwise, I don't see how you could convince users to use your branch instead of the Python mainline version.
I'm sure that python-dev is interested in your project. I'm not sure whether it would be fair to go with your approach instead of the other existing branches, such as Stackless or wpython. How easy would it be for those projects to continue supporting Python if U-S were to be merged into main line Python ?
Perhaps I'll write a PEP outlining the idea in more detail. However, without support from developers of such VMs, I don't see much reason in trying to design something that will not eventually get used. I have a feeling that I'm not getting the point across: by making it easier for VM developers to hook into the CPython system, we'd all benefit. VM developers could rely on a consistent interface to develop against, python-dev would know where non-mainline VMs hook into the system and users could choose the VM that best fits their needs. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Feb 03 2010)
::: Try our new mxODBC.Connect Python Database Interface for free ! :::: eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611 http://www.egenix.com/company/contact/
participants (1)
-
M.-A. Lemburg