[Python-Dev] SF patch 864863: Bisect C implementation

Guido van Rossum guido at python.org
Tue Dec 30 20:47:31 EST 2003


> Dmitry Vasiliev has submitted a C implementation for the bisect module.
> 
> My thoughts are to accept it with the following changes:
> 
> * leave the original code intact for teaching purposes
> * import the C version from _bisect 
> * make sure the C code is not list specific and will work with any 
>   container supporting __len__(), __getitem__(), and insert().  
> 
> Do you guys have any objections?

Only that I wished you had done the same for heapq.py.

--Guido van Rossum (home page: http://www.python.org/~guido/)



More information about the Python-Dev mailing list