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 belopolsky
Recipients _doublep, belopolsky, benjamin.peterson, gvanrossum, nnorwitz, rhettinger
Date 2008-02-26.01:44:35
SpamBayes Score 0.059613522
Marked as misclassified No
Message-id <1203990278.54.0.846993384879.issue1394@psf.upfronthosting.co.za>
In-reply-to
Content
Paul,

You are right.  I misunderstood that comment myself.  I've tried the 
attached modification to your patch (unreachable-code-1.diff) and it 
passes all tests while fixing msg62953  problem:

$ cat t.py 
def f():
    return 1
    1+2
from dis import dis
dis(f)

$ ./python.exe t.py
  6           0 LOAD_CONST               0 (None)
              3 RETURN_VALUE
History
Date User Action Args
2008-02-26 01:44:38belopolskysetspambayes_score: 0.0596135 -> 0.059613522
recipients: + belopolsky, gvanrossum, nnorwitz, rhettinger, _doublep, benjamin.peterson
2008-02-26 01:44:38belopolskysetspambayes_score: 0.0596135 -> 0.0596135
messageid: <1203990278.54.0.846993384879.issue1394@psf.upfronthosting.co.za>
2008-02-26 01:44:37belopolskylinkissue1394 messages
2008-02-26 01:44:36belopolskycreate