I suppose anything is possible ;) Perhaps I'll try my hand at that next.
But no, I'm limiting the scope to the existing toggles only (docstrings, __debug__, assert) for this pass.
I am aware of that thread though. I read it a few weeks back when I was initially researching the existing implementation and history.
Happy Friday, folks!
On Fri, Sep 29, 2017 at 6:47 AM, Ned Batchelder firstname.lastname@example.org wrote:
Don't forget that the current "no optimizations" setting actually does peephole optimizations. Are we considering addressing https://bugs.python.org/issue2506 to make a really truly "no optimizations" option?