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.

classification
Title: patch for 1441408 compiler fails to spot extended slice
Type: Stage:
Components: Interpreter Core Versions: Python 2.5
process
Status: closed Resolution: duplicate
Dependencies: Superseder:
Assigned To: Nosy List: logistix, ncoghlan
Priority: normal Keywords: patch

Created on 2006-03-10 00:21 by logistix, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
extended_slice.diff logistix, 2006-03-10 00:21 patch for extended slices
Messages (3)
msg49707 - (view) Author: Grant Olson (logistix) Date: 2006-03-10 00:21
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.
msg49708 - (view) Author: Nick Coghlan (ncoghlan) * (Python committer) Date: 2006-03-17 12:34
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?
msg49709 - (view) Author: Nick Coghlan (ncoghlan) * (Python committer) Date: 2006-03-17 18:01
Logged In: YES 
user_id=1038590

Applied patch 1452332 instead (simpler fix to same problem)
History
Date User Action Args
2022-04-11 14:56:15adminsetgithub: 43006
2006-03-10 00:21:40logistixcreate