[issue1394] simple patch, improving unreachable bytecode removing

Alexander Belopolsky report at bugs.python.org
Tue Feb 26 16:25:20 CET 2008


Alexander Belopolsky added the comment:

> Since you don't increment codelen ..

Good catch!

> For this reason, if() before
> writing the RETURN_VALUE is not needed.

In this case it will be clearer to use STOP_CODE instead of RETURN_VALUE 
as a sentinel.

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1394>
__________________________________


More information about the Python-bugs-list mailing list