[Python-Dev] cPickle.c out-of-date w.r.t. version in Zope 2.2.1
M.-A. Lemburg
mal@lemburg.com
Fri, 01 Sep 2000 18:23:01 +0200
Andrew Kuchling wrote:
>
> On Fri, Sep 01, 2000 at 09:13:39AM -0500, Skip Montanaro wrote:
> >leak. In working my way through some compilation errors I noticed that
> >Zope's cPickle.c appears to be somewhat different than Python's version.
> >(Haven't checked cStringIO.c yet, but I imagine there may be a couple
> >differences there as well.)
>
> There are also diffs in cStringIO.c, though not ones that affect
> functionality: ANSI-fication, and a few changes to the Python API
> (PyObject_Length -> PyObject_Size, PyObject_NEW -> PyObject_New, &c).
>
> The cPickle.c changes look to be:
> * ANSIfication.
> * API changes.
> * Support for Unicode strings.
Huh ? There is support for Unicode objects in Python's cPickle.c...
does Zope's version do something different ?
> The API changes are the most annoying ones, since you need to add
> #ifdefs in order for the module to compile with both 1.5.2 and 2.0.
> (Might be worth seeing if this can be alleviated with a few strategic
> macros, though I think not...)
>
> --amk
>
> _______________________________________________
> Python-Dev mailing list
> Python-Dev@python.org
> http://www.python.org/mailman/listinfo/python-dev
--
Marc-Andre Lemburg
______________________________________________________________________
Business: http://www.lemburg.com/
Python Pages: http://www.lemburg.com/python/