summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorJeroen Ruigrok van der Werven <asmodai@in-nomine.org>2009-04-25 19:46:19 (GMT)
committerJeroen Ruigrok van der Werven <asmodai@in-nomine.org>2009-04-25 19:46:19 (GMT)
commit2aa7840f541a74f7e3d025a78c002c0bb15083f0 (patch)
treee8f1cac7efa34c568ac5c2868b49b430a7bdb1f4 /Doc
parent691f5f17eea1fe5e78aff45b5f268e89fae004de (diff)
downloadcpython-2aa7840f541a74f7e3d025a78c002c0bb15083f0.zip
cpython-2aa7840f541a74f7e3d025a78c002c0bb15083f0.tar.gz
cpython-2aa7840f541a74f7e3d025a78c002c0bb15083f0.tar.bz2
Issue #4129: Documentation notes for int -> Py_ssize_t changes.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/c-api/allocation.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/c-api/allocation.rst b/Doc/c-api/allocation.rst
index dc9f5a4..28b9c56 100644
--- a/Doc/c-api/allocation.rst
+++ b/Doc/c-api/allocation.rst
@@ -33,6 +33,10 @@ Allocating Objects on the Heap
This does everything :cfunc:`PyObject_Init` does, and also initializes the
length information for a variable-size object.
+ .. versionchanged:: 2.5
+ This function used an :ctype:`int` type for *size*. This might require
+ changes in your code for properly supporting 64-bit systems.
+
.. cfunction:: TYPE* PyObject_New(TYPE, PyTypeObject *type)
@@ -54,6 +58,10 @@ Allocating Objects on the Heap
fields into the same allocation decreases the number of allocations,
improving the memory management efficiency.
+ .. versionchanged:: 2.5
+ This function used an :ctype:`int` type for *size*. This might require
+ changes in your code for properly supporting 64-bit systems.
+
.. cfunction:: void PyObject_Del(PyObject *op)