Message93156
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. |
|
Date |
User |
Action |
Args |
2009-09-26 09:49:16 | chuck | set | recipients:
+ chuck, loewis, georg.brandl, gregory.p.smith, exarkun, pitrou, ivank |
2009-09-26 09:49:16 | chuck | set | messageid: <1253958556.69.0.190058284745.issue6071@psf.upfronthosting.co.za> |
2009-09-26 09:49:15 | chuck | link | issue6071 messages |
2009-09-26 09:49:14 | chuck | create | |
|