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, gvanrossum
Date 2008-02-25.00:04:25
SpamBayes Score 0.20960046
Marked as misclassified No
Message-id <1203897867.18.0.5147227686.issue1394@psf.upfronthosting.co.za>
In-reply-to
Content
I am not sure what this patch would accomplish. I tried
$ cat t.py 
def f():
    return 1
    1+2
from dis import dis
print dis(f)

Both with and without patch I get

$ ./python.exe -O t.py
  2           0 LOAD_CONST               1 (1)
              3 RETURN_VALUE        

  3           4 LOAD_CONST               1 (1)
              7 LOAD_CONST               2 (2)
             10 BINARY_ADD          
             11 POP_TOP             
None

I am sure I am missing something, but it is hard to tell what without 
any use cases provided.
History
Date User Action Args
2008-02-25 00:04:27belopolskysetspambayes_score: 0.2096 -> 0.20960046
recipients: + belopolsky, gvanrossum, _doublep
2008-02-25 00:04:27belopolskysetspambayes_score: 0.2096 -> 0.2096
messageid: <1203897867.18.0.5147227686.issue1394@psf.upfronthosting.co.za>
2008-02-25 00:04:25belopolskylinkissue1394 messages
2008-02-25 00:04:25belopolskycreate