summaryrefslogtreecommitdiffstats
path: root/Doc/api/concrete.tex
Commit message (Collapse)AuthorAgeFilesLines
* Fix casing of function names.Georg Brandl2006-02-221-3/+3
|
* Bug #1013800: document PyFunction_* functionsGeorg Brandl2006-02-201-1/+75
|
* Clarify the docs for Py_UNICODE.Marc-André Lemburg2005-10-101-6/+16
|
* Part of SF patch #1313939: Speedup charmap decoding by extendingWalter Dörwald2005-10-061-1/+6
| | | | | | | PyUnicode_DecodeCharmap() the accept a unicode string as the mapping argument which is used as a mapping table. This code isn't used by any of the codecs yet.
* bug [ 1306449 ] PyString_AsStringAndSize() return value documented wrongGeorg Brandl2005-09-281-2/+2
|
* - Correct PyBool_FromLong's return type and its description.Georg Brandl2005-09-031-251/+251
| | | | - Unify function description mode ("Return X" vs "Returns X")
* Expand the API notes.Raymond Hettinger2005-08-171-4/+5
|
* Note that the PyNumber protocol can access most set methods directly.Raymond Hettinger2005-08-171-3/+10
|
* Numerous fix-ups to C API and docs. Added tests for C API.Raymond Hettinger2005-08-161-15/+21
|
* Add a C API for sets and frozensets.Raymond Hettinger2005-08-161-0/+125
|
* Fix grammar (it's -> its).Neil Schemenauer2005-06-181-1/+1
|
* Fix name for PyDateTime_FromDateAndTime.Brett Cannon2005-02-171-1/+1
| | | | Closes bug #1124278.
* 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.
* 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 #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
* 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
|
* 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).
* 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
|
* SF patch 986010: add missing doc for datetime C API, fromTim Peters2004-07-111-15/+85
| | | | | | | | | | Anthony Tuininga. This is a derived patch, taking the opportunity to add some organization to the now-large pile of datetime-related macros, and to factor out tedious repeated text. Also improved some clumsy wording in NEWS.
* 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.
* Drop claims that Unicode always means UCS-2. Fixes #881861.Martin v. Löwis2004-06-031-3/+4
|
* - 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
|
* SF bug: #921927: Fixed a typo/thinko spelling "parameter" as "paramter"Raymond Hettinger2004-03-251-2/+2
|
* Documentation for PyDescr_NewClassMethod was missing - here's at leastThomas Heller2004-02-091-0/+5
| | | | | | the function prototype. Already backported to release23-maint.
* 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
|
* 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
|
* 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-191-4/+4
|
* 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().
* Fix typo.Raymond Hettinger2003-08-231-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().
* Patch #701395: Correct documentation of PyUnicode_Splitlines.Martin v. Löwis2003-03-301-3/+4
|