0
0
mirror of https://github.com/python/cpython.git synced 2024-11-30 10:41:14 +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 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
_sqlite Straggler (forgot to save this earlier). 2007-08-29 14:26:02 +00:00
cjkcodecs Fix a couple of warnings 2007-08-26 05:32:41 +00:00
expat Remove support for BeOS 2007-08-17 12:57:41 +00:00
zlib Remove RISCOS support 2007-08-16 14:35:24 +00:00
_bisectmodule.c
_bsddb.c Change to use the new buffer API instead of bytes objects for both keys and 2007-08-28 08:23:15 +00:00
_codecsmodule.c Apply SF patch #1775604: This adds three new codecs (utf-32, utf-32-le and 2007-08-16 21:55:45 +00:00
_collectionsmodule.c Kill remaining tp_print definitions. 2007-08-07 19:58:47 +00:00
_csv.c Fix the last remaining test_csv failure. 2007-08-07 23:59:30 +00:00
_curses_panel.c Convert a bunch of constant strings in C to unicode. 2007-08-23 21:42:55 +00:00
_cursesmodule.c Return unicode for a key name from a wide character 2007-08-24 00:06:36 +00:00
_elementtree.c SF patch # 1769767, get test_xml_etree_c working. More conversions are probably needed. 2007-08-08 06:56:02 +00:00
_fileio.c Remove a bogus comment based on the code above. 2007-08-16 05:18:31 +00:00
_functoolsmodule.c Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
_hashopenssl.c Refuse to compute digests from PyUnicode (str) instances. 2007-08-29 14:21:45 +00:00
_heapqmodule.c Use UTF-8 for a docstring that contains non-ASCII chars. 2007-08-23 23:58:43 +00:00
_hotshot.c Merged revisions 56492-56752 via svnmerge from 2007-08-05 15:29:28 +00:00
_localemodule.c Use unicode 2007-08-26 07:21:45 +00:00
_lsprof.c Fix warning 2007-08-27 02:10:06 +00:00
_randommodule.c Remove _PyObject_Del 2007-08-19 22:48:23 +00:00
_sre.c Use unicode 2007-08-26 03:55:15 +00:00
_ssl.c Merge the trunk changes in. Breaks socket.ssl for now. 2007-08-28 21:37:11 +00:00
_struct.c Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
_testcapimodule.c Three patches from issue #1047, by Amaury Forgeot d'Arc: 2007-08-29 18:38:11 +00:00
_tkinter.c Tkinter binding involving Control-spacebar raises unicode error 2007-08-27 01:55:21 +00:00
_typesmodule.c Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
_weakref.c Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
addrinfo.h Cruft removal: 2006-12-28 04:47:50 +00:00
ar_beos
arraymodule.c Merge the trunk changes in. Breaks socket.ssl for now. 2007-08-28 21:37:11 +00:00
atexitmodule.c missing docstrings 2007-08-06 20:59:28 +00:00
audioop.c Make audioop and its tests use bytes throughout. 2007-07-20 07:36:26 +00:00
binascii.c Remove unused variable. 2007-08-23 18:31:24 +00:00
bz2module.c Convert a bunch of constant strings in C to unicode. 2007-08-23 21:42:55 +00:00
cmathmodule.c
config.c.in Somehow this contained a bogus reference to "exceptions" which caused 2007-04-07 03:14:46 +00:00
cryptmodule.c Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
cStringIO.c Merged revisions 56782-56847 via svnmerge from 2007-08-09 14:26:58 +00:00
datetimemodule.c Use the correct type for variables corresponding to 'u' formats. 2007-08-29 17:28:42 +00:00
dbmmodule.c The dbm module should use bytes for keys. This makes test_shelve pass. 2007-08-14 15:42:45 +00:00
dlmodule.c Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
errnomodule.c Use unicode for the errno.errorcode names 2007-08-24 00:10:00 +00:00
fcntlmodule.c Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
fpectlmodule.c Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
fpetestmodule.c
gc_weakref.txt
gcmodule.c Convert a bunch of constant strings in C to unicode. 2007-08-23 21:42:55 +00:00
gdbmmodule.c Change module to produce and consume bytes. 2007-08-11 19:28:53 +00:00
getaddrinfo.c SF patch #1670209, Remove Py_PROTO from socket by Pete Shinners. 2007-02-27 19:06:23 +00:00
getbuildinfo.c Merged revisions 55817-55961 via svnmerge from 2007-06-13 18:07:49 +00:00
getnameinfo.c SF patch #1670209, Remove Py_PROTO from socket by Pete Shinners. 2007-02-27 19:06:23 +00:00
getpath.c Merged revisions 53952-54987 via svnmerge from 2007-04-27 19:54:29 +00:00
grpmodule.c Use unicode 2007-08-26 02:54:31 +00:00
itertoolsmodule.c Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
ld_so_aix
ld_so_beos
main.c Merge the trunk changes in. Breaks socket.ssl for now. 2007-08-28 21:37:11 +00:00
makesetup
makexp_aix
mathmodule.c Fix math.ceil() and math.floor() to fall back to __ceil__ and __floor__ 2007-08-23 22:56:55 +00:00
mmapmodule.c Merge the trunk changes in. Breaks socket.ssl for now. 2007-08-28 21:37:11 +00:00
nismodule.c Use unicode (hope it's right, I can't test it) 2007-08-26 21:43:00 +00:00
operator.c Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
ossaudiodev.c Use unicode 2007-08-26 04:57:08 +00:00
parsermodule.c Use unicode and remove support for some uses of str8. 2007-08-26 04:51:28 +00:00
posixmodule.c posix.confname(): enforce that names as str instances. 2007-08-27 23:24:46 +00:00
pwdmodule.c Use unicode for password modules 2007-08-24 23:26:23 +00:00
pyexpat.c Use unicode 2007-08-25 17:20:32 +00:00
python.c
readline.c Merged revisions 53952-54987 via svnmerge from 2007-04-27 19:54:29 +00:00
resource.c Four months of trunk changes (including a few releases...) 2006-12-13 04:49:30 +00:00
rotatingtree.c
rotatingtree.h Much-needed merge (using svnmerge.py this time) of trunk changes into p3yk. 2006-05-27 19:21:47 +00:00
selectmodule.c Remove support for BeOS 2007-08-17 12:57:41 +00:00
Setup.config.in
Setup.dist cPickle was removed 2007-08-24 02:51:04 +00:00
sha256module.c Use unicode 2007-08-25 08:01:41 +00:00
sha512module.c Use unicode 2007-08-25 08:01:41 +00:00
signalmodule.c
socketmodule.c More changes needed to make things work once bytes and str are truly divorced. 2007-08-27 23:09:25 +00:00
socketmodule.h Remove support for BeOS 2007-08-17 12:57:41 +00:00
spwdmodule.c Use unicode for password modules 2007-08-24 23:26:23 +00:00
sre_constants.h
sre.h Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
symtablemodule.c Hide list comp variables and support set comprehensions 2007-04-15 12:05:43 +00:00
syslogmodule.c Whoops, not sure how I screwed up the name. Now builds and passes the test. 2007-08-25 00:29:58 +00:00
termios.c
testcapi_long.h
threadmodule.c Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
timemodule.c Reorder code and decls so it's compilable with gcc 2.96 (C89). 2007-08-25 03:14:09 +00:00
tkappinit.c
unicodedata_db.h
unicodedata.c Merged revisions 56753-56781 via svnmerge from 2007-08-06 23:33:07 +00:00
unicodename_db.h
xxmodule.c Use unicode for reference (is there any way to build this module) 2007-08-24 22:49:25 +00:00
xxsubtype.c Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
yuv.h
yuvconvert.c
zipimport.c Use unicode (and bytes as appropriate) 2007-08-26 05:08:21 +00:00
zlibmodule.c Convert a bunch of constant strings in C to unicode. 2007-08-23 21:42:55 +00:00