[Python-checkins] r71921 - python/trunk/Doc/c-api/allocation.rst
jeroen.ruigrok
python-checkins at python.org
Sat Apr 25 21:46:19 CEST 2009
Author: jeroen.ruigrok
Date: Sat Apr 25 21:46:19 2009
New Revision: 71921
Log:
Issue #4129: Documentation notes for int -> Py_ssize_t changes.
Modified:
python/trunk/Doc/c-api/allocation.rst
Modified: python/trunk/Doc/c-api/allocation.rst
==============================================================================
--- python/trunk/Doc/c-api/allocation.rst (original)
+++ python/trunk/Doc/c-api/allocation.rst Sat Apr 25 21:46:19 2009
@@ -33,6 +33,10 @@
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 @@
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)
More information about the Python-checkins
mailing list