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

Re: [atomic-devel] [fedora-atomic f23] remove Python source files



On Thu, Dec 3, 2015 at 12:25 PM, Giuseppe Scrivano <gscrivan redhat com> wrote:
> Fabian Deutsch <fdeutsch redhat com> writes:
>
>> On Wed, Dec 2, 2015 at 1:54 PM, Giuseppe Scrivano <gscrivan 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.

Nice. Not as much as 55MB, but still a win.

- fabian


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