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/%7Eguido/)