This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author chuck
Recipients chuck, exarkun, georg.brandl, gregory.p.smith, ivank, loewis, pitrou
Date 2009-09-26.09:49:14
SpamBayes Score 6.3710845e-06
Marked as misclassified No
Message-id <1253958556.69.0.190058284745.issue6071@psf.upfronthosting.co.za>
In-reply-to
Content
I stumbled upon the following function:

static Py_ssize_t
convertbuffer(PyObject *arg, void **p, char **errmsg)
in Python/getargs.c

The first thing the function does is checking if the object implements 
the old buffer api, but also fails if pb->bf_releasebuffer != NULL. So I 
guess it's also making sure the new buffer api is not implemented.

What's the thought behind this? Removing that condition fixes three of 
the failing tests but breaks none.
History
Date User Action Args
2009-09-26 09:49:16chucksetrecipients: + chuck, loewis, georg.brandl, gregory.p.smith, exarkun, pitrou, ivank
2009-09-26 09:49:16chucksetmessageid: <1253958556.69.0.190058284745.issue6071@psf.upfronthosting.co.za>
2009-09-26 09:49:15chucklinkissue6071 messages
2009-09-26 09:49:14chuckcreate