[Python-3000] _heapq.c, etc. (was Re: Heaptypes)
Greg Ewing
greg.ewing at canterbury.ac.nz
Sat Jul 21 12:03:56 CEST 2007
Martin v. Löwis wrote:
> You mean, like prefixing it with c, e.g. StringIO vs. cStringIO,
> pickle vs. cPickle?
Yes, but with an official scheme for deriving the names
from the main package name, and also an understanding
that these are implementation details to be used only
when really necessary (hence the leading underscores).
Considering Guido's comment about people gratuitously
using the C versions, perhaps only the Python version
should be made available as an official alternative.
It's unlikely that people will gratuitously choose what
they perceive to be a *slower* version of the module. :-)
--
Greg
More information about the Python-3000
mailing list