0
0
mirror of https://github.com/python/cpython.git synced 2024-12-01 11:15:56 +01:00
cpython/Modules
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
..
_ctypes
_sqlite
cjkcodecs
expat
zlib
_bisectmodule.c
_bsddb.c
_codecsmodule.c
_collectionsmodule.c
_csv.c
_curses_panel.c
_cursesmodule.c
_elementtree.c
_fileio.c
_functoolsmodule.c
_hashopenssl.c
_heapqmodule.c
_hotshot.c
_localemodule.c
_lsprof.c
_randommodule.c
_sre.c
_ssl.c
_struct.c
_testcapimodule.c Three patches from issue #1047, by Amaury Forgeot d'Arc: 2007-08-29 18:38:11 +00:00
_tkinter.c
_typesmodule.c
_weakref.c
addrinfo.h
ar_beos
arraymodule.c
atexitmodule.c
audioop.c
binascii.c
bz2module.c
cmathmodule.c
config.c.in
cryptmodule.c
cStringIO.c
datetimemodule.c
dbmmodule.c
dlmodule.c
errnomodule.c
fcntlmodule.c
fpectlmodule.c
fpetestmodule.c
gc_weakref.txt
gcmodule.c
gdbmmodule.c
getaddrinfo.c
getbuildinfo.c
getnameinfo.c
getpath.c
grpmodule.c
itertoolsmodule.c
ld_so_aix
ld_so_beos
main.c
makesetup
makexp_aix
mathmodule.c
mmapmodule.c
nismodule.c
operator.c
ossaudiodev.c
parsermodule.c
posixmodule.c
pwdmodule.c
pyexpat.c
python.c
readline.c
resource.c
rotatingtree.c
rotatingtree.h
selectmodule.c
Setup.config.in
Setup.dist
sha256module.c
sha512module.c
signalmodule.c
socketmodule.c
socketmodule.h
spwdmodule.c
sre_constants.h
sre.h
symtablemodule.c
syslogmodule.c
termios.c
testcapi_long.h
threadmodule.c
timemodule.c
tkappinit.c
unicodedata_db.h
unicodedata.c
unicodename_db.h
xxmodule.c
xxsubtype.c
yuv.h
yuvconvert.c
zipimport.c
zlibmodule.c