Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Bug #1629125: fix wrong data type (int -> Py_ssize_t) in PyDict_Next docs. | Georg Brandl | 2007-01-17 | 1 | -2/+2 |
| | | | | (backport from rev. 53477) | ||||
* | [Bug #1579796] Wrong syntax for PyDateTime_IMPORT in documentation. ↵ | Andrew M. Kuchling | 2006-10-26 | 1 | -4/+4 |
| | | | | Reported by David Faure. | ||||
* | Bug #1546052: clarify that PyString_FromString(AndSize) copies the | Georg Brandl | 2006-09-30 | 1 | -5/+5 |
| | | | | | string pointed to by its parameter. (backport from rev. 52078) | ||||
* | Minor edits | Andrew M. Kuchling | 2006-08-18 | 1 | -2/+2 |
| | |||||
* | Bug #1541682: Fix example in the "Refcount details" API docs. | Georg Brandl | 2006-08-18 | 1 | -0/+5 |
| | | | | | | 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 Brandl | 2006-08-14 | 1 | -19/+14 |
| | |||||
* | Slightly revised version of patch #1538956: | Marc-André Lemburg | 2006-08-14 | 1 | -0/+25 |
| | | | | | | | | | | 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. | ||||
* | ``str`` is now the same object as ``types.StringType``. | Georg Brandl | 2006-08-08 | 1 | -17/+24 |
| | |||||
* | Bug #1536828: typo: TypeType should have been StringType. | Georg Brandl | 2006-08-08 | 1 | -1/+1 |
| | |||||
* | Document the correct return type of PyLong_AsUnsignedLongLongMask. | Thomas Heller | 2006-07-06 | 1 | -1/+1 |
| | |||||
* | Bug #805015: doc error in PyUnicode_FromEncodedObject. | Georg Brandl | 2006-06-14 | 1 | -15/+8 |
| | |||||
* | Patch #1455898: Incremental mode for "mbcs" codec. | Martin v. Löwis | 2006-06-14 | 1 | -0/+12 |
| | |||||
* | Patch 1494554: Update numeric properties to Unicode 4.1. | Martin v. Löwis | 2006-05-27 | 1 | -1/+1 |
| | |||||
* | Typo repair. | Tim Peters | 2006-05-13 | 1 | -1/+1 |
| | |||||
* | Teach PyString_FromFormat, PyErr_Format, and PyString_FromFormatV | Tim Peters | 2006-05-13 | 1 | -12/+28 |
| | | | | | | | | | | | | 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). | ||||
* | fix markup glitch | George Yoshida | 2006-04-28 | 1 | -1/+1 |
| | |||||
* | Patch #837242: id() for large ptr should return a long. | Martin v. Löwis | 2006-04-10 | 1 | -1/+5 |
| | |||||
* | Bug #1464658: make clear that PyList_GetItem doesn't take negative indices. | Georg Brandl | 2006-04-06 | 1 | -2/+3 |
| | |||||
* | Fix typos. | Walter Dörwald | 2006-03-31 | 1 | -2/+2 |
| | |||||
* | SF patch #1458476 with modifications based on discussions in python-dev. This | Barry Warsaw | 2006-03-30 | 1 | -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. | ||||
* | merge revision 43437 from the release24-maint branch: | Fred Drake | 2006-03-30 | 1 | -0/+1 |
| | | | | | - update the refcount information (late, but not a bad thing to do...) - clarify that PyGen_New() steals a reference | ||||
* | Document change made to number of preallocated integers. | Georg Brandl | 2006-03-27 | 1 | -1/+1 |
| | |||||
* | Show an example of calling a named set method. | Raymond Hettinger | 2006-03-20 | 1 | -2/+2 |
| | |||||
* | Document new Py_ssize_t API. | Martin v. Löwis | 2006-03-01 | 1 | -1/+19 |
| | |||||
* | Make documentation match the implementation. | Martin v. Löwis | 2006-03-01 | 1 | -99/+99 |
| | |||||
* | Fix casing of function names. | Georg Brandl | 2006-02-22 | 1 | -3/+3 |
| | |||||
* | Bug #1013800: document PyFunction_* functions | Georg Brandl | 2006-02-20 | 1 | -1/+75 |
| | |||||
* | Clarify the docs for Py_UNICODE. | Marc-André Lemburg | 2005-10-10 | 1 | -6/+16 |
| | |||||
* | Part of SF patch #1313939: Speedup charmap decoding by extending | Walter Dörwald | 2005-10-06 | 1 | -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 wrong | Georg Brandl | 2005-09-28 | 1 | -2/+2 |
| | |||||
* | - Correct PyBool_FromLong's return type and its description. | Georg Brandl | 2005-09-03 | 1 | -251/+251 |
| | | | | - Unify function description mode ("Return X" vs "Returns X") | ||||
* | Expand the API notes. | Raymond Hettinger | 2005-08-17 | 1 | -4/+5 |
| | |||||
* | Note that the PyNumber protocol can access most set methods directly. | Raymond Hettinger | 2005-08-17 | 1 | -3/+10 |
| | |||||
* | Numerous fix-ups to C API and docs. Added tests for C API. | Raymond Hettinger | 2005-08-16 | 1 | -15/+21 |
| | |||||
* | Add a C API for sets and frozensets. | Raymond Hettinger | 2005-08-16 | 1 | -0/+125 |
| | |||||
* | Fix grammar (it's -> its). | Neil Schemenauer | 2005-06-18 | 1 | -1/+1 |
| | |||||
* | Fix name for PyDateTime_FromDateAndTime. | Brett Cannon | 2005-02-17 | 1 | -1/+1 |
| | | | | Closes bug #1124278. | ||||
* | SF bug #1082944: Incorrect docs for PyUnicode_TailMatch | Raymond Hettinger | 2004-12-10 | 1 | -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é Lemburg | 2004-11-22 | 1 | -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 doc | Nicholas Bastin | 2004-09-29 | 1 | -1/+1 |
| | |||||
* | SF patch #998993: The UTF-8 and the UTF-16 stateful decoders now support | Walter Dörwald | 2004-09-07 | 1 | -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. Kuchling | 2004-08-07 | 1 | -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 add | Hye-Shik Chang | 2004-08-04 | 1 | -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 reasonable | Fred Drake | 2004-08-03 | 1 | -1/+1 |
| | |||||
* | Fix typo though | Neal Norwitz | 2004-08-02 | 1 | -2/+2 |
| | |||||
* | Fix doubled word. | Raymond Hettinger | 2004-08-02 | 1 | -1/+1 |
| | |||||
* | Add missing doc for Py_True/Py_False. Use the correct macro to define | Skip Montanaro | 2004-07-29 | 1 | -6/+16 |
| | | | | Py_RETURN_FALSE and Py_RETURN_TRUE. | ||||
* | A little boolean music if you please, maestro... (Not sure I have the | Skip Montanaro | 2004-07-28 | 1 | -0/+34 |
| | | | | versionadded{} args quite right). | ||||
* | Fix an uncorrect function prototype. | Thomas Heller | 2004-07-23 | 1 | -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 Peters | 2004-07-17 | 1 | -3/+3 |
| |