[Python-bugs-list] [Bug #133308] Python C-API for adding int (*getreadbufferproc) is wrong

noreply@sourceforge.net noreply@sourceforge.net
Thu, 22 Feb 2001 14:46:54 -0800


Bug #133308, was updated on 2001-Feb-20 13:29
Here is a current snapshot of the bug.

Project: Python
Category: Documentation
Status: Open
Resolution: None
Bug Group: None
Priority: 6
Submitted by: teoliphant
Assigned to : gstein
Summary: Python C-API for adding int (*getreadbufferproc) is wrong

Details: In all docs, the description for the routine int
(*getreadbufferproc) states that a return value of 0 means success. 
However, in order to get your object to work correctly with the "buffer"
command in Python, this routine needs to return the total size (in bytes)
of the buffer. 

This same problem may also exist for the documentation of int
(*getwritebufferproc).



Follow-Ups:

Date: 2001-Feb-22 14:46
By: fdrake

Comment:
Greg, you're the lead for the buffer API; can you clarify or correct the
docs as appropriate?  Thanks!
-------------------------------------------------------

For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=133308&group_id=5470