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, gvanrossum, nnorwitz
Date 2008-02-25.20:31:15
SpamBayes Score 0.0784145
Marked as misclassified No
Message-id <1203971476.98.0.428860789219.issue1394@psf.upfronthosting.co.za>
In-reply-to
Content
Speaking of which, I propose that codestr[] array is made one byte
longer and RETURN_VALUE opcode wrote in that extra byte.  It will be
removed by this patch anyway (if it is accepted), but we'll remove a way
to accidentally disable peephole optimizer.

I mean, it would cost almost nothing, yet will prevent making some
functions non-optimized.  E.g. like this:

def foo(x):
    if x >= 0:
        return x * 2
    raise ValueError
History
Date User Action Args
2008-02-25 20:31:17_doublepsetspambayes_score: 0.0784145 -> 0.0784145
recipients: + _doublep, gvanrossum, nnorwitz, belopolsky
2008-02-25 20:31:17_doublepsetspambayes_score: 0.0784145 -> 0.0784145
messageid: <1203971476.98.0.428860789219.issue1394@psf.upfronthosting.co.za>
2008-02-25 20:31:16_doubleplinkissue1394 messages
2008-02-25 20:31:15_doublepcreate