Fred Drake
b915a38b6f
Added refcount information for PyObject_GetIter().
2002-10-04 18:58:58 +00:00
Fred Drake
7c1bb9c528
Add refcount info for PyErr_SetFromWindowsErr() and
...
PyErr_SetFromWindowsErrWithFilename().
2002-07-02 16:16:18 +00:00
Fred Drake
1d1e1dba12
Corrected return type and value information for PyUnicode_Count() and
...
PyUnicode_Find().
This closes SF bug #566631 .
2002-06-20 22:07:04 +00:00
Fred Drake
a0c5e9fb74
Clean up descriptions of PyObject_RichCompare() and PyObject_RichCompareBool()
...
based on comments from David Abrahams.
Added refcount information for these functions.
2002-06-14 14:35:56 +00:00
Fred Drake
ffb294bd34
Add refcount information for PySequence_ITEM().
2002-05-23 16:03:16 +00:00
Fred Drake
8371e840d2
Correct the refcount information for the PyWeakref_GetObject() function.
...
This closes SF bug #520087 .
2002-02-20 05:07:36 +00:00
Fred Drake
454af89712
Update the signature of PyFile_WriteString().
2001-11-29 22:42:59 +00:00
Fred Drake
cd8474e6a2
Add documentation for the PyCell* APIs.
2001-11-26 21:29:17 +00:00
Fred Drake
1b58bff8a0
More refcount information.
2001-10-29 17:43:14 +00:00
Fred Drake
b0c079e3e5
PyObject_CallFunctionObArgs() ---> PyObject_CallFunctionObjArgs()
...
PyObject_CallMethodObArgs() ---> PyObject_CallMethodObjArgs()
2001-10-28 02:39:03 +00:00
Fred Drake
81c7aa2c7b
Added refcount data for PyObject_CallFunctionObArgs() and
...
PyObject_CallMethodObArgs().
2001-10-26 16:29:22 +00:00
Fred Drake
23a78cf1c1
Add more reference count information.
2001-09-24 15:29:47 +00:00
Fred Drake
d61d0d3f6d
Added API information for the PyCallIter_*() and PySeqIter_*() functions.
...
Added signatures for some new PyType_*() functions.
2001-09-23 02:05:26 +00:00
Fred Drake
f47d8ef683
Document all the Py*_CheckExact() functions.
...
Document many more of the PyLong_{As,From}*() functions.
2001-09-20 19:18:52 +00:00
Fred Drake
9c75ff785a
Fix parameter for PyInt_Check().
...
Add refcount information for other recently documented APIs.
2001-09-06 18:06:46 +00:00
Barry Warsaw
8c64a54f75
Refcount info for PyString_FromFormat() and PyString_FromFormatV().
...
Closes SF patch #455666 .
2001-08-28 02:32:04 +00:00
Fred Drake
03590c6bdc
Reference counting information for PyNumber_*FloorDivide() and
...
PyNumber_*TrueDivide().
2001-08-08 18:50:18 +00:00
Fred Drake
6d988559a3
Added information on Py_BuildValue().
2001-07-20 20:55:31 +00:00
Fred Drake
d854831ddd
Corrected the refcount information for PyList_SET_ITEM().
2001-07-10 16:19:13 +00:00
Fred Drake
8e0c09da62
More reference count information.
2001-07-06 23:31:49 +00:00
Fred Drake
b2625eb10e
Removed information on the old third parameter to _PyTuple_Resize().
...
Added information on PyIter_Check(), PyIter_Next(),
PyObject_Unicode(), PyString_AsDecodedObject(),
PyString_AsEncodedObject(), and PyThreadState_GetDict().
2001-05-29 15:34:06 +00:00
Fred Drake
5838d0fc84
Document the PyInstance_*() functions and data.
2001-01-28 06:39:35 +00:00
Fred Drake
81473b12b7
The Python/C API deals in PyObject*, not PyDictObject*.
2001-01-08 05:53:53 +00:00
Guido van Rossum
e22e4b2b59
Oops. The value "0 or +1" for the category argument of PyErr_Warn()
...
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.)
2000-12-19 03:58:11 +00:00
Guido van Rossum
9a18a7ed03
Document Pyerr_Warn().
...
Add an XXX comment at the beginning expressing disappointment over the
confusing way refcount behavior of arguments is documented.
2000-12-19 03:53:57 +00:00
Fred Drake
ee814bf2c9
Added documentation for the Py_InitModule*() family of functions.
2000-11-28 22:34:32 +00:00
Fred Drake
1fa9365066
Added refcount information for the *_InPlace*() API series.
...
This closes SourceForge bug #114287 .
2000-09-22 18:19:37 +00:00
Marc-André Lemburg
d1ba443206
This patch adds a new Python C API called PyString_AsStringAndSize()
...
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.
2000-09-19 21:04:18 +00:00
Fred Drake
f913e542be
Vladimir Marangozov <Vladimir.Marangozov@inrialpes.fr>:
...
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.
2000-09-12 20:17:17 +00:00
Fred Drake
81cccb7563
Added documentation for PySequence_Fast() and PySequence_Fast_GET_ITEM().
2000-09-12 15:22:05 +00:00
Fred Drake
34c391d743
Correct the reference count information for the parameters of
...
PyErr_Restore().
2000-08-15 04:36:16 +00:00
Fred Drake
4ca744c70e
Added information for PyEval_EvalCode().
...
Fixed a couple of typos (new references are represented by "+1", not "1").
2000-08-12 03:39:47 +00:00
Andrew M. Kuchling
8c46b30e0a
Document PyObject_AsFileDescriptor
2000-07-13 23:58:16 +00:00
Marc-André Lemburg
4707320566
Added new APIs and fixed some other Unicode ones (missing * or
...
extra ' ').
2000-07-07 15:48:54 +00:00
Fred Drake
992fe5a83e
Updates from Marc-Andre Lemburg <mal@leburg.com> for the Unicode support.
2000-06-16 21:04:15 +00:00
Fred Drake
1c2d06acaf
Added reference count information for PySequence_List().
2000-06-16 20:00:04 +00:00
Fred Drake
8520cc2328
Added reference count information for Py_FindMethod().
2000-04-10 19:38:24 +00:00
Jeremy Hylton
98605b54b4
document PyErr_Format
2000-04-10 18:40:57 +00:00
Fred Drake
8394595f3b
Add to the comment a description of the "null" value for returned
...
PyObject* values.
2000-04-10 18:29:21 +00:00
Fred Drake
db2764d941
The reference count field for PyErr_NoMemory() and
...
PyErr_SetFromErrno() should be "null".
2000-04-10 18:25:09 +00:00
Fred Drake
eb725cd045
Merged changes from the 1.5.2p2 release.
2000-04-03 15:06:40 +00:00
Jeremy Hylton
a12c7a7620
Add PyDict_Copy() function to C API for dicts. It returns a new
...
dictionary that contains the same key/value pairs as p.
2000-03-30 22:27:31 +00:00
Fred Drake
805bf1b330
Added note that Skip created the initial version of this file.
...
Fixed up a few of his ??? comments.
1999-10-20 16:03:38 +00:00
Fred Drake
7b7dc6b49d
Initial version as provided by Skip Montanaro <skip@mojam.com>.
1999-10-20 15:06:24 +00:00