Author amaury.forgeotdarc
Recipients amaury.forgeotdarc
Date 2007-08-28.22:33:09
SpamBayes Score 0.401513
Marked as misclassified No
Message-id <1188340389.55.0.548105159725.issue1047@psf.upfronthosting.co.za>
In-reply-to
Content
I join three patches for py3k on Windows:

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)
Files
File name Uploaded
getargs.diff amaury.forgeotdarc, 2007-08-28.22:33:09
History
Date User Action Args
2007-08-28 22:33:09amaury.forgeotdarcsetspambayes_score: 0.401513 -> 0.401513
recipients: + amaury.forgeotdarc
2007-08-28 22:33:09amaury.forgeotdarcsetspambayes_score: 0.401513 -> 0.401513
messageid: <1188340389.55.0.548105159725.issue1047@psf.upfronthosting.co.za>
2007-08-28 22:33:09amaury.forgeotdarclinkissue1047 messages
2007-08-28 22:33:09amaury.forgeotdarccreate