[New-bugs-announce] [issue1919] Backport of io.py

Christian Heimes report at bugs.python.org
Thu Jan 24 12:41:41 CET 2008


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 <report at bugs.python.org>
<http://bugs.python.org/issue1919>
__________________________________


More information about the New-bugs-announce mailing list