Message174768
> I don't understand what you mean---can you elaborate?
The Python implementation of this method only 40 lines length, including blank lines, docstring and comments. The C implementation requires over 160 lines and less clear. Are there ways to use in Python interpreter core Python implementation for method of builtin class slice. As already used C implementations for some Python-implemented classes. May be add the file _builtins.py where Python version of some cumbersome methods will be implemented? Then execute the followed code on interpreter initialization:
from _builtins import slice_indices
slice.indices = slice_indices
del slice_indices
(or an analog in C). |
|
Date |
User |
Action |
Args |
2012-11-04 09:55:14 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, mark.dickinson, ned.deily, eric.araujo, hynek, Paul.Upchurch |
2012-11-04 09:55:13 | serhiy.storchaka | set | messageid: <1352022913.96.0.564566233786.issue14794@psf.upfronthosting.co.za> |
2012-11-04 09:55:13 | serhiy.storchaka | link | issue14794 messages |
2012-11-04 09:55:13 | serhiy.storchaka | create | |
|