summaryrefslogtreecommitdiffstats
path: root/Doc/api
Commit message (Collapse)AuthorAgeFilesLines
* Fix #1139: PyFile_Encoding really is PyFile_SetEncoding.Georg Brandl2007-09-121-1/+1
| | | | (backport from rev. 58117).
* Fix #1122: wrong return type documented for various _Size() functions.Georg Brandl2007-09-121-4/+4
| | | | (backport from rev. 58115).
* Add missing \versionadded.Georg Brandl2007-06-161-0/+1
| | | | (backport from rev. 56006)
* Backport checkin:Walter Dörwald2007-05-031-4/+4
| | | | | Clarify the behaviour of PyUnicode_DecodeUTF16(): A BOM is only skipped in native order mode, and only if it's the first two bytes.
* Backport r54763: repair missing spaces after \UNIX.Georg Brandl2007-04-211-1/+1
|
* Patch #1686451: Fix return type for PySequence_{Count,Index,Fast_GET_SIZE}.Martin v. Löwis2007-03-231-3/+3
|
* Patch #1684834: document some utility C API functions.Georg Brandl2007-03-211-0/+91
| | | | (backport from rev. 54483)
* Bugs #1668032, #1668036, #1669304: clarify behavior of PyMem_Realloc and ↵Georg Brandl2007-03-021-2/+5
| | | | | | _Resize. (backport from rev. 54088)
* Bug #1629125: fix wrong data type (int -> Py_ssize_t) in PyDict_Next docs.Georg Brandl2007-01-171-2/+2
| | | | (backport from rev. 53477)
* Remove a stray (old) macro name left around (I guess)Neal Norwitz2006-12-281-2/+0
|
* Patch #1592072: fix docs for return value of PyErr_CheckSignals.Georg Brandl2006-11-081-1/+1
| | | | (backport from rev. 52666)
* [Bug #1579796] Wrong syntax for PyDateTime_IMPORT in documentation. ↵Andrew M. Kuchling2006-10-261-4/+4
| | | | Reported by David Faure.
* Bug #1546052: clarify that PyString_FromString(AndSize) copies theGeorg Brandl2006-09-301-5/+5
| | | | | string pointed to by its parameter. (backport from rev. 52078)
* Minor editsAndrew M. Kuchling2006-08-182-3/+3
|
* Typo in tp_clear docs.Georg Brandl2006-08-181-1/+1
| | | | (backport from rev. 51368)
* Bug #1541682: Fix example in the "Refcount details" API docs.Georg Brandl2006-08-183-22/+20
| | | | | | Additionally, remove a faulty example showing PySequence_SetItem applied to a newly created list object and add notes that this isn't a good idea. (backport from rev. 51364)
* Improve markup in PyUnicode_RichCompare.Georg Brandl2006-08-141-19/+14
|
* Slightly revised version of patch #1538956:Marc-André Lemburg2006-08-142-4/+30
| | | | | | | | | | Replace UnicodeDecodeErrors raised during == and != compares of Unicode and other objects with a new UnicodeWarning. All other comparisons continue to raise exceptions. Exceptions other than UnicodeDecodeErrors are also left untouched.
* Patch #1538606, Patch to fix __index__() clipping.Neal Norwitz2006-08-121-3/+22
| | | | | | | I modified this patch some by fixing style, some error checking, and adding XXX comments. This patch requires review and some changes are to be expected. I'm checking in now to get the greatest possible review and establish a baseline for moving forward. I don't want this to hold up release if possible.
* Followup to bug #1069160.Tim Peters2006-08-101-6/+6
| | | | | | PyThreadState_SetAsyncExc(): internal correctness changes wrt refcount safety and deadlock avoidance. Also added a basic test case (relying on ctypes) and repaired the docs.
* ``str`` is now the same object as ``types.StringType``.Georg Brandl2006-08-081-17/+24
|
* Bug #1536828: typo: TypeType should have been StringType.Georg Brandl2006-08-081-1/+1
|
* Fix function name.Georg Brandl2006-07-311-1/+1
|
* Document PyErr_WarnEx. (Bad Neal! No biscuit!)Andrew M. Kuchling2006-07-311-2/+16
| | | | | | | | | Is the explanation of the 'stacklevel' parameter clear? Please feel free to edit it. I don't have LaTeX installed on this machine, so haven't verified that the markup is correct. Will check tonight, or maybe the automatic doc build will tell me.
* Add refcounts for PyErr_WarnExAndrew M. Kuchling2006-07-311-0/+5
|
* lots of markup nits, most commonly Unix/unix --> \UNIXFred Drake2006-07-301-2/+2
|
* [Patch #1490989 from Skip Montanaro] Mention debugging builds in the API ↵Andrew M. Kuchling2006-07-292-5/+56
| | | | documentation. I've changed Skip's patch to point to Misc/SpecialBuilds and fiddled with the markup a bit.
* Document the correct return type of PyLong_AsUnsignedLongLongMask.Thomas Heller2006-07-061-1/+1
|
* Bug #805015: doc error in PyUnicode_FromEncodedObject.Georg Brandl2006-06-141-15/+8
|
* Patch #1455898: Incremental mode for "mbcs" codec.Martin v. Löwis2006-06-141-0/+12
|
* Clarify documentation for bf_getcharbuffer.Brett Cannon2006-06-071-6/+10
|
* Patch 1494554: Update numeric properties to Unicode 4.1.Martin v. Löwis2006-05-271-1/+1
|
* Exception isn't the root of all exception classes anymore.Georg Brandl2006-05-261-2/+3
|
* Add a x-ref to newer calling APIs.Georg Brandl2006-05-251-0/+4
|
* Someone seems to just have copy-pasted the docs ofGeorg Brandl2006-05-251-4/+4
| | | | tp_compare to tp_richcompare ;)
* PyErr_NewException now accepts a tuple of base classes as itsGeorg Brandl2006-05-231-1/+2
| | | | "base" parameter.
* Typo repair.Tim Peters2006-05-132-2/+2
|
* Teach PyString_FromFormat, PyErr_Format, and PyString_FromFormatVTim Peters2006-05-132-22/+57
| | | | | | | | | | | | about "%u", "%lu" and "%zu" formats. Since PyString_FromFormat and PyErr_Format have exactly the same rules (both inherited from PyString_FromFormatV), it would be good if someone with more LaTeX Fu changed one of them to just point to the other. Their docs were way out of synch before this patch, and I just did a mass copy+paste to repair that. Not a backport candidate (this is a new feature).
* SF patch #1473132: Improve docs for tp_clear and tp_traverse,Tim Peters2006-05-121-4/+84
| | | | | | by Collin Winter. Bugfix candidate (but I'm not going to bother).
* avoid ugly markup based on the unfortunate conversions of ">>" and "<<" toFred Drake2006-05-031-1/+1
| | | | guillemets; no need for magic here
* Documentation bug: PySet_Pop() returns a new reference (because theArmin Rigo2006-05-021-1/+1
| | | | caller becomes the owner of that reference).
* fix markup glitchGeorge Yoshida2006-04-281-1/+1
|
* Patch #702933: Undocument PyObject_NEW, PyObject_NEW_VAR,Martin v. Löwis2006-04-142-20/+1
| | | | and PyObject_DEL.
* Stop claiming that Py_Finalize releases all memory.Martin v. Löwis2006-04-131-1/+4
| | | | Fixes part of #1445210.
* Patch #837242: id() for large ptr should return a long.Martin v. Löwis2006-04-101-1/+5
|
* Bug #1464658: make clear that PyList_GetItem doesn't take negative indices.Georg Brandl2006-04-061-2/+3
|
* Fix typos.Walter Dörwald2006-03-311-2/+2
|
* SF patch #1458476 with modifications based on discussions in python-dev. ThisBarry Warsaw2006-03-301-4/+3
| | | | | | adds the following API calls: PySet_Clear(), _PySet_Next(), and _PySet_Update(). The latter two are considered non-public. Tests and documentation (for the public API) are included.
* fill in refcount information for APIs first documented in Python 2.5Fred Drake2006-03-301-0/+9
|
* merge revision 43437 from the release24-maint branch:Fred Drake2006-03-302-0/+115
| | | | | - update the refcount information (late, but not a bad thing to do...) - clarify that PyGen_New() steals a reference