[New-bugs-announce] [issue1261] PEP 3137: make bytesobject.c methods use PEP 3118 buffer API

Gregory P. Smith report at bugs.python.org
Thu Oct 11 10:45:44 CEST 2007


New submission from Gregory P. Smith:

This makes all existing bytesobject.c methods use the buffer API rather
than explicitly requiring bytes objects as input.  It also fixes input
to append() and remove() that was not strict enough and improves a few
unit tests in that area.

NOTE: this patch likely depends on http://bugs.python.org/issue1260
removing the buffer API from the unicode type in order for all unit
tests to pass (i only tested it with that applied since thats where
we're headed).

----------
files: bytes-methods-use-buffer-api-01.diff.txt
keywords: patch, py3k
messages: 56341
nosy: gregory.p.smith
severity: normal
status: open
title: PEP 3137: make bytesobject.c methods use PEP 3118 buffer API
versions: Python 3.0

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1261>
__________________________________
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bytes-methods-use-buffer-api-01.diff.txt
Url: http://mail.python.org/pipermail/new-bugs-announce/attachments/20071011/6feed221/attachment.txt 


More information about the New-bugs-announce mailing list