[Python-3000] _heapq.c, etc. (was Re: Heaptypes)
"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 _c_heapq/_p_heapq.
You mean, like prefixing it with c, e.g. StringIO vs. cStringIO,
pickle vs. cPickle?
More information about the Python-3000