cpython/Doc/c-api
Guido van Rossum fb67be2f6b Three patches from issue #1047, by Amaury Forgeot d'Arc:
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.
2007-08-29 18:38:11 +00:00
..
abstract.rst Move the 3k reST doc tree in place. 2007-08-15 14:28:22 +00:00
concrete.rst Kill lingering docs references to UnicodeType. 2007-08-28 06:09:47 +00:00
exceptions.rst Move the 3k reST doc tree in place. 2007-08-15 14:28:22 +00:00
index.rst Move the 3k reST doc tree in place. 2007-08-15 14:28:22 +00:00
init.rst Move the 3k reST doc tree in place. 2007-08-15 14:28:22 +00:00
intro.rst Move the 3k reST doc tree in place. 2007-08-15 14:28:22 +00:00
memory.rst Move the 3k reST doc tree in place. 2007-08-15 14:28:22 +00:00
newtypes.rst Remove _PyObject_Del 2007-08-19 22:48:23 +00:00
refcounting.rst Move the 3k reST doc tree in place. 2007-08-15 14:28:22 +00:00
utilities.rst Three patches from issue #1047, by Amaury Forgeot d'Arc: 2007-08-29 18:38:11 +00:00
veryhigh.rst Move the 3k reST doc tree in place. 2007-08-15 14:28:22 +00:00