Existing modules for new Python

2009-07-30 Thread anatoly techtonik
Hello,

Can anybody tell what happens with existing Python modules when a new
Python version is deployed on the system?
Are they recompiled or reinstalled or left inaccessible in this version?

WBR,

--anatoly t.


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Existing modules for new Python

2009-07-30 Thread Max Bowsher
anatoly techtonik wrote:
> Hello,
> 
> Can anybody tell what happens with existing Python modules when a new
> Python version is deployed on the system?
> Are they recompiled or reinstalled or left inaccessible in this version?

Debian python packages trigger hook scripts in
/usr/share/python/runtime.d/ on installation to cause compilation of
bytecode for newly installed versions.

If the package providing the modules in question uses python-support or
python-central everything should be automatically taken care of by the
above process.

Max.



signature.asc
Description: OpenPGP digital signature