summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
Commit message (Collapse)AuthorAgeFilesLines
* Get rid of METH_OLDARGS.Georg Brandl2007-09-011-10/+0
|
* Remove versionadded and versionchanged directives, fold information into ↵Georg Brandl2007-09-017-442/+41
| | | | text where necessary.
* Address a few XXX comments, other fixes.Georg Brandl2007-08-311-5/+2
|
* - document bytes()Georg Brandl2007-08-312-71/+1
| | | | | | | - throw out many mentions of "old-style/new-style" - add memoryview() though I somebody has to fill in the details - throw out str.decode() - throw out classobj and instanceobj
* Three patches from issue #1047, by Amaury Forgeot d'Arc:Guido van Rossum2007-08-291-0/+7
| | | | | | | | | | | | | | | | | | | 1/ getargs.diff adds the 'Z' and 'Z#' format specifiers for PyArg_ParseTuple. They mimic z and z# for unicode strings, by accepting a Unicode or None (in which case the Py_UNICODE* pointer is set to NULL). With doc and tests. 2/ subprocess.diff converts file PC/_subprocess.c to unicode. We use the Unicode version of the win32 api (and Z conversion from previous patch) 3/ stdout.diff: sys.stdout must not convert the line endings, Windows already does it. Without this patch, when redirecting the output of python, the file contains \r\r\n for each line. (test_subprocess did catch this) However, I (GvR) removed the change to _fileio.c (included in the patches) that prevents closing file descripors < 3 from being closed; I think that needs to be solved in a different way.
* Kill lingering docs references to UnicodeType.Collin Winter2007-08-281-1/+1
|
* Remove _PyObject_DelNeal Norwitz2007-08-191-4/+1
|
* Fix stupid typo in Lib/encodings/utf_32.py which led to failing testsWalter Dörwald2007-08-171-2/+7
| | | | | | on big endian machines. Update documentation: UTF-32 codecs will be in 2.6.
* Apply SF patch #1775604: This adds three new codecs (utf-32, utf-32-le andWalter Dörwald2007-08-161-0/+68
| | | | | | | | | ut-32-be). On narrow builds the codecs combine surrogate pairs in the unicode object into one codepoint on encoding and create surrogate pairs for codepoints outside the BMP on decoding. Lone surrogates are passed through unchanged in all cases. Backport to the trunk will follow.
* Complete truncated sentence.Walter Dörwald2007-08-161-1/+1
|
* Move the 3k reST doc tree in place.Georg Brandl2007-08-1511-0/+10116