[Python-Dev] What to do for bytes in 2.6?

Guido van Rossum guido at python.org
Fri Jan 18 15:56:26 CET 2008


On Jan 17, 2008 11:24 PM, Thomas Heller <theller at ctypes.org> wrote:
> Is the bytes type required for PEP3118 'Revising the buffer protocol'?

I don't think so. I would like to see this PEP backported (but keep
the old 'buffer' of course for b/w compatibility). Whenever this PEP
talks about bytes we can just use str/PyString in the backport.

> I just started to work on implementing this PEP for ctypes, in the
> hope that these changes can be merged into trunk.

Remember that the trunk ought to remain backwards compatible with 2.5
-- 2.6 should not break code that worked under 2.5, since we want as
many users as possible to feel comfortable with upgrading to 2.6.

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-Dev mailing list