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

"Martin v. Löwis" martin at v.loewis.de
Sat Jul 21 11:38:07 CEST 2007


Greg Ewing schrieb:

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 cheapq/pheapq.

You mean, like prefixing it with c, e.g. StringIO vs. cStringIO, pickle vs. cPickle?

Regards, Martin



More information about the Python-3000 mailing list