diff options
author | Christian Heimes <christian@cheimes.de> | 2008-01-25 12:18:43 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2008-01-25 12:18:43 (GMT) |
commit | 7f39c9fcbba0cc59293d80a7bbcbb8bca62790ee (patch) | |
tree | 45d87f47f89cb721ce974534de75b3d42079d793 /Misc | |
parent | 5f95a79b2bf395d114cac2bb74edb6c327ea0a34 (diff) | |
download | cpython-7f39c9fcbba0cc59293d80a7bbcbb8bca62790ee.zip cpython-7f39c9fcbba0cc59293d80a7bbcbb8bca62790ee.tar.gz cpython-7f39c9fcbba0cc59293d80a7bbcbb8bca62790ee.tar.bz2 |
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.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -1,4 +1,4 @@ -+++++++++++ ++++++++++++ Python News +++++++++++ @@ -12,6 +12,10 @@ What's New in Python 2.6 alpha 1? Core and builtins ----------------- +- Backport of PyUnicode_FromString(), _FromStringAndSize(), _Format and + _FormatV from Python 3.0. Made PyLong_AsSsize_t and PyLong_FromSsize_t + public functions. + - Issue #1920: "while 0" statements were completely removed by the compiler, even in the presence of an "else" clause, which is supposed to be run when the condition is false. Now the compiler correctly emits bytecode for the @@ -1102,6 +1106,8 @@ Library Extension Modules ----------------- +- Backport of _fileio module from Python 3.0. + - #1087741: mmap.mmap is now a class, not a factory function. It is also subclassable now. |