Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | improve the very-high-level API docs (contributed by Jeff Epler) | Fred Drake | 2004-03-25 | 1 | -34/+180 |
| | | | | Closes SF patch #798638. | ||||
* | Remove note that PyErr_SetInterrupt() is obsolete; add comment about the | Fred Drake | 2004-03-25 | 1 | -1/+3 |
| | | | | | fact that it was marked obsolete but is still needed. Closes SF bug #919299. Someone else should backport this to Python 2.3. | ||||
* | SF bug: #921927: Fixed a typo/thinko spelling "parameter" as "paramter" | Raymond Hettinger | 2004-03-25 | 1 | -2/+2 |
| | |||||
* | Enable the profiling of C functions (builtins and extensions) | Nicholas Bastin | 2004-03-24 | 1 | -4/+24 |
| | |||||
* | Minor grammatical fixes. | Brett Cannon | 2004-03-18 | 1 | -3/+3 |
| | |||||
* | Extremely minor typo fixed. | Brett Cannon | 2004-03-18 | 1 | -1/+1 |
| | |||||
* | Use a new macro, PySequence_Fast_ITEMS to factor out code common to | Raymond Hettinger | 2004-03-12 | 1 | -0/+7 |
| | | | | | three recent optimizations. Aside from reducing code volume, it increases readability. | ||||
* | markup correction | Fred Drake | 2004-02-17 | 1 | -1/+1 |
| | |||||
* | Patch #893566: Document that tp_dealloc may be called from any thread. | Martin v. Löwis | 2004-02-15 | 1 | -0/+10 |
| | |||||
* | Documentation for PyDescr_NewClassMethod was missing - here's at least | Thomas Heller | 2004-02-09 | 1 | -0/+5 |
| | | | | | | the function prototype. Already backported to release23-maint. | ||||
* | Fix small factual error. | Raymond Hettinger | 2004-01-04 | 1 | -1/+1 |
| | |||||
* | clean up indexing for None, NotImplemented | Fred Drake | 2004-01-01 | 1 | -1/+1 |
| | | | | closes SF bug #820344 | ||||
* | At 2.2, the Py<type>_Check() family of API functions (macros) changed | Andrew MacIntyre | 2003-12-26 | 1 | -0/+6 |
| | | | | | | | | | | | | semantics to include subtypes. Most concrete object APIs then had a Py<type>_CheckExact() macro added to test for an object's type not including subtypes. The PyDict_CheckExact() macro wasn't created at that time, so I've added it for API completeness/symmetry - even though nobody has complained about its absence in the time since 2.2 was released. Not a backport candidate. | ||||
* | The semantics of PyList_Check() and PyDict_Check() changed at 2.2, along | Andrew MacIntyre | 2003-12-25 | 1 | -2/+12 |
| | | | | | | | | | with most other concrete object checks, but the docs weren't brought into line. PyList_CheckExact() was added at 2.2 but never documented. backport candidate. | ||||
* | Note that \var{ppos} values are not consecutive and should not be altered. | Raymond Hettinger | 2003-12-13 | 1 | -1/+3 |
| | |||||
* | * Added a new method flag, METH_COEXIST. | Raymond Hettinger | 2003-12-13 | 1 | -0/+15 |
| | | | | | * Used the flag to optimize set.__contains__(), dict.__contains__(), dict.__getitem__(), and list.__getitem__(). | ||||
* | Fix missing paren. | Raymond Hettinger | 2003-12-07 | 1 | -1/+1 |
| | |||||
* | SF patch #838938: Typos in the docs (Extending/Embedding + Python/C API) | Raymond Hettinger | 2003-12-07 | 3 | -7/+6 |
| | | | | (Contributed by Florent Rougon.) | ||||
* | Expose dict_contains() and PyDict_Contains() with is about 10% faster | Raymond Hettinger | 2003-11-25 | 1 | -0/+8 |
| | | | | | | | than PySequence_Contains() and more clearly applicable to dicts. Apply the new function in setobject.c where __contains__ checking is ubiquitous. | ||||
* | fix use of undefined markup | Fred Drake | 2003-11-10 | 1 | -1/+1 |
| | |||||
* | Document Py_RETURN_NONE. | Brett Cannon | 2003-11-09 | 1 | -0/+4 |
| | |||||
* | Patch #837322: Clarify owning, borrowing, stealing. Backported to 2.3. | Martin v. Löwis | 2003-11-06 | 1 | -6/+10 |
| | |||||
* | Document that varlist can be NULL. | Raymond Hettinger | 2003-10-26 | 1 | -2/+4 |
| | |||||
* | Make CObjects mutable. Fixes #477441. | Martin v. Löwis | 2003-10-19 | 1 | -5/+11 |
| | |||||
* | Patch #821093: Fix various typos. | Martin v. Löwis | 2003-10-19 | 3 | -8/+8 |
| | |||||
* | SF #822262, Typo in Doc/api/intro.tex | Neal Norwitz | 2003-10-13 | 1 | -1/+1 |
| | |||||
* | Extended tuple's C API to include a new function, PyTuple_Pack() that is | Raymond Hettinger | 2003-10-12 | 1 | -1/+9 |
| | | | | | useful for rapidly building argument tuples without having to invoke the more sophisticated machinery of Py_BuildValue(). | ||||
* | SF 810242. Fix doubled word errors. | Raymond Hettinger | 2003-09-22 | 1 | -1/+1 |
| | |||||
* | fix \NULL with following space and no {} | Fred Drake | 2003-09-07 | 1 | -1/+1 |
| | |||||
* | Fix minor LaTeX bug of not ending a \NULL{} with the curly braces to get the | Brett Cannon | 2003-09-07 | 1 | -1/+1 |
| | | | | spacing correct in the output. | ||||
* | Fix doubled word typos. | Raymond Hettinger | 2003-08-25 | 1 | -1/+1 |
| | |||||
* | Fix typo. | Raymond Hettinger | 2003-08-23 | 1 | -1/+1 |
| | |||||
* | SF patch#786531 'the the' typo. Contributed by George Yoshida | Raymond Hettinger | 2003-08-12 | 1 | -1/+1 |
| | |||||
* | SF patch #783807: Clarify PySequence_Setitem ref counting | Raymond Hettinger | 2003-08-09 | 1 | -1/+2 |
| | | | | (Contributed by Jay T Miller.) | ||||
* | Error noted in email to python-docs: PyObject corresponds to | Fred Drake | 2003-07-07 | 1 | -1/+1 |
| | | | | PyObject_HEAD, not PyObject_VAR_HEAD. | ||||
* | Correct documentation of check interval - it's 100 by default, not 10 any | Skip Montanaro | 2003-07-02 | 1 | -1/+1 |
| | | | | longer. Pointed out by Alex Martelli. | ||||
* | Document PyThreadState_SetAsyncExc(). | Fred Drake | 2003-06-29 | 1 | -0/+14 |
| | |||||
* | SF bug #719367, string exceptions are deprecated | Neal Norwitz | 2003-05-29 | 1 | -2/+2 |
| | | | | Remove references to string based exceptions in the doc. | ||||
* | Typo fix. | Greg Ward | 2003-05-29 | 1 | -1/+1 |
| | |||||
* | Patch #612627: Add encoding attribute to file objects, and determine | Martin v. Löwis | 2003-05-10 | 1 | -0/+6 |
| | | | | the terminal encoding on Windows and Unix. | ||||
* | fix some markup errors | Fred Drake | 2003-04-23 | 1 | -2/+2 |
| | |||||
* | Document the new functions PyInt_AsUnsignedLongMask(), ↵ | Thomas Heller | 2003-04-23 | 1 | -0/+26 |
| | | | | | | PyInt_AsUnsignedLongLongMask(), PyLong_AsUnsignedLongMask(), PyLong_AsUnsignedLongLongMask(). | ||||
* | Document the new format codes B, H, I, k, K. | Thomas Heller | 2003-04-23 | 1 | -0/+22 |
| | |||||
* | As discussed on python-dev, revised docs to note that | Raymond Hettinger | 2003-04-16 | 1 | -1/+8 |
| | | | | | | | | PyObject_IsTrue() can have an error result. Also, added missing docs for PyObject_Not(). Will backport. | ||||
* | - pythunrun.c, Py_Finalize(): move the call to _Py_PrintReferences() | Guido van Rossum | 2003-04-15 | 1 | -3/+6 |
| | | | | | | | | | | | | | | | | | | | even farther down, to just before the call to _PyObject_DebugMallocStats(). This required the following changes: - pystate.c, PyThreadState_GetDict(): changed not to raise an exception or issue a fatal error when no current thread state is available, but simply return NULL without raising an exception (ever). - object.c, Py_ReprEnter(): when PyThreadState_GetDict() returns NULL, don't raise an exception but return 0. This means that when printing a container that's recursive, printing will go on and on and on. But that shouldn't happen in the case we care about (see first bullet). - Updated Misc/NEWS and Doc/api/init.tex to reflect changes to PyThreadState_GetDict() definition. | ||||
* | Minor markup adjustments. | Fred Drake | 2003-04-09 | 1 | -3/+2 |
| | |||||
* | Try to discourage use of PyObject_Type(). | Guido van Rossum | 2003-04-09 | 1 | -0/+5 |
| | |||||
* | Patch #701395: Correct documentation of PyUnicode_Splitlines. | Martin v. Löwis | 2003-03-30 | 1 | -3/+4 |
| | |||||
* | Rename LONG_LONG to PY_LONG_LONG. Fixes #710285. | Martin v. Löwis | 2003-03-29 | 1 | -1/+1 |
| | |||||
* | PyWeakref_GetObject returns None (not NULL) when the referent is gone. | Ka-Ping Yee | 2003-03-28 | 1 | -1/+1 |
| |