Bugs item #1441408, was opened at 2006-03-02 01:20
Message generated for change (Settings changed) made by mwh
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1441408&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
>Category: Parser/Compiler
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Michael Hudson (mwh)
Assigned to: Nobody/Anonymous (nobody)
Summary: svn head compiler fails to spot extended slicing

Initial Comment:
This is Python SVN HEAD:

>>> dis.dis(compile("x[::]", '', 'single'))
  1           0 LOAD_NAME                0 (x)
              3 SLICE+0             
              4 PRINT_EXPR          
              5 LOAD_CONST               0 (None)
              8 RETURN_VALUE        

This is Python 2.4:

>>> dis.dis(compile("x[::]", '', 'single'))
  1           0 LOAD_NAME                0 (x)
              3 LOAD_CONST               0 (None)
              6 LOAD_CONST               0 (None)
              9 LOAD_CONST               0 (None)
             12 BUILD_SLICE              3
             15 BINARY_SUBSCR       
             16 PRINT_EXPR          
             17 LOAD_CONST               0 (None)
             20 RETURN_VALUE        


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1441408&group_id=5470
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to