On Thu, Sep 13, 2012 at 11:49 AM, Jan Matejek
Now that you mention, that's one of the main problems with treating pythonX.X as "alternatives". Each python installation has its own "prefix", and all the libraries installed in 2.6 are invisible for 2.7. Even worse, they can't be shared properly, because 2.6 uses a different bytecode than 2.7.
So... not interchangeable at all. And, requiring a library for python2.6 may not imply the need to require it for 2.7 or 3.x, so you can't expect to have the same set of libraries in all versions.
True, but this is not a problem in Python 3.x because of PEP3147. Simply put, you can have many different .pyc bytecode files for a single .py source file. So it is feasible to make a "shared prefix" with libraries working on multiple python runtimes. (See Phase 3B of my proposal) It's reasonably easy to backport this feature into Python 2.7, which would actually eliminate big part of this problem.
Ok, so you can share the prefix for python2, but python3 still needs to be separate (it needs different sources). -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org