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
..
2007-08-29 05:52:49 +00:00
2007-08-22 21:45:02 +00:00
2007-08-28 06:07:49 +00:00
2007-08-28 03:32:38 +00:00
2007-06-07 22:37:45 +00:00
2007-07-20 00:30:38 +00:00
2007-08-16 14:35:24 +00:00
2007-08-24 23:17:28 +00:00
2007-08-12 00:43:29 +00:00
2007-08-27 23:18:54 +00:00
2007-08-27 23:18:54 +00:00
2007-08-16 14:35:24 +00:00
2007-07-23 00:24:10 +00:00
2007-08-12 00:43:29 +00:00
2007-05-27 09:19:04 +00:00
2007-08-27 23:58:21 +00:00
2007-08-28 03:29:45 +00:00
2007-08-12 00:43:29 +00:00
2007-08-12 00:43:29 +00:00
2007-08-16 14:35:24 +00:00
2007-07-26 03:19:46 +00:00
2007-08-27 22:31:36 +00:00