New submission from Christian Heimes: I've started on a back port of Python 3.0's io.py to Python 2.6. First results are promising.
cd trunk svn cp ../py3k/Include/bytes_methods.h Include/ svn cp ../py3k/Objects/bytes_methods.c Objects/ svn cp ../py3k/Lib/io.py Lib/ svn cp ../py3k/Lib/test/test_io.py Lib/test/ svn cp ../py3k/Modules/_fileio.c Modules/ patch -p0 < trunk_io.patch I'm not sure how to proceed with the missing bytearray type: * backport bytearray and the new buffer interface from 3.0 * write a replacement for 2.6 * replace the bytearray code with new code ---------- components: Interpreter Core, Library (Lib) files: trunk_io.patch messages: 61626 nosy: tiran priority: normal severity: normal status: open title: Backport of io.py type: rfe versions: Python 2.6 Added file: http://bugs.python.org/file9277/trunk_io.patch __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1919> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com