summaryrefslogtreecommitdiffstats
path: root/Doc/api
Commit message (Collapse)AuthorAgeFilesLines
* Added documentation for the new PyModule_*() convenience functions.Fred Drake2000-09-231-0/+26
| | | | This closes SourceForge patch #101233.
* Added refcount information for the *_InPlace*() API series.Fred Drake2000-09-221-0/+53
| | | | This closes SourceForge bug #114287.
* PyNumber_Coerce() returns an int, not a PyObject *.Fred Drake2000-09-221-1/+1
|
* Include the new text on reporting bugs in a few useful places.Fred Drake2000-09-211-0/+4
| | | | This closes SourceForge bug #114792.
* This patch adds a new Python C API called PyString_AsStringAndSize()Marc-André Lemburg2000-09-192-0/+22
| | | | | | | | | | | | | 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.
* Document new APIs PyOS_getsig() and PyOS_setsig().Guido van Rossum2000-09-161-0/+15
| | | | | | (Is there no macro to document a typedef?) Fred, please check my latex!
* Use \shortversion in a number of places.Fred Drake2000-09-141-6/+5
| | | | This partially addresses SourceForge bug #114318.
* Avoid reference to specific versions of Python where possible.Fred Drake2000-09-141-3/+3
| | | | This partially addresses SourceForge bug #114318.
* Thomas Wouters <thomas@xs4all.net>:Fred Drake2000-09-121-7/+106
| | | | | Fix up some of the PyNumber_*() documentation. Add documentation for the InPlace API calls.
* Vladimir Marangozov <Vladimir.Marangozov@inrialpes.fr>:Fred Drake2000-09-122-54/+62
| | | | | | | 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-122-0/+25
|
* Update documentation for PyErr_Format, because the function has changed.Moshe Zadka2000-09-011-9/+19
| | | | Connected to patch 100895
* Document PyImport_AppendInittab(), PyImport_ExtendInittab(), andFred Drake2000-09-011-1/+39
| | | | | | struct _inittab. This closes SourceForge bug #111499.
* refactor __del__ exception handler into PyErr_WriteUnraisableJeremy Hylton2000-09-011-0/+11
| | | | | add sanity check to gc: if an exception occurs during GC, call PyErr_WriteUnraisable and then call Py_FatalEror.
* Document PyOS_CheckStack().Fred Drake2000-08-311-2/+12
| | | | Fix a couple of really minor markup nits.
* Correct the reference count information for the parameters ofFred Drake2000-08-151-3/+3
| | | | PyErr_Restore().
* In the section on the "Very High Level Layer", address concerns brought upFred Drake2000-08-141-0/+9
| | | | | | | | by Edward K. Ream <edream@users.sourceforge.net> about FILE* values and incompatible C libraries in dynamically linked extensions. It is not clear (to me) how realistic the issue is, but it is better documented than not. This closes SourceForge bug #111520.
* Added information for PyEval_EvalCode().Fred Drake2000-08-121-2/+7
| | | | Fixed a couple of typos (new references are represented by "+1", not "1").
* PyRun_InteractiveOne(),Fred Drake2000-08-111-2/+20
| | | | | | | | PyRun_InteractiveLoop(): Added descriptions. PyExc_WindowsError: Added to list of standard exceptions and added note about the right preprocessor symbol to use to protect code that uses it.
* ANY becomes void, to reflect the requirement for ANSI C.Fred Drake2000-08-111-18/+11
|
* Document PyObject_AsFileDescriptorAndrew M. Kuchling2000-07-132-0/+10
|
* Added new APIs and fixed some other Unicode ones (missing * orMarc-André Lemburg2000-07-071-56/+78
| | | | extra ' ').
* Added docs for the new Unicode and string APIs.Marc-André Lemburg2000-07-071-7/+52
|
* Marc-Andre Lemburg <mal@lemburg.com>:Fred Drake2000-07-031-1/+9
| | | | | Update the API docs for the new macros Py_UNICODE_ISALPHA() and Py_UNICODE_ISALNUM().
* Uncomment some additions from Vladimir pertinent to 2.0 but not 1.5.2.Fred Drake2000-06-301-8/+7
|
* Update comments relating to the removal of the -X option and of stringFred Drake2000-06-291-16/+11
| | | | exceptions in the interpreter and standard library.
* Added documentation for PyOS_AfterFork().Fred Drake2000-06-281-0/+7
|
* Markup consistency nits.Fred Drake2000-06-181-89/+43
|
* Updates from Marc-Andre Lemburg <mal@leburg.com> for the Unicode support.Fred Drake2000-06-162-2/+273
|
* Added reference count information for PySequence_List().Fred Drake2000-06-161-0/+3
|
* Documented PySequence_List() and PySequence_Tuple().Fred Drake2000-06-161-20/+54
| | | | | | | Added a bit more documentation in the chapter on building extension types, including Py_FindMethod() documentation. Several minor consistency nits were fixed.
* Added reference count information for Py_FindMethod().Fred Drake2000-04-101-0/+5
|
* Yet another markup nit: functions that are part of the Python/C APIFred Drake2000-04-101-3/+5
| | | | are still C functions, and should be marked.
* PyErr_Format():Fred Drake2000-04-101-1/+0
| | | | | Remove statement that the return value is always NULL; this is generated by the formatting.
* document PyErr_FormatJeremy Hylton2000-04-102-0/+16
|
* 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".
* Marc-Andre Lemburg <mal@lemburg.com>:Fred Drake2000-04-061-0/+712
| | | | API documentation for Unicode support from C.
* Merge in changes from the 1.5.2p2 release.Fred Drake2000-04-031-654/+1297
| | | | Hopefully I got all this right!
* Merged changes from the 1.5.2p2 release.Fred Drake2000-04-031-3/+24
|
* Improve explanation of reference counts for PyString_Concat().Fred Drake2000-03-311-2/+3
|
* Add PyDict_Copy() function to C API for dicts. It returns a newJeremy Hylton2000-03-302-1/+8
| | | | dictionary that contains the same key/value pairs as p.
* Missed a couple of program options that had been marked by \code.Fred Drake1999-11-091-4/+4
|
* Use \citetitle and \programopt as appropriate.Fred Drake1999-11-091-17/+18
|
* 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
|
* Clarified start parameter to Py_CompileString, documentedFred Drake1999-08-231-5/+24
| | | | | | Py_eval_input, Py_file_input, and Py_single_input. Problems reported by Aaron Brancotti <aaron@icona.it>.
* Started documentation on buffer objects & types. Very preliminary.Fred Drake1999-08-041-1/+66
| | | | Greg Stein: Please help with this; it's your baby!
* Removed PyMapping_Clear() -- it was wishful thinking and serves noGuido van Rossum1999-08-021-6/+0
| | | | great purpose.
* PyCObject_FromVoidPtr(): Clarify that the destr function will only beFred Drake1999-05-131-1/+2
| | | | called on destruction is non-NULL.