https://github.com/python/cpython
Revision 919b65e1df6673304699f96529b755828f2ea521 authored by Fred Drake on 10 July 2001, 16:11:09 UTC, committed by Fred Drake on 10 July 2001, 16:11:09 UTC
PyObject_InitVar(), PyObject_Del(), PyObject_NEW(),
PyObject_NEW_VAR(), and PyObject_DEL().

Add notes to PyMem_Malloc() and PyMem_New() about the memory buffers
not being initialized.

This fixes SF bug #439012.


Added explicit return value information for PyList_SetItem(),
PyDict_SetItem(), and PyDict_SetItemString().  Corrected return type
for PyList_SET_ITEM().

Fixed index entries in the descriptions of PyLong_AsLong() and
PyLong_AsUnignedLong().

This fixes the API manual portion of SF bug #440037.


Note that the headers properly declare everything as 'extern "C"' for
C++ users.

Document _Py_NoneStruct.

Added links to the Extending & Embedding manual for PyArg_ParseTuple()
and PyArg_ParseTupleAndKeywords().

Added note that PyArg_Parse() should not be used in new code.

Fix up a few style nits -- avoid "e.g." and "i.e." -- these make
translation more difficult, as well as reading the English more
difficult for non-native speakers.
1 parent 4695681
History
Tip revision: 919b65e1df6673304699f96529b755828f2ea521 authored by Fred Drake on 10 July 2001, 16:11:09 UTC
Document PyObject_New(), PyObject_NewVar(), PyObject_Init(),
Tip revision: 919b65e
File Mode Size
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
RISCOS
Tools
.cvsignore -rw-r--r-- 79 bytes
.hgtags -rw-r--r-- 2.1 KB
LICENSE -rw-r--r-- 11.5 KB
Makefile.pre.in -rw-r--r-- 21.8 KB
README -rw-r--r-- 37.6 KB
acconfig.h -rw-r--r-- 6.0 KB
config.h.in -rw-r--r-- 16.6 KB
configure -rwxr-xr-x 177.3 KB
configure.in -rw-r--r-- 36.3 KB
install-sh -rwxr-xr-x 5.5 KB
setup.py -rw-r--r-- 25.0 KB

README

back to top