summaryrefslogtreecommitdiffstats
path: root/Doc/api/refcounts.dat
Commit message (Collapse)AuthorAgeFilesLines
* Refcount info for PyString_FromFormat() and PyString_FromFormatV().Barry Warsaw2001-08-281-0/+8
| | | | Closes SF patch #455666.
* Reference counting information for PyNumber_*FloorDivide() andFred Drake2001-08-081-0/+16
| | | | PyNumber_*TrueDivide().
* Added information on Py_BuildValue().Fred Drake2001-07-201-0/+3
|
* Corrected the refcount information for PyList_SET_ITEM().Fred Drake2001-07-101-1/+1
|
* More reference count information.Fred Drake2001-07-061-1/+9
|
* Removed information on the old third parameter to _PyTuple_Resize().Fred Drake2001-05-291-1/+20
| | | | | | Added information on PyIter_Check(), PyIter_Next(), PyObject_Unicode(), PyString_AsDecodedObject(), PyString_AsEncodedObject(), and PyThreadState_GetDict().
* Document the PyInstance_*() functions and data.Fred Drake2001-01-281-0/+9
|
* The Python/C API deals in PyObject*, not PyDictObject*.Fred Drake2001-01-081-12/+12
|
* Oops. The value "0 or +1" for the category argument of PyErr_Warn()Guido van Rossum2000-12-191-1/+1
| | | | | | doesn't work. Make it 0. (Although it really *should* be 0 or +1 -- the refcount is incremented when it is raised as an exception, but not otherwise.)
* Document Pyerr_Warn().Guido van Rossum2000-12-191-0/+11
| | | | | Add an XXX comment at the beginning expressing disappointment over the confusing way refcount behavior of arguments is documented.
* Added documentation for the Py_InitModule*() family of functions.Fred Drake2000-11-281-0/+16
|
* Added refcount information for the *_InPlace*() API series.Fred Drake2000-09-221-0/+53
| | | | This closes SourceForge bug #114287.
* This patch adds a new Python C API called PyString_AsStringAndSize()Marc-André Lemburg2000-09-191-0/+5
| | | | | | | | | | | | | which implements the automatic conversion from Unicode to a string object using the default encoding. The new API is then put to use to have eval() and exec accept Unicode objects as code parameter. This closes bugs #110924 and #113890. As side-effect, the traditional C APIs PyString_Size() and PyString_AsString() will also accept Unicode objects as parameters.
* Vladimir Marangozov <Vladimir.Marangozov@inrialpes.fr>:Fred Drake2000-09-121-1/+10
| | | | | | | Here are some changes to the C API docs. The memory examples & API have been updated because one malloc family is gone (Py_Malloc). You'll see other small additions to the "building new types" section for completeness and some cleanup at the end of the memory section.
* Added documentation for PySequence_Fast() and PySequence_Fast_GET_ITEM().Fred Drake2000-09-121-0/+8
|
* Correct the reference count information for the parameters ofFred Drake2000-08-151-3/+3
| | | | PyErr_Restore().
* Added information for PyEval_EvalCode().Fred Drake2000-08-121-2/+7
| | | | Fixed a couple of typos (new references are represented by "+1", not "1").
* Document PyObject_AsFileDescriptorAndrew M. Kuchling2000-07-131-0/+3
|
* Added new APIs and fixed some other Unicode ones (missing * orMarc-André Lemburg2000-07-071-56/+78
| | | | extra ' ').
* Updates from Marc-Andre Lemburg <mal@leburg.com> for the Unicode support.Fred Drake2000-06-161-0/+271
|
* Added reference count information for PySequence_List().Fred Drake2000-06-161-0/+3
|
* Added reference count information for Py_FindMethod().Fred Drake2000-04-101-0/+5
|
* document PyErr_FormatJeremy Hylton2000-04-101-0/+5
|
* Add to the comment a description of the "null" value for returnedFred Drake2000-04-101-1/+4
| | | | PyObject* values.
* The reference count field for PyErr_NoMemory() andFred Drake2000-04-101-2/+2
| | | | PyErr_SetFromErrno() should be "null".
* Merged changes from the 1.5.2p2 release.Fred Drake2000-04-031-3/+24
|
* Add PyDict_Copy() function to C API for dicts. It returns a newJeremy Hylton2000-03-301-1/+4
| | | | dictionary that contains the same key/value pairs as p.
* Added note that Skip created the initial version of this file.Fred Drake1999-10-201-17/+14
| | | | Fixed up a few of his ??? comments.
* Initial version as provided by Skip Montanaro <skip@mojam.com>.Fred Drake1999-10-201-0/+906