Author serhiy.storchaka
Recipients Paul.Upchurch, eric.araujo, hynek, mark.dickinson, ned.deily, serhiy.storchaka
Date 2012-11-04.09:55:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1352022913.96.0.564566233786.issue14794@psf.upfronthosting.co.za>
In-reply-to
Content
> 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).
History
Date User Action Args
2012-11-04 09:55:14serhiy.storchakasetrecipients: + serhiy.storchaka, mark.dickinson, ned.deily, eric.araujo, hynek, Paul.Upchurch
2012-11-04 09:55:13serhiy.storchakasetmessageid: <1352022913.96.0.564566233786.issue14794@psf.upfronthosting.co.za>
2012-11-04 09:55:13serhiy.storchakalinkissue14794 messages
2012-11-04 09:55:13serhiy.storchakacreate