homepage

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 mark.dickinson
Recipients jdharper, mark.dickinson, pitrou, r.david.murray, rhettinger
Date 2011年02月19日.10:45:36
SpamBayes Score 0.044614878
Marked as misclassified No
Message-id <1298112337.11.0.0847516563791.issue11244@psf.upfronthosting.co.za>
In-reply-to
Content
Unassigning. I don't think that r82043 is the *real* culprit here; that bugfix just happened to expose a deficiency in the peepholer; one that's already present in other situations:
>>> dis.dis(lambda: 2*(3*4))
 1 0 LOAD_CONST 1 (2)
 3 LOAD_CONST 4 (12)
 6 BINARY_MULTIPLY 
 7 RETURN_VALUE 
>>> dis.dis(lambda: (2*3)*4)
 1 0 LOAD_CONST 5 (24)
 3 RETURN_VALUE 
Antoine, does your patch take care of this case too?
History
Date User Action Args
2011年02月19日 10:45:37mark.dickinsonsetrecipients: + mark.dickinson, rhettinger, pitrou, r.david.murray, jdharper
2011年02月19日 10:45:37mark.dickinsonsetmessageid: <1298112337.11.0.0847516563791.issue11244@psf.upfronthosting.co.za>
2011年02月19日 10:45:36mark.dickinsonlinkissue11244 messages
2011年02月19日 10:45:36mark.dickinsoncreate

AltStyle によって変換されたページ (->オリジナル) /