]> granicus.if.org Git - python/commit
Backport of several functions from Python 3.0 to 2.6 including PyUnicode_FromString...
authorChristian Heimes <christian@cheimes.de>
Fri, 25 Jan 2008 12:18:43 +0000 (12:18 +0000)
committerChristian Heimes <christian@cheimes.de>
Fri, 25 Jan 2008 12:18:43 +0000 (12:18 +0000)
commit7f39c9fcbba0cc59293d80a7bbcbb8bca62790ee
tree45d87f47f89cb721ce974534de75b3d42079d793
parent5f95a79b2bf395d114cac2bb74edb6c327ea0a34
Backport of several functions from Python 3.0 to 2.6 including PyUnicode_FromString, PyUnicode_Format and PyLong_From/AsSsize_t. The functions are partly required for the backport of the bytearray type and _fileio module. They should also make it easier to port C to 3.0.
First chapter of the Python 3.0 io framework back port: _fileio
The next step depends on a working bytearray type which itself depends on a backport of the nwe buffer API.
Include/longintrepr.h
Include/longobject.h
Include/unicodeobject.h
Misc/NEWS
Modules/_fileio.c [new file with mode: 0644]
Objects/longobject.c
Objects/unicodeobject.c
setup.py