Message117826
Here is a patch that fixes the issue. Can you try it?
Unfortunately, more advanced uses such a slicing the memoryview are still crashing. That's because the new buffer protocol doesn't define ownership of Py_buffer structs. As a result, nothing can be assumed at to which piece of code is responsible for allocation and deallocation of related memory areas (such as shapes and strides arrays). |
|
| Date |
User |
Action |
Args |
| 2010-10-01 18:53:43 | pitrou | set | recipients:
+ pitrou, teoliphant, ncoghlan, kermode |
| 2010-10-01 18:53:43 | pitrou | set | messageid: <[email protected]> |
| 2010-10-01 18:53:41 | pitrou | link | issue9990 messages |
| 2010-10-01 18:53:41 | pitrou | create | |
|