New GitHub issue #119158 from corona10:<br>

<hr>

<pre>
@iritkatriel 
This feature is needed for debugging or experimentation when handling optimized bytecode.
When I want to take a look at the sequence of bytecodes that is optimized with the specific pipeline not all pipeline, I need to disable several pipelines from https://github.com/python/cpython/blob/30b4e9f9c42493136c58c56fee5553128bb32428/Python/flowgraph.c#L1843-L1851 and rebuild the CPython it's pretty painful because when I want to change the combination of optimization than I should rebuild CPython every time.

It would be great if there is a way to disable specific optimization pipelines at runtime when I want.
Above example is just one specific case and sometime I want to disable all `_PyCfg_OptimizeCodeUnit` or part of `_PyCfg_OptimizeCodeUnit`. 

This is what I wanted to ask about at the PyCon and will happy to see your opinion about this.
</pre>

<hr>

<a href="https://github.com/python/cpython/issues/119158">View on GitHub</a>
<p>Labels: </p>
<p>Assignee: </p>