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?

Regards,
Martin
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to