[Python-3000] _heapq.c, etc. (was Re: Heaptypes)

Greg Ewing greg.ewing at canterbury.ac.nz
Sat Jul 21 04:01:42 CEST 2007


Josiah Carlson wrote:
> What made it really annoying is that there was no way to tell the heapq
> module not to load the C version so that I could use a generic container. 

I would say that all such dual-implementation modules should
make the specific implementations available under different
names, using some convention such as _c_heapq/_p_heapq.

--
Greg


More information about the Python-3000 mailing list