[New-bugs-announce] [issue1260] PEP 3137: Remove the buffer API from PyUnicode

Alexandre Vassalotti report at bugs.python.org
Thu Oct 11 05:00:27 CEST 2007

New submission from Alexandre Vassalotti:

This patch removes the buffer API from PyUnicode, as specified by PEP
3137. All the unit tests passes. However, I believe there is a few
function calls to PyArg API that could become problematic if they are
given a PyUnicode object:

  % egrep -R --include='*.c' 'PyArg.*Parse.*"[^;:]*[cwt].*"' py3k/

I haven't checked these function calls yet. So, it would probably be a
good idea to wait I do so before committing this patch.

files: unicode_rm_buf_api.patch
messages: 56336
nosy: alexandre.vassalotti
severity: normal
status: open
title: PEP 3137: Remove the buffer API from PyUnicode
versions: Python 3.0

Tracker <report at bugs.python.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: unicode_rm_buf_api.patch
Type: text/x-diff
Size: 1890 bytes
Desc: not available
Url : http://mail.python.org/pipermail/new-bugs-announce/attachments/20071011/2fd04a35/attachment.patch 

More information about the New-bugs-announce mailing list