Issue 1919: Backport of io.py (original) (raw)

This issue has been migrated to GitHub: https://github.com/python/cpython/issues/46214

classification

Title: Backport of io.py
Type: enhancement Stage:
Components: Interpreter Core, Library (Lib) Versions: Python 2.6

process

Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: christian.heimes, georg.brandl, gvanrossum, theller
Priority: normal Keywords:

Created on 2008-01-24 11:41 by christian.heimes, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
trunk_io.patch christian.heimes,2008-01-24 11:41
Messages (4)
msg61626 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) Date: 2008-01-24 11:41
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
msg61630 - (view) Author: Thomas Heller (theller) * (Python committer) Date: 2008-01-24 13:33
> * backport bytearray and the new buffer interface from 3.0 backport of the new buffer interface is required for PEP 3118 which is marked accepted: " It is intended that this PEP will be back-ported to Python 2.6 by adding the C-API and the two functions to the existing buffer protocol. "
msg61646 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2008-01-24 18:11
Backporting bytearray should be relatively clean since it's a brand new type right?
msg64663 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2008-03-29 01:21
The bytearray branch has been merged.
History
Date User Action Args
2022-04-11 14:56:30 admin set github: 46214
2008-03-29 01:21:35 georg.brandl set status: open -> closednosy: + georg.brandlresolution: fixedmessages: +
2008-01-24 18:11:01 gvanrossum set nosy: + gvanrossummessages: +
2008-01-24 13:33:19 theller set nosy: + thellermessages: +
2008-01-24 11:41:39 christian.heimes create