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-26 05:32:41 +00:00
2007-08-17 12:57:41 +00:00
2007-08-16 14:35:24 +00:00
2007-08-26 07:21:45 +00:00
2007-08-27 02:10:06 +00:00
2007-08-19 22:48:23 +00:00
2007-08-26 03:55:15 +00:00
2006-12-28 04:47:50 +00:00
2007-08-06 20:59:28 +00:00
2007-08-23 18:31:24 +00:00
2007-08-26 02:54:31 +00:00
2007-08-26 04:57:08 +00:00
2007-08-24 23:26:23 +00:00
2007-08-25 17:20:32 +00:00
2007-08-17 12:57:41 +00:00
2007-08-24 02:51:04 +00:00
2007-08-25 08:01:41 +00:00
2007-08-25 08:01:41 +00:00
2007-08-17 12:57:41 +00:00
2007-08-24 23:26:23 +00:00