Message170984
> 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. |
|
Date |
User |
Action |
Args |
2012-09-22 10:31:10 | pitrou | set | recipients:
+ pitrou, ezio.melotti, Arfrever, skrah, serhiy.storchaka |
2012-09-22 10:31:09 | pitrou | link | issue15958 messages |
2012-09-22 10:31:09 | pitrou | create | |
|