[Python-3000] _heapq.c, etc. (was Re: Heaptypes)
Alexandre Vassalotti
alexandre at peadrop.com
Tue Jul 24 23:11:22 CEST 2007
I am not sure if an official naming scheme is really necessary. For
StringIO and BytesIO, I simply added a leading underscore the Python
implementations and rename them if the C implementations aren't
available. So, the Python versions remain available for testing, or if
someone needs them.
-- Alexandre
On 7/21/07, Greg Ewing <greg.ewing at canterbury.ac.nz> wrote:
> 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. :-)
More information about the Python-3000
mailing list