[Python-3000] bytes C API in 2.6 for easy transition to 3.0? (original) (raw)
Guido van Rossum guido at python.org
Wed Sep 5 17:08:02 CEST 2007
- Previous message: [Python-3000] bytes C API in 2.6 for easy transition to 3.0?
- Next message: [Python-3000] Solaris support in 3.0?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 9/4/07, Gregory P. Smith <greg at krypto.org> wrote:
On 9/4/07, Bill Janssen <janssen at parc.com> wrote: > According to PEP 358, "bytes" will be in both 2.6 and 3.0. It would > be nice if the C API for "bytes" existed in the trunk, so that it > could be used for new code that will port more easily to 3.0 . I assume this includes the new buffer api since we really seem to want C API users to use that rather than bytes objects directly?
Well, in a pinch the old buffer API would work (the 3.0 bytes object used that until recently :-) but Travis told me he is planning to backport PEP 3118 to 2.6, so eventually that will happen, yes.
-- --Guido van Rossum (home page: http://www.python.org/~guido/)
- Previous message: [Python-3000] bytes C API in 2.6 for easy transition to 3.0?
- Next message: [Python-3000] Solaris support in 3.0?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]