0
0
mirror of https://github.com/python/cpython.git synced 2024-11-30 10:41:14 +01:00
cpython/Python
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
..
asdl.c Merge p3yk branch with the trunk up to revision 45595. This breaks a fair 2006-04-21 10:40:58 +00:00
ast.c Implement PEP 3131. Add isidentifier to str. 2007-08-15 07:32:56 +00:00
atof.c
bltinmodule.c Added test to ensure __format__ methods return unicode objects. 2007-08-27 15:31:40 +00:00
ceval.c Use unicode 2007-08-26 05:33:45 +00:00
codecs.c Handle error 2007-08-11 04:58:26 +00:00
compile.c Ensure that code object names (co_name) are unicode. 2007-08-24 23:12:06 +00:00
dup2.c
dynload_aix.c Fix SF bug #1072182, problems with signed characters. 2005-12-19 06:05:18 +00:00
dynload_atheos.c
dynload_dl.c
dynload_hpux.c Much-needed merge (using svnmerge.py this time) of trunk changes into p3yk. 2006-05-27 19:21:47 +00:00
dynload_next.c
dynload_os2.c
dynload_shlib.c Fix a warning from gcc by adding a missed const qualifier. 2006-01-04 01:30:17 +00:00
dynload_stub.c
dynload_win.c Merged revisions 55631-55794 via svnmerge from 2007-06-06 23:52:48 +00:00
errors.c Add const to some strings that are not modified 2007-08-24 20:00:37 +00:00
formatter_unicode.c Implementation of PEP 3101, Advanced String Formatting. 2007-08-25 02:26:07 +00:00
frozen.c Update the frozen bytecode for __hello__. 2007-06-12 00:25:52 +00:00
frozenmain.c
future.c Use unicode 2007-08-25 07:41:59 +00:00
getargs.c Three patches from issue #1047, by Amaury Forgeot d'Arc: 2007-08-29 18:38:11 +00:00
getcompiler.c
getcopyright.c Merged revisions 53005-53303 via svnmerge from 2007-01-09 23:18:33 +00:00
getcwd.c Much-needed merge (using svnmerge.py this time) of trunk changes into p3yk. 2006-05-27 19:21:47 +00:00
getmtime.c Merge p3yk branch with the trunk up to revision 45595. This breaks a fair 2006-04-21 10:40:58 +00:00
getopt.c Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
getplatform.c
getversion.c
graminit.c Merged revisions 56154-56264 via svnmerge from 2007-07-11 13:09:30 +00:00
hypot.c
import.c Some changes in preparation of stricter rules about mixing str and bytes. 2007-08-27 15:02:28 +00:00
importdl.c
importdl.h
mactoolboxglue.c SF patch# 1761465 by Jeffrey Yasskin. 2007-07-27 04:41:00 +00:00
marshal.c Merged in py3k-buffer branch to main line. All objects now use the buffer protocol in PEP 3118. 2007-08-18 11:21:56 +00:00
memmove.c
modsupport.c PyErr_Warn is deprecated in 2.5 - goes away for 3.0 2007-08-12 11:44:53 +00:00
mysnprintf.c
mystrtoul.c Merged revisions 55817-55961 via svnmerge from 2007-06-13 18:07:49 +00:00
peephole.c Merged revisions 55817-55961 via svnmerge from 2007-06-13 18:07:49 +00:00
pyarena.c Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
pyfpe.c
pystate.c Make identifiers str (not str8) objects throughout. 2007-06-10 09:51:05 +00:00
pystrtod.c Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
Python-ast.c Regenerate 2007-08-26 02:06:15 +00:00
pythonrun.c Make some internal functions static 2007-08-27 06:19:22 +00:00
sigcheck.c
strdup.c
strerror.c
strtod.c Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
structmember.c PyErr_Warn is deprecated in 2.5 - goes away for 3.0 2007-08-12 11:44:53 +00:00
symtable.c Use unicode for error messages of duplicate args 2007-08-24 22:53:58 +00:00
sysmodule.c PEP 3101: Removed _formatter_xxx routines from sysmodule, and made them unicode methods instead (per GvR suggestion). 2007-08-27 11:28:18 +00:00
thread_atheos.h
thread_cthread.h
thread_foobar.h
thread_lwp.h
thread_nt.h Merged revisions 55325-55327 via svnmerge from 2007-05-14 22:51:27 +00:00
thread_os2.h Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
thread_pth.h
thread_pthread.h Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
thread_sgi.h
thread_solaris.h
thread_wince.h
thread.c Remove support for BeOS 2007-08-17 12:57:41 +00:00
traceback.c Bug #1772489: make dir() work on traceback objects again. 2007-08-14 17:53:54 +00:00