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
Date 2007-07-31.22:44:17
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
The attached patch removed unreachable code after RAISE_VARARGS, BREAK_LOOP and RETURN_VALUE in generic way (no more tests for LOAD_CONST None RETURN_VALUE, etc.)

It is possible to generalize it more for some other bytecodes.  The only problem they are already used in switch() in question as labels.  Probably not important enough to warrant another switch() or break this out into a function/macro.

No speedup is expected, but I think the patch is good with no drawbacks anyway.
History
Date User Action Args
2007-08-23 15:59:30adminlinkissue1764986 messages
2007-08-23 15:59:30admincreate