summaryrefslogtreecommitdiffstats
path: root/Doc/api
Commit message (Collapse)AuthorAgeFilesLines
...
* SF patch 876130: add C API to datetime module, from Anthony Tuininga.Tim Peters2004-06-201-36/+157
| | | | | | The LaTeX is untested (well, so is the new API, for that matter). Note that I also changed NULL to get spelled consistently in concrete.tex. If that was a wrong thing to do, Fred should yell at me.
* Note that memory returned by PyBuffer_New is not specifically aligned.Neil Schemenauer2004-06-081-1/+3
| | | | Closes SF bug #472568.
* [Bug #936837] Add missing wordAndrew M. Kuchling2004-06-051-1/+1
|
* Drop claims that Unicode always means UCS-2. Fixes #881861.Martin v. Löwis2004-06-032-9/+10
|
* - SF #962502: Add two more methods for unicode type; width() andHye-Shik Chang2004-06-021-0/+9
| | | | | | | iswide() for east asian width manipulation. (Inspired by David Goodger, Reviewed by Martin v. Loewis) - Move _PyUnicode_TypeRecord.flags to the end of the struct so that no padding is added for UCS-4 builds. (Suggested by Martin v. Loewis)
* Document PyModule_AddIntConstant to take a long. Fixes #962471.Martin v. Löwis2004-06-021-1/+1
| | | | Will backport to 2.3.
* Patch #957398: Add public API for Generator Object/Type.Martin v. Löwis2004-06-011-0/+31
|
* minor wording cleanupFred Drake2004-05-121-1/+1
|
* Removed 'U' from the documentation for Py_BuildValue to bring it in lineNicholas Bastin2004-05-041-3/+0
| | | | | with the elimination of 'U' in modsupport.c on 2000/04/28 (replaced with 'u' and 'u#' per fdrake's comments).
* Two new public API functions, Py_IncRef and Py_DecRef. Useful forThomas Heller2004-04-221-0/+5
| | | | dynamic embedders of Python.
* SF bug #936827: PyNumber_And() 's descriptionRaymond Hettinger2004-04-171-1/+1
| | | | Fix typo.
* Emphasize the requirement that Python.h be included first more strongly.Fred Drake2004-03-311-3/+6
| | | | Closes SF bug #837228; backporting for Python 2.3.4.
* 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.