Patches item #1617687, was opened at 2006-12-18 04:35
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1617687&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: Core (C code)
Group: Python 2.6
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Thomas Wouters (twouters)
Assigned to: Nobody/Anonymous (nobody)
Summary: specialcase simple sliceobj in list (and bugfixes)

Initial Comment:
 - Specialcase the step=1/None case of slicing using sliceobjects.
 - Fix bug where slice insertion using a sliceobject was inserting in a 
different place than slice inserting using a simple slice
 - Fix two off-by-one bugs that were cancelling each other out: the non-step-1 
slice deletion code was memmoving too much for each item to delete, and not 
enough for the tail end, net result being a few too many bytes moved for each 
item.
 - Rewrite tail end move when deleting complex slice, use single memmove() 
instead of repeated PyList_SET_ITEM()
 - Expand comments describing the code somewhat.


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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1617687&group_id=5470
_______________________________________________
Patches mailing list
[email protected]
http://mail.python.org/mailman/listinfo/patches

Reply via email to