summaryrefslogtreecommitdiff
path: root/Doc/api
AgeCommit message (Collapse)AuthorLines
2008-03-02Revert the following revisions, as they don't fix securityMartin v. Löwis-4/+4
problems: 52448, 52468, 52472, 52475, 52646, 52797, 52802, 52863, 52999, 53001, 53101, 53371, 53373, 53383, 53384, 53736, 53812, 53921, 55578, 55580, 55581, 55772, 55775, 56557, 57093, 57094, 58630, 60114
2006-10-26[Bug #1579796] Wrong syntax for PyDateTime_IMPORT in documentation. ↵Andrew M. Kuchling-4/+4
Reported by David Faure.
2006-08-18Minor editsAndrew M. Kuchling-3/+3
2006-08-18Typo in tp_clear docs.Georg Brandl-1/+1
(backport from rev. 51368)
2006-08-18Bug #1541682: Fix example in the "Refcount details" API docs.Georg Brandl-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)
2006-08-11Fix typo.Georg Brandl-1/+1
2006-08-08Bug #1536828: typo: TypeType should have been StringType.Georg Brandl-1/+1
(backport from rev. 51151)
2006-06-07Clarify docs for bf_getcharbuffer.Brett Cannon-6/+10
2006-04-28fix markup glitch(backport from rev.45778)George Yoshida-1/+1
2006-04-06Bug #1464658: make clear that PyList_GetItem doesn't take negative indices.Georg Brandl-2/+3
(backport from rev. 43704)
2006-03-30- update the refcount information (late, but not a bad thing to do...)Fred Drake-0/+120
- clarify that PyGen_New() steals a reference
2006-03-23update - still some old .cvsignore files lying aroundAnthony Baxter-3/+0
2006-02-18Patch #1415507: clarify docs on reference stealingGeorg Brandl-3/+13
2005-11-24bug #1281408: make Py_BuildValue work with unsigned longs and long longsGeorg Brandl-2/+24
2005-10-12Backport: SF bug #1323739, C API doc for PySequence_Tuple duplicatedNeal Norwitz-9/+5
2005-10-10backport Py_UNICODE clarificationSkip Montanaro-6/+16
2005-09-28backport of bugfix [ 1306449 ] PyString_AsStringAndSize() return value ↵Georg Brandl-2/+2
documented wrong
2005-09-15fix typoGeorg Brandl-1/+1
2005-09-03- Correct PyBool_FromLong's return type and its description.Georg Brandl-226/+226
- Unify function description mode ("Return X" vs "Returns X") CVS: ---------------------------------------------------------------------- CVS: Enter Log. Lines beginning with `CVS:' are removed automatically CVS: CVS: Committing in . CVS: CVS: Modified Files: CVS: Doc/api/concrete.tex CVS: ----------------------------------------------------------------------
2005-07-17backport bug [ 1061920 ] "k" specifier in PyArg_ParseTuple incomplete ↵Georg Brandl-2/+2
documentated
2005-02-17Fix name from PyDate_FromDateAndTime to PyDateTime_FromDateAndTime.Brett Cannon-1/+1
Closes bug #1124278.
2005-02-13Update refences to "Macintosh" to reflect the state of affairs for OS X and notBrett Cannon-5/+4
Mac OS 9. Backport of patch #1095802.
2005-01-19Clean up discussion of new C thread idiomFred Drake-13/+11
(closes SF patch #1031233; modified)
2005-01-01SF Patch #1093896: miscellaneous doc typosRaymond Hettinger-2/+2
2004-12-10SF bug #1082944: Incorrect docs for PyUnicode_TailMatchRaymond Hettinger-1/+2
* Note correct return type is int. * Note that -1 returned on failure.
2004-11-22Correct the handling of 0-termination of PyUnicode_AsWideChar()Marc-André Lemburg-3/+7
and its usage in PyLocale_strcoll(). Clarify the documentation on this. Thanks to Andreas Degert for pointing this out.
2004-10-11SF patch 1044089: New C API function PyEval_ThreadsInitialized(), by NickTim Peters-4/+12
Coghlan, for determining whether PyEval_InitThreads() has been called. Also purged the undocumented+unused _PyThread_Started int.
2004-09-29Fix typo in PyDict_Items docNicholas Bastin-1/+1
2004-09-07SF patch #998993: The UTF-8 and the UTF-16 stateful decoders now supportWalter Dörwald-0/+25
decoding incomplete input (when the input stream is temporarily exhausted). codecs.StreamReader now implements buffering, which enables proper readline support for the UTF-16 decoders. codecs.StreamReader.read() has a new argument chars which specifies the number of characters to return. codecs.StreamReader.readline() and codecs.StreamReader.readlines() have a new argument keepends. Trailing "\n"s will be stripped from the lines if keepends is false. Added C APIs PyUnicode_DecodeUTF8Stateful and PyUnicode_DecodeUTF16Stateful.
2004-08-19Patch #900727: Add Py_InitializeEx to allow embedding without signals.Martin v. Löwis-0/+7
2004-08-10Spelling fixAndrew M. Kuchling-1/+1
2004-08-07[Patch #1003861 from Dima Dorfman] Fix markup in concrete.tex:Andrew M. Kuchling-10/+5
PyObject* o -> PyObject *o to be consistent with the rest of the file - Correct markup for Py_True - Remove duplicate description of PyBool_Check
2004-08-07Use LaTeX markupAndrew M. Kuchling-1/+1
2004-08-07[Bug #991883] Document calling conditionAndrew M. Kuchling-1/+2
2004-08-04SF #989185: Drop unicode.iswide() and unicode.width() and addHye-Shik Chang-9/+0
unicodedata.east_asian_width(). You can still implement your own simple width() function using it like this: def width(u): w = 0 for c in unicodedata.normalize('NFC', u): cwidth = unicodedata.east_asian_width(c) if cwidth in ('W', 'F'): w += 2 else: w += 1 return w
2004-08-03let's avoid the extra nesting where reasonableFred Drake-1/+1
2004-08-02Fix typo thoughNeal Norwitz-2/+2
2004-08-02Fix doubled word.Raymond Hettinger-1/+1
2004-08-02Typo repair.Tim Peters-1/+1
2004-08-02Completed a sentence I left dangling.Tim Peters-1/+2
2004-08-02PyImport_ImportModule, PyImport_ImportModuleEx, PyImport_ExecCodeModule:Tim Peters-10/+28
in failure cases, incompletely initalized module objects are no longer left behind in sys.modules.
2004-07-29Add missing doc for Py_True/Py_False. Use the correct macro to defineSkip Montanaro-6/+16
Py_RETURN_FALSE and Py_RETURN_TRUE.
2004-07-28A little boolean music if you please, maestro... (Not sure I have theSkip Montanaro-0/+34
versionadded{} args quite right).
2004-07-26Two typo fixesAndrew M. Kuchling-2/+2
2004-07-23Fix an uncorrect function prototype.Thomas Heller-1/+1
Will backport to release23-maint. BTW: Shouldn't it read PY_LONG_LONG instead of 'long long' ?
2004-07-17Supply missing word in new datetime docs, aggravated by copy-paste-edit.Tim Peters-3/+3
2004-07-15Formalize that the Py_VISIT macro requires that the tp_traverseTim Peters-5/+6
implementation it's used in must give its arguments specific names.
2004-07-14Documented the new Py_VISIT macro to simplify implementation ofJim Fulton-0/+23
tp_traverse handlers. (Tim made me do it. ;)
2004-07-14Implemented a new Py_CLEAR macro. This macro should be used whenJim Fulton-0/+16
decrementing the refcount of variables that might be accessed as a result of calling Python
2004-07-13Claifications: visit procs are supplied by the core, users aren'tTim Peters-3/+6
expected to write their own. A NULL "object" must not be passed to the visit callback. A non-zero return from a visit proc isn't necessarily an error return (and it doesn't matter to the tp_traverse code *what* it might signify, their only job is to return it).