Mark Dickinson <dicki...@gmail.com> added the comment:

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?

----------
assignee: mark.dickinson -> 

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11244>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to