Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Oops. The value "0 or +1" for the category argument of PyErr_Warn() | Guido van Rossum | 2000-12-19 | 1 | -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 Rossum | 2000-12-19 | 1 | -0/+11 |
| | | | | | Add an XXX comment at the beginning expressing disappointment over the confusing way refcount behavior of arguments is documented. | ||||
* | Document Pyerr_Warn(). | Guido van Rossum | 2000-12-19 | 1 | -0/+34 |
| | |||||
* | In the first discussion showing how to handle exceptions from C, make the | Fred Drake | 2000-11-29 | 1 | -7/+11 |
| | | | | | | | | Python equivalent actually equivalent to the C code. Also, in the C code, place the "goto" statements on a line by themselves for better visibility of statements that affect control flow. This closes bug #123398. | ||||
* | Added documentation for the Py_InitModule*() family of functions. | Fred Drake | 2000-11-28 | 2 | -1/+47 |
| | |||||
* | Updates to reflect pending changes to the XML conversion process. | Fred Drake | 2000-11-22 | 1 | -1/+1 |
| | |||||
* | Added exception to the rule that the buffer returned by PyString_AsString() | Fred Drake | 2000-10-23 | 1 | -4/+17 |
| | | | | | | | | | | | | and PyString_AsStringAndSize() for strings that were just created using PyString_FromStringAndSize(NULL, n). This closes bug #117377. Added warning about passing NULL to the concrete object functions; many of them use the appropriate Py<Type>_Check() test, but do not check for NULL. "de-allocated" --> "deallocated" | ||||
* | For PyErr_Format(), note that the exception parameter can be a string or | Fred Drake | 2000-10-14 | 1 | -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 said | Fred Drake | 2000-10-07 | 1 | -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 Schemenauer | 2000-10-05 | 1 | -6/+6 |
| | |||||
* | Reversely --> Conversely | Fred Drake | 2000-09-29 | 1 | -2/+2 |
| | | | | This closes SourceForge bug #115673. | ||||
* | Note that including Python.h includes limits.h when available. | Fred Drake | 2000-09-26 | 1 | -2/+2 |
| | |||||
* | Added documentation for the new PyModule_*() convenience functions. | Fred Drake | 2000-09-23 | 1 | -0/+26 |
| | | | | This closes SourceForge patch #101233. | ||||
* | Added refcount information for the *_InPlace*() API series. | Fred Drake | 2000-09-22 | 1 | -0/+53 |
| | | | | This closes SourceForge bug #114287. | ||||
* | PyNumber_Coerce() returns an int, not a PyObject *. | Fred Drake | 2000-09-22 | 1 | -1/+1 |
| | |||||
* | Include the new text on reporting bugs in a few useful places. | Fred Drake | 2000-09-21 | 1 | -0/+4 |
| | | | | This closes SourceForge bug #114792. | ||||
* | This patch adds a new Python C API called PyString_AsStringAndSize() | Marc-André Lemburg | 2000-09-19 | 2 | -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 Rossum | 2000-09-16 | 1 | -0/+15 |
| | | | | | | (Is there no macro to document a typedef?) Fred, please check my latex! | ||||
* | Use \shortversion in a number of places. | Fred Drake | 2000-09-14 | 1 | -6/+5 |
| | | | | This partially addresses SourceForge bug #114318. | ||||
* | Avoid reference to specific versions of Python where possible. | Fred Drake | 2000-09-14 | 1 | -3/+3 |
| | | | | This partially addresses SourceForge bug #114318. | ||||
* | Thomas Wouters <thomas@xs4all.net>: | Fred Drake | 2000-09-12 | 1 | -7/+106 |
| | | | | | Fix up some of the PyNumber_*() documentation. Add documentation for the InPlace API calls. | ||||
* | Vladimir Marangozov <Vladimir.Marangozov@inrialpes.fr>: | Fred Drake | 2000-09-12 | 2 | -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 Drake | 2000-09-12 | 2 | -0/+25 |
| | |||||
* | Update documentation for PyErr_Format, because the function has changed. | Moshe Zadka | 2000-09-01 | 1 | -9/+19 |
| | | | | Connected to patch 100895 | ||||
* | Document PyImport_AppendInittab(), PyImport_ExtendInittab(), and | Fred Drake | 2000-09-01 | 1 | -1/+39 |
| | | | | | | struct _inittab. This closes SourceForge bug #111499. | ||||
* | refactor __del__ exception handler into PyErr_WriteUnraisable | Jeremy Hylton | 2000-09-01 | 1 | -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 Drake | 2000-08-31 | 1 | -2/+12 |
| | | | | Fix a couple of really minor markup nits. | ||||
* | Correct the reference count information for the parameters of | Fred Drake | 2000-08-15 | 1 | -3/+3 |
| | | | | PyErr_Restore(). | ||||
* | In the section on the "Very High Level Layer", address concerns brought up | Fred Drake | 2000-08-14 | 1 | -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 Drake | 2000-08-12 | 1 | -2/+7 |
| | | | | Fixed a couple of typos (new references are represented by "+1", not "1"). | ||||
* | PyRun_InteractiveOne(), | Fred Drake | 2000-08-11 | 1 | -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 Drake | 2000-08-11 | 1 | -18/+11 |
| | |||||
* | Document PyObject_AsFileDescriptor | Andrew M. Kuchling | 2000-07-13 | 2 | -0/+10 |
| | |||||
* | Added new APIs and fixed some other Unicode ones (missing * or | Marc-André Lemburg | 2000-07-07 | 1 | -56/+78 |
| | | | | extra ' '). | ||||
* | Added docs for the new Unicode and string APIs. | Marc-André Lemburg | 2000-07-07 | 1 | -7/+52 |
| | |||||
* | Marc-Andre Lemburg <mal@lemburg.com>: | Fred Drake | 2000-07-03 | 1 | -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 Drake | 2000-06-30 | 1 | -8/+7 |
| | |||||
* | Update comments relating to the removal of the -X option and of string | Fred Drake | 2000-06-29 | 1 | -16/+11 |
| | | | | exceptions in the interpreter and standard library. | ||||
* | Added documentation for PyOS_AfterFork(). | Fred Drake | 2000-06-28 | 1 | -0/+7 |
| | |||||
* | Markup consistency nits. | Fred Drake | 2000-06-18 | 1 | -89/+43 |
| | |||||
* | Updates from Marc-Andre Lemburg <mal@leburg.com> for the Unicode support. | Fred Drake | 2000-06-16 | 2 | -2/+273 |
| | |||||
* | Added reference count information for PySequence_List(). | Fred Drake | 2000-06-16 | 1 | -0/+3 |
| | |||||
* | Documented PySequence_List() and PySequence_Tuple(). | Fred Drake | 2000-06-16 | 1 | -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 Drake | 2000-04-10 | 1 | -0/+5 |
| | |||||
* | Yet another markup nit: functions that are part of the Python/C API | Fred Drake | 2000-04-10 | 1 | -3/+5 |
| | | | | are still C functions, and should be marked. | ||||
* | PyErr_Format(): | Fred Drake | 2000-04-10 | 1 | -1/+0 |
| | | | | | Remove statement that the return value is always NULL; this is generated by the formatting. | ||||
* | document PyErr_Format | Jeremy Hylton | 2000-04-10 | 2 | -0/+16 |
| | |||||
* | Add to the comment a description of the "null" value for returned | Fred Drake | 2000-04-10 | 1 | -1/+4 |
| | | | | PyObject* values. | ||||
* | The reference count field for PyErr_NoMemory() and | Fred Drake | 2000-04-10 | 1 | -2/+2 |
| | | | | PyErr_SetFromErrno() should be "null". | ||||
* | Marc-Andre Lemburg <mal@lemburg.com>: | Fred Drake | 2000-04-06 | 1 | -0/+712 |
| | | | | API documentation for Unicode support from C. |