[Python-3000] _heapq.c, etc. (was Re: Heaptypes)
Blake Winton
bwinton at latte.ca
Fri Jul 20 20:07:36 CEST 2007
Guido van Rossum wrote:
>> While the pickle/cPickle, StringIO/cStringIO, etc., naming can be
>> a bit annoying, it does give me the choice whether I want it to be
>> fast or flexible.
> I definitely *don't* want to continue the old habit of having a slow
> and a fast module with different names; the experience with especially
> cPickle and cStringIO is that everyone believes their code is
> performance critical and hence uses the C version if it exists,
> thereby repeating the same idiom over and over.
Until they need to turn Unicode strings into file-like objects, at which
point they go back to StringIO. (Why yes, I was recently bitten by that
particular "restriction". :)
Later,
Blake.
More information about the Python-3000
mailing list