Message119884
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. |
|
Date |
User |
Action |
Args |
2010-10-29 10:48:38 | kristjan.jonsson | set | recipients:
+ kristjan.jonsson, pitrou |
2010-10-29 10:48:38 | kristjan.jonsson | set | messageid: <1288349318.74.0.841355382384.issue10227@psf.upfronthosting.co.za> |
2010-10-29 10:48:37 | kristjan.jonsson | link | issue10227 messages |
2010-10-29 10:48:37 | kristjan.jonsson | create | |
|