Message169575
On Fri, Aug 31, 2012 at 2:34 PM, Stefan Krah <report@bugs.python.org> wrote:
> With the ManagedBuffer, we could now write a new function that returns
> a memoryview with much nicer cleanup facilities. But that doesn't help
> here since we're stuck with this function for 3.3.0.
>
>
> What do you think? Should this go into 3.3.0?
I am still getting up to speed with all the changes that went in since
3.2. I'll review your patch over the weekend. Meanwhile, I think the
goal should be that after PyMemoryview_FromBuffer(info) is called, it
should be OK to discard info by calling PyBuffer_Release() and if info
is not allocated on the stack, Py_DECREF(info). I think we are almost
there achieving that goal with possible exception of dynamically or
stack-allocated fmt strings. |
|
Date |
User |
Action |
Args |
2012-08-31 18:54:19 | Alexander.Belopolsky | set | recipients:
+ Alexander.Belopolsky, ncoghlan, belopolsky, pitrou, skrah, docs@python |
2012-08-31 18:53:58 | Alexander.Belopolsky | link | issue15821 messages |
2012-08-31 18:53:57 | Alexander.Belopolsky | create | |
|