[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Ending/reducing bytecode compilation, loosening dependencies



On Fri, 2005-12-30 at 12:33 -0600, Joe Wreschnig wrote:
> 1. Stop compiling .pyo files, entirely (I'm hoping for little argument
> on this).
> 
> Rationale: .pyo files are a joke. They aren't optimized in any
> meaningful sense, they just have asserts removed. Examples for several
> non-trivial files:

Although I stand by this, it was pointed out on IRC that Python won't
load pyc files when given -O, only pyo. So python -O needs to recompile
everything if you don't have pyo files. Personally I consider anything
running python -O a bug waiting to happen, but that isn't a
universally-shared opinion.

The new systems being discussed should hopefully make it easier to
transition to optional pyo compilation (and I would hope, default to
off).
-- 
Joe Wreschnig <piman@debian.org>

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: