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.

Author kristjan.jonsson
Recipients kristjan.jonsson, pitrou
Date 2010-10-29.10:48:37
SpamBayes Score 0.0036278528
Marked as misclassified No
Message-id <1288349318.74.0.841355382384.issue10227@psf.upfronthosting.co.za>
In-reply-to
Content
In 2.x, strings are sliced using PySequence_GetSlice().  ceval.c in 3.0 is different, there is no apply_slice there (despite comments to that effect).  I'd have to take another look with the profiler to figure out how bytes slicing in 3.0 works, but I suspect that it is somehow fasttracked passed the creation of slice objects, etc.
History
Date User Action Args
2010-10-29 10:48:38kristjan.jonssonsetrecipients: + kristjan.jonsson, pitrou
2010-10-29 10:48:38kristjan.jonssonsetmessageid: <1288349318.74.0.841355382384.issue10227@psf.upfronthosting.co.za>
2010-10-29 10:48:37kristjan.jonssonlinkissue10227 messages
2010-10-29 10:48:37kristjan.jonssoncreate