python3.2+ compiled files

Patryk Zawadzki patrys at pld-linux.org
Mon Apr 4 10:31:26 CEST 2011


On Mon, Apr 4, 2011 at 6:58 AM, Jakub Bogusz <qboosh at pld-linux.org> wrote:
> Who is going to clean ~/.local/cache for files removed from system?

Why would _system_ packages end up being compiled to ~/.local/cache?

> Also, I'm against compiling python files during installation of rpm package.
> Python bytecode depends only on python major.minor (not micro) version,
> so there is no reason to do it individually on each target system.
> Just like we don't create Java or .NET bytecode at install time.

With the exception that .NET and Java are virtual machines that
execute bytecode while Python (3.2) is an environment that precompiles
.py files on the fly (with the possibility of caching the results).

-- 
Patryk Zawadzki
I solve problems.


More information about the pld-devel-en mailing list