This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Mark.Shannon
Recipients BTaskaya, Mark.Shannon, benjamin.peterson, nedbat, pablogsal, rhettinger, serhiy.storchaka
Date 2020-12-23.11:30:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I'll briefly answer the above questions, but we could we close this issue?

If there are specific issues regarding PEP 626, please make a new issue. Feel free to +nosy me on those issues.

I intend to review all the recent changes to the compiler in the new year,
in case there are any obvious inefficiencies.

The bytecode for 3.10a should be more efficient than 3.9.
IMO, it is not worth spending too much time on making the bytecode look pretty, and that if we care about performance it would be better to spend our time elsewhere.

The bytecode for the test in the while statement is duplicated; one in the loop header, one in the body. Try it under pdb, you'll see that it breaks at two different places in the bytecode. 

Eventually, yes we will want to implement something like the JVMTI for the JVM. However, for that to be useful we still need precise line number tracing.
Date User Action Args
2020-12-23 11:30:33Mark.Shannonsetrecipients: + Mark.Shannon, rhettinger, nedbat, benjamin.peterson, serhiy.storchaka, pablogsal, BTaskaya
2020-12-23 11:30:33Mark.Shannonsetmessageid: <>
2020-12-23 11:30:33Mark.Shannonlinkissue42693 messages
2020-12-23 11:30:32Mark.Shannoncreate