[Python-ideas] A python bridge between versions
M.-A. Lemburg
mal at egenix.com
Fri Feb 28 00:51:26 CET 2014
On 28.02.2014 00:26, ian o wrote:
> [... Embed Python 2 in Python 3 ...]
>
> Thoughts or criticisms?
There's a catch here: Python 2 and Python 3 use the same C APIs,
so you'd have to separate the two in some way to make both live
in the same process.
It's not impossible, but it can potentially ruin the idea, since
C extensions for both Python versions will have to link the right
set of C APIs.
What you can do right now is experiment with Pyro to use Python 2 and 3
in two different processes and have Pyro bridge between the two:
http://pythonhosted.org/Pyro4/
--
Marc-Andre Lemburg
eGenix.com
Professional Python Services directly from the Source (#1, Feb 28 2014)
>>> Python Projects, Consulting and Support ... http://www.egenix.com/
>>> mxODBC.Zope/Plone.Database.Adapter ... http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/
________________________________________________________________________
::::: Try our 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/
More information about the Python-ideas
mailing list