summaryrefslogtreecommitdiffstats
path: root/Doc/api
Commit message (Collapse)AuthorAgeFilesLines
* Revert the following revisions, as they don't fix securityMartin v. Löwis2008-03-021-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
* [Bug #1579796] Wrong syntax for PyDateTime_IMPORT in documentation. ↵Andrew M. Kuchling2006-10-261-4/+4
| | | | Reported by David Faure.
* 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)
* Fix typo.Georg Brandl2006-08-111-1/+1
|
* Bug #1536828: typo: TypeType should have been StringType.Georg Brandl2006-08-081-1/+1
| | | | (backport from rev. 51151)
* Clarify docs for bf_getcharbuffer.Brett Cannon2006-06-071-6/+10
|
* fix markup glitch(backport from rev.45778)George Yoshida2006-04-281-1/+1
|
* Bug #1464658: make clear that PyList_GetItem doesn't take negative indices.Georg Brandl2006-04-061-2/+3
| | | | (backport from rev. 43704)
* - update the refcount information (late, but not a bad thing to do...)Fred Drake2006-03-302-0/+120
| | | | - clarify that PyGen_New() steals a reference
* update - still some old .cvsignore files lying aroundAnthony Baxter2006-03-231-3/+0
|
* Patch #1415507: clarify docs on reference stealingGeorg Brandl2006-02-181-3/+13
|
* bug #1281408: make Py_BuildValue work with unsigned longs and long longsGeorg Brandl2005-11-241-2/+24
|
* Backport: SF bug #1323739, C API doc for PySequence_Tuple duplicatedNeal Norwitz2005-10-121-9/+5
|
* backport Py_UNICODE clarificationSkip Montanaro2005-10-101-6/+16
|
* backport of bugfix [ 1306449 ] PyString_AsStringAndSize() return value ↵Georg Brandl2005-09-281-2/+2
| | | | documented wrong
* fix typoGeorg Brandl2005-09-151-1/+1
|
* - Correct PyBool_FromLong's return type and its description.Georg Brandl2005-09-031-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: ----------------------------------------------------------------------
* backport bug [ 1061920 ] "k" specifier in PyArg_ParseTuple incomplete ↵Georg Brandl2005-07-171-2/+2
| | | | documentated
* Fix name from PyDate_FromDateAndTime to PyDateTime_FromDateAndTime.Brett Cannon2005-02-171-1/+1
| | | | Closes bug #1124278.
* Update refences to "Macintosh" to reflect the state of affairs for OS X and notBrett Cannon2005-02-132-5/+4
| | | | | | Mac OS 9. Backport of patch #1095802.
* Clean up discussion of new C thread idiomFred Drake2005-01-191-13/+11
| | | | (closes SF patch #1031233; modified)
* SF Patch #1093896: miscellaneous doc typosRaymond Hettinger2005-01-012-2/+2
|
* SF bug #1082944: Incorrect docs for PyUnicode_TailMatchRaymond Hettinger2004-12-101-1/+2
| | | | | * Note correct return type is int. * Note that -1 returned on failure.
* Correct the handling of 0-termination of PyUnicode_AsWideChar()Marc-André Lemburg2004-11-221-3/+7
| | | | | | | | and its usage in PyLocale_strcoll(). Clarify the documentation on this. Thanks to Andreas Degert for pointing this out.
* SF patch 1044089: New C API function PyEval_ThreadsInitialized(), by NickTim Peters2004-10-111-4/+12
| | | | | Coghlan, for determining whether PyEval_InitThreads() has been called. Also purged the undocumented+unused _PyThread_Started int.
* Fix typo in PyDict_Items docNicholas Bastin2004-09-291-1/+1
|
* SF patch #998993: The UTF-8 and the UTF-16 stateful decoders now supportWalter Dörwald2004-09-071-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.
* Patch #900727: Add Py_InitializeEx to allow embedding without signals.Martin v. Löwis2004-08-191-0/+7
|
* Spelling fixAndrew M. Kuchling2004-08-101-1/+1
|
* [Patch #1003861 from Dima Dorfman] Fix markup in concrete.tex:Andrew M. Kuchling2004-08-071-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
* Use LaTeX markupAndrew M. Kuchling2004-08-071-1/+1
|
* [Bug #991883] Document calling conditionAndrew M. Kuchling2004-08-071-1/+2
|
* SF #989185: Drop unicode.iswide() and unicode.width() and addHye-Shik Chang2004-08-041-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
* let's avoid the extra nesting where reasonableFred Drake2004-08-031-1/+1
|
* Fix typo thoughNeal Norwitz2004-08-021-2/+2
|
* Fix doubled word.Raymond Hettinger2004-08-021-1/+1
|
* Typo repair.Tim Peters2004-08-021-1/+1
|
* Completed a sentence I left dangling.Tim Peters2004-08-021-1/+2
|
* PyImport_ImportModule, PyImport_ImportModuleEx, PyImport_ExecCodeModule:Tim Peters2004-08-021-10/+28
| | | | | in failure cases, incompletely initalized module objects are no longer left behind in sys.modules.
* Add missing doc for Py_True/Py_False. Use the correct macro to defineSkip Montanaro2004-07-291-6/+16
| | | | Py_RETURN_FALSE and Py_RETURN_TRUE.
* A little boolean music if you please, maestro... (Not sure I have theSkip Montanaro2004-07-281-0/+34
| | | | versionadded{} args quite right).
* Two typo fixesAndrew M. Kuchling2004-07-261-2/+2
|
* Fix an uncorrect function prototype.Thomas Heller2004-07-231-1/+1
| | | | | | Will backport to release23-maint. BTW: Shouldn't it read PY_LONG_LONG instead of 'long long' ?
* Supply missing word in new datetime docs, aggravated by copy-paste-edit.Tim Peters2004-07-171-3/+3
|
* Formalize that the Py_VISIT macro requires that the tp_traverseTim Peters2004-07-151-5/+6
| | | | implementation it's used in must give its arguments specific names.
* Documented the new Py_VISIT macro to simplify implementation ofJim Fulton2004-07-141-0/+23
| | | | tp_traverse handlers. (Tim made me do it. ;)
* Implemented a new Py_CLEAR macro. This macro should be used whenJim Fulton2004-07-141-0/+16
| | | | | decrementing the refcount of variables that might be accessed as a result of calling Python
* Claifications: visit procs are supplied by the core, users aren'tTim Peters2004-07-131-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).