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 pitrou
Recipients Arfrever, ezio.melotti, pitrou, serhiy.storchaka, skrah
Date 2012-09-22.10:31:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1348309826.3392.1.camel@localhost.localdomain>
In-reply-to <1348309520.61.0.174939526797.issue15958@psf.upfronthosting.co.za>
Content
> Attached new refleakless patch.

Your approach is dangerous, because the buffers may change size between
two calls to PyObject_GetBuffer(). I think you should keep the
Py_buffers alive in an array, and only release them at the end (it may
also be slightly faster to do so).

A nit: you are adding a lot of newlines in test_bytes.py.
History
Date User Action Args
2012-09-22 10:31:10pitrousetrecipients: + pitrou, ezio.melotti, Arfrever, skrah, serhiy.storchaka
2012-09-22 10:31:09pitroulinkissue15958 messages
2012-09-22 10:31:09pitroucreate