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 _doublep
Recipients _doublep, belopolsky, benjamin.peterson, gvanrossum, nnorwitz, rhettinger
Date 2008-02-26.00:00:07
SpamBayes Score 0.022518897
Marked as misclassified No
Message-id <1203984008.75.0.207319201077.issue1394@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks for writing the test.

Yes, I did read the comment.  As I understood it, RETURN_VALUE is needed
only so that various optimization can assume codestr[] cannot suddenly
end without one.  E.g. if you match for BINARY_ADD, you can safely check
the next command: if BINARY_ADD matched, there is a _guaranteed_ next
command, not an out-of-array failure.

Such proposed fake RETURN_VALUE _must_ be unreachable, so it must not be
problematic at all.  If it was reachable, real codestr[] would end in
reachable non-return command, which must not happen during compilation.
 I dunno, maybe interpreter guards against execution point falling of
the bytecode string, but in any case this must not happen in
non-corrupted files generated by the bytecode compiler.
History
Date User Action Args
2008-02-26 00:00:08_doublepsetspambayes_score: 0.0225189 -> 0.022518897
recipients: + _doublep, gvanrossum, nnorwitz, rhettinger, belopolsky, benjamin.peterson
2008-02-26 00:00:08_doublepsetspambayes_score: 0.0225189 -> 0.0225189
messageid: <1203984008.75.0.207319201077.issue1394@psf.upfronthosting.co.za>
2008-02-26 00:00:07_doubleplinkissue1394 messages
2008-02-26 00:00:07_doublepcreate