STINNER Victor <vstin...@python.org> added the comment:
> You may use https://bytecode.readthedocs.io/ which might help to write more > portable code, (...) Ah, I didn't notice that at the beginning of the documentation, you can see that even a very simple loop has a different bytecode before and after Python 3.8: "Python 3.8 removed SETUP_LOOP" https://bytecode.readthedocs.io/en/latest/usage.html#simple-loop ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue42422> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com