This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: Backport of
Type: enhancement Stage:
Components: Interpreter Core, Library (Lib) Versions: Python 2.6
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.

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 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/ Lib/
svn cp ../py3k/Lib/test/ 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.
Date User Action Args
2022-04-11 14:56:30adminsetgithub: 46214
2008-03-29 01:21:35georg.brandlsetstatus: open -> closed
nosy: + georg.brandl
resolution: fixed
messages: + msg64663
2008-01-24 18:11:01gvanrossumsetnosy: + gvanrossum
messages: + msg61646
2008-01-24 13:33:19thellersetnosy: + theller
messages: + msg61630
2008-01-24 11:41:39christian.heimescreate