Mark Shannon <m...@hotpy.org> added the comment:

This seems correct, but your change assumes that there is no optimisation pass 
that reorders the blocks.
While the is currently true, it might not be in future.

The code that orders blocks for output should not make assumptions about the 
shape of the CFG, IMO.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue39151>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to