Message120318
While on the subject, the docs for PyMemoryView_FromBuffer state that the resulting memoryview takes ownership of the Py_buffer struct and is responsible for freeing any associated memory. It does not do so, which is not surprising. The absence of a standard for allocation makes it absolutely impossible for it to do so safely. |
|
| Date |
User |
Action |
Args |
| 2010-11-03 11:59:54 | rupole | set | recipients:
+ rupole, ncoghlan, pitrou |
| 2010-11-03 11:59:54 | rupole | set | messageid: <1288785594.53.0.159772587323.issue10181@psf.upfronthosting.co.za> |
| 2010-11-03 11:59:53 | rupole | link | issue10181 messages |
| 2010-11-03 11:59:53 | rupole | create | |
|