summaryrefslogtreecommitdiffstats
path: root/Doc/api/api.tex
Commit message (Collapse)AuthorAgeFilesLines
* For PyErr_Format(), note that the exception parameter can be a string orFred Drake2000-10-141-2/+2
| | | | | class, but not an instance (since an instance will be created using the formatted message string as the constructor parameter).
* Fix a couple of places where the descriptions of *_GET_SIZE() macros saidFred Drake2000-10-071-2/+2
| | | | | | they were similar to *_GetSize(); should be similar to *_Size(). Error noted by William Park <parkw@better.net>.
* The _PyTuple_Resize() last_is_sticky flag must now always be false.Neil Schemenauer2000-10-051-6/+6
|
* Reversely --> ConverselyFred Drake2000-09-291-2/+2
| | | | This closes SourceForge bug #115673.
* Note that including Python.h includes limits.h when available.Fred Drake2000-09-261-2/+2
|
* Added documentation for the new PyModule_*() convenience functions.Fred Drake2000-09-231-0/+26
| | | | This closes SourceForge patch #101233.
* 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-191-0/+17
| | | | | | | | | | | | | 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-121-53/+52
| | | | | | | 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/+17
|
* 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.
* 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.
* 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-131-0/+7
|
* 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-161-2/+2
|
* 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.
* 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-101-0/+11
|
* 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!
* 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-301-0/+4
| | | | 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
|
* 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.
* Fill in a few holes in the "Very High Level" chapter.Fred Drake1999-04-291-0/+37
|
* Updated list of standard exceptions in section 4.1.Fred Drake1999-02-171-0/+3
|
* Be explicit about the reference count of the original value of theFred Drake1999-02-151-2/+6
| | | | first parameter to PyString_Concat().
* Markup nits.Fred Drake1999-02-151-87/+83
| | | | | Added section on module objects; described functions in moduleobject.c.
* Header for PyObject_DelItem() mentioned non-existing 3rd argument.Guido van Rossum1999-01-221-1/+1
|
* Warn that AddModule doesn't import the module.Guido van Rossum1998-11-021-1/+6
|