summaryrefslogtreecommitdiffstats
path: root/Doc/api
Commit message (Collapse)AuthorAgeFilesLines
* improve the very-high-level API docs (contributed by Jeff Epler)Fred Drake2004-03-251-34/+180
| | | | Closes SF patch #798638.
* Remove note that PyErr_SetInterrupt() is obsolete; add comment about theFred Drake2004-03-251-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 Hettinger2004-03-251-2/+2
|
* Enable the profiling of C functions (builtins and extensions)Nicholas Bastin2004-03-241-4/+24
|
* Minor grammatical fixes.Brett Cannon2004-03-181-3/+3
|
* Extremely minor typo fixed.Brett Cannon2004-03-181-1/+1
|
* Use a new macro, PySequence_Fast_ITEMS to factor out code common toRaymond Hettinger2004-03-121-0/+7
| | | | | three recent optimizations. Aside from reducing code volume, it increases readability.
* markup correctionFred Drake2004-02-171-1/+1
|
* Patch #893566: Document that tp_dealloc may be called from any thread.Martin v. Löwis2004-02-151-0/+10
|
* Documentation for PyDescr_NewClassMethod was missing - here's at leastThomas Heller2004-02-091-0/+5
| | | | | | the function prototype. Already backported to release23-maint.
* Fix small factual error.Raymond Hettinger2004-01-041-1/+1
|
* clean up indexing for None, NotImplementedFred Drake2004-01-011-1/+1
| | | | closes SF bug #820344
* At 2.2, the Py<type>_Check() family of API functions (macros) changedAndrew MacIntyre2003-12-261-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, alongAndrew MacIntyre2003-12-251-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 Hettinger2003-12-131-1/+3
|
* * Added a new method flag, METH_COEXIST.Raymond Hettinger2003-12-131-0/+15
| | | | | * Used the flag to optimize set.__contains__(), dict.__contains__(), dict.__getitem__(), and list.__getitem__().
* Fix missing paren.Raymond Hettinger2003-12-071-1/+1
|
* SF patch #838938: Typos in the docs (Extending/Embedding + Python/C API)Raymond Hettinger2003-12-073-7/+6
| | | | (Contributed by Florent Rougon.)
* Expose dict_contains() and PyDict_Contains() with is about 10% fasterRaymond Hettinger2003-11-251-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 markupFred Drake2003-11-101-1/+1
|
* Document Py_RETURN_NONE.Brett Cannon2003-11-091-0/+4
|
* Patch #837322: Clarify owning, borrowing, stealing. Backported to 2.3.Martin v. Löwis2003-11-061-6/+10
|
* Document that varlist can be NULL.Raymond Hettinger2003-10-261-2/+4
|
* Make CObjects mutable. Fixes #477441.Martin v. Löwis2003-10-191-5/+11
|
* Patch #821093: Fix various typos.Martin v. Löwis2003-10-193-8/+8
|
* SF #822262, Typo in Doc/api/intro.texNeal Norwitz2003-10-131-1/+1
|
* Extended tuple's C API to include a new function, PyTuple_Pack() that isRaymond Hettinger2003-10-121-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 Hettinger2003-09-221-1/+1
|
* fix \NULL with following space and no {}Fred Drake2003-09-071-1/+1
|
* Fix minor LaTeX bug of not ending a \NULL{} with the curly braces to get theBrett Cannon2003-09-071-1/+1
| | | | spacing correct in the output.
* Fix doubled word typos.Raymond Hettinger2003-08-251-1/+1
|
* Fix typo.Raymond Hettinger2003-08-231-1/+1
|
* SF patch#786531 'the the' typo. Contributed by George YoshidaRaymond Hettinger2003-08-121-1/+1
|
* SF patch #783807: Clarify PySequence_Setitem ref countingRaymond Hettinger2003-08-091-1/+2
| | | | (Contributed by Jay T Miller.)
* Error noted in email to python-docs: PyObject corresponds toFred Drake2003-07-071-1/+1
| | | | PyObject_HEAD, not PyObject_VAR_HEAD.
* Correct documentation of check interval - it's 100 by default, not 10 anySkip Montanaro2003-07-021-1/+1
| | | | longer. Pointed out by Alex Martelli.
* Document PyThreadState_SetAsyncExc().Fred Drake2003-06-291-0/+14
|
* SF bug #719367, string exceptions are deprecatedNeal Norwitz2003-05-291-2/+2
| | | | Remove references to string based exceptions in the doc.
* Typo fix.Greg Ward2003-05-291-1/+1
|
* Patch #612627: Add encoding attribute to file objects, and determineMartin v. Löwis2003-05-101-0/+6
| | | | the terminal encoding on Windows and Unix.
* fix some markup errorsFred Drake2003-04-231-2/+2
|
* Document the new functions PyInt_AsUnsignedLongMask(), ↵Thomas Heller2003-04-231-0/+26
| | | | | | PyInt_AsUnsignedLongLongMask(), PyLong_AsUnsignedLongMask(), PyLong_AsUnsignedLongLongMask().
* Document the new format codes B, H, I, k, K.Thomas Heller2003-04-231-0/+22
|
* As discussed on python-dev, revised docs to note thatRaymond Hettinger2003-04-161-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 Rossum2003-04-151-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 Drake2003-04-091-3/+2
|
* Try to discourage use of PyObject_Type().Guido van Rossum2003-04-091-0/+5
|
* Patch #701395: Correct documentation of PyUnicode_Splitlines.Martin v. Löwis2003-03-301-3/+4
|
* Rename LONG_LONG to PY_LONG_LONG. Fixes #710285.Martin v. Löwis2003-03-291-1/+1
|
* PyWeakref_GetObject returns None (not NULL) when the referent is gone.Ka-Ping Yee2003-03-281-1/+1
|