Re: [OE-core] python3: Allow to specify which pyc files to keep

Alexander Kanavin
2025-04-10T12:11:30Z

On Thu, 10 Apr 2025 at 13:58, Richard Purdie via
lists.openembedded.org
<richard.purdie=linuxfoundation.org@lists.openembedded.org> wrote:

> The key question is whether this level of configuration is generally
> useful enough to be worth us maintaining it in OE-Core. I don't know if
> this is something you needed for a one off investigation or that people
> need it in general.

I think it would be good to step back and look at what these
optimization levels actually do. Upstream clearly treats them as
optional opt-in via python interpreter command line switch or
environment variable, which means they don't think picking a higher
default level is something python users should be doing. So why would
we be going against this approach?

Alex