• Guido van Rossum's avatar
    Three patches from issue #1047, by Amaury Forgeot d'Arc: · fb67be2f
    Guido van Rossum yazdı
    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.
    fb67be2f
Adı
Son kayıt (commit)
Son güncelleme
..
VC6 Loading commit data...
bdist_wininst Loading commit data...
example_nt Loading commit data...
icons Loading commit data...
os2emx Loading commit data...
os2vacpp Loading commit data...
WinMain.c Loading commit data...
_msi.c Loading commit data...
_subprocess.c Loading commit data...
_winreg.c Loading commit data...
config.c Loading commit data...
dl_nt.c Loading commit data...
dllbase_nt.txt Loading commit data...
empty.c Loading commit data...
errmap.h Loading commit data...
errmap.mak Loading commit data...
frozen_dllmain.c Loading commit data...
generrmap.c Loading commit data...
getpathp.c Loading commit data...
icons.mak Loading commit data...
icons.rc Loading commit data...
import_nt.c Loading commit data...
make_versioninfo.c Loading commit data...
msvcrtmodule.c Loading commit data...
py.ico Loading commit data...
pyc.ico Loading commit data...
pycon.ico Loading commit data...
pyconfig.h Loading commit data...
python.mk Loading commit data...
python_exe.rc Loading commit data...
python_nt.rc Loading commit data...
readme.txt Loading commit data...
testpy.py Loading commit data...
w9xpopen.c Loading commit data...
winsound.c Loading commit data...