A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-September/009089.html below:

[Python-Dev] cPickle.c out-of-date w.r.t. version in Zope 2.2.1

[Python-Dev] cPickle.c out-of-date w.r.t. version in Zope 2.2.1Andrew Kuchling akuchlin@mems-exchange.org
Fri, 1 Sep 2000 11:42:01 -0400
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.

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




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4