[Checkins] SVN: zope.app.container/branches/3.5/ Merge from trunk:

Philipp von Weitershausen philikon at philikon.de
Sun Jul 27 17:53:49 EDT 2008


Log message for revision 88847:
  Merge from trunk:
  
  ------------------------------------------------------------------------
  r88350 | shane | 2008-07-14 16:20:39 +0200 (Mon, 14 Jul 2008) | 2 lines
  
  Made compatible with Python 2.5 on 64 bit architectures.  See PEP 353.
  
  ------------------------------------------------------------------------
  
  

Changed:
  U   zope.app.container/branches/3.5/CHANGES.txt
  U   zope.app.container/branches/3.5/src/zope/app/container/_zope_proxy_proxy.c

-=-
Modified: zope.app.container/branches/3.5/CHANGES.txt
===================================================================
--- zope.app.container/branches/3.5/CHANGES.txt	2008-07-27 21:42:10 UTC (rev 88846)
+++ zope.app.container/branches/3.5/CHANGES.txt	2008-07-27 21:53:48 UTC (rev 88847)
@@ -5,7 +5,7 @@
 3.5.5dev (unreleased)
 ---------------------
 
-- 
+- Made C code compatible with Python 2.5 on 64bit architectures.
 
 3.5.4 (2008-07-16)
 ---------------------

Modified: zope.app.container/branches/3.5/src/zope/app/container/_zope_proxy_proxy.c
===================================================================
--- zope.app.container/branches/3.5/src/zope/app/container/_zope_proxy_proxy.c	2008-07-27 21:42:10 UTC (rev 88846)
+++ zope.app.container/branches/3.5/src/zope/app/container/_zope_proxy_proxy.c	2008-07-27 21:53:48 UTC (rev 88847)
@@ -612,20 +612,20 @@
  *   Sequence methods
  */
 
-static int
+static Py_ssize_t
 wrap_length(PyObject *self)
 {
     return PyObject_Length(Proxy_GET_OBJECT(self));
 }
 
 static PyObject *
-wrap_slice(PyObject *self, int start, int end)
+wrap_slice(PyObject *self, Py_ssize_t start, Py_ssize_t end)
 {
     return PySequence_GetSlice(Proxy_GET_OBJECT(self), start, end);
 }
 
 static int
-wrap_ass_slice(PyObject *self, int i, int j, PyObject *value)
+wrap_ass_slice(PyObject *self, Py_ssize_t i, Py_ssize_t j, PyObject *value)
 {
     return PySequence_SetSlice(Proxy_GET_OBJECT(self), i, j, value);
 }



More information about the Checkins mailing list