[Patches] [ python-Patches-1446847 ] patch for 1441408 compiler fails to spot extended slice

SourceForge.net noreply at sourceforge.net
Fri Mar 17 19:01:56 CET 2006


Patches item #1446847, was opened at 2006-03-10 10:21
Message generated for change (Comment added) made by ncoghlan
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1446847&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: Python 2.5
>Status: Closed
>Resolution: Duplicate
Priority: 5
Submitted By: Grant Olson (logistix)
>Assigned to: Nobody/Anonymous (nobody)
Summary: patch for 1441408  compiler fails to spot extended slice

Initial Comment:
Attached is a patch for bug  1441408 (svn head compiler
fails to spot extended slicing).  The problem was that
the new compiler was assuming that a null step value
meant that normal slicing was being used.  I did have
to modify the .asdl for this to work, but after trying
a few approaches this seemed like the simplest.

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

>Comment By: Nick Coghlan (ncoghlan)
Date: 2006-03-18 04:01

Message:
Logged In: YES 
user_id=1038590

Applied patch 1452332 instead (simpler fix to same problem)

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

Comment By: Nick Coghlan (ncoghlan)
Date: 2006-03-17 22:34

Message:
Logged In: YES 
user_id=1038590

Is changing the AST for this is really necessary? Why not
simply insert "None" as the step subexpression in the
generated AST?

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1446847&group_id=5470


More information about the Patches mailing list