[Python-Dev] SF patch 864863: Bisect C implementation
Tim Peters
tim.one at comcast.net
Fri Jan 2 11:38:09 EST 2004
[Guido]
> ...
> I wish cStringIO and cPickle would go away, but unfortunately the
> Python versions have features that the C code don't have.
Alas, for pickle it's worse than that -- cPickle has lots of undocumented
features that pickle.py knows nothing about, and those features are used in
Zope. I believe cStringIO also has undocumented features in real use ...
yup, cStringIO objects at least have an object.reset() method not in the
Python version, equivalent to object.seek(0) (but, I guess, saves the
expense of doing a LOAD_CONST on 0 <heh>). cStringIO also provides a
C-level API.
> Hopefully the use of new-style classes can avoid this issue for new
> module pairs.
Or you can just stop accepting C code written by Zope Corp <wink>.
More information about the Python-Dev
mailing list