Fabian Deutsch <fdeut...@redhat.com> writes:

> On Wed, Dec 2, 2015 at 1:54 PM, Giuseppe Scrivano <gscri...@redhat.com> wrote:
>>> The removal caused some trouble:
>>> - removing informations from drawbacks
>>> - Making debugging - testing changes - very cumbersome
>>> - Breaks "plugin" mechanisms of a surprising large number of tools
>>>
>>> In our next release we will finally re-introduce .py files again:
>>> Bug 1233106 - [RFE] Remove all kernel, firmware, and .py file blacklisting
>>>
>>> I'd suggest to consider and not underestimate these factors.
>>
>> thanks for the feedbacks.  Were .pyc files used instead of the .py
>> version in oVirt?
>
> We dropped .py and .pyc files - so the .pyo files were kept.
>
>> IIUIC, pyc files maintain the same information as the
>> original source file, while .pyo files are a optimized version that has
>> not all the original content.  Using the optimized version, I could
>> strip 55 MB of space from the Fedora Atomic image, if I use .pyc then
>> the reduction is only 27 MB.
>
> What about keeping .py and .pyo, and just drop .pyc?

That could be an option.  The image size I got keeping .py and .pyo is
15 MB smaller than the original one.

Regards,
Giuseppe

Reply via email to