]> granicus.if.org Git - python/commitdiff
Issue #4129: Documentation notes for int -> Py_ssize_t changes.
authorJeroen Ruigrok van der Werven <asmodai@in-nomine.org>
Sat, 25 Apr 2009 19:46:19 +0000 (19:46 +0000)
committerJeroen Ruigrok van der Werven <asmodai@in-nomine.org>
Sat, 25 Apr 2009 19:46:19 +0000 (19:46 +0000)
Doc/c-api/allocation.rst

index dc9f5a4d54e3d3809a84d2b8b3e80291cc4b6c72..28b9c56d90aece19682ea671f5ab18727f2ba6af 100644 (file)
@@ -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)