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.

作者 quotemstr
收信人 quotemstr
日期 2008-07-03.20:43:12
SpamBayes Score 0.11695245
Marked as misclassified
Message-id <1215117793.84.0.876575778362.issue3275@psf.upfronthosting.co.za>
In-reply-to
内容
Consider:

import dis
def foo():
  if 0 and 1: return "hi"

dis.dis(foo)

What I get is 

  2           0 LOAD_CONST               1 (0)
              3 JUMP_IF_FALSE           15 (to 21)
              6 POP_TOP             
              7 LOAD_CONST               2 (1)
             10 JUMP_IF_FALSE            8 (to 21)
             13 POP_TOP             
             14 LOAD_CONST               3 ('hi')
             17 RETURN_VALUE        
             18 JUMP_FORWARD             1 (to 22)
        >>   21 POP_TOP             
        >>   22 LOAD_CONST               0 (None)
             25 RETURN_VALUE        

What I'd expect to see is:

  1           0 LOAD_CONST               0 (None)
              3 RETURN_VALUE
历史
日期 用户 动作 参数
2008-07-03 20:43:14quotemstr修改spambayes_score: 0.116952 -> 0.11695245
recipients: + quotemstr
2008-07-03 20:43:13quotemstr修改spambayes_score: 0.116952 -> 0.116952
messageid: <1215117793.84.0.876575778362.issue3275@psf.upfronthosting.co.za>
2008-07-03 20:43:12quotemstr链接issue3275 messages
2008-07-03 20:43:12quotemstr创建