Message161770
In the test, you should call gc.collect() so that it works on non-reference counted implementations. Also, I would call PyObject_ClearWeakRefs() after memory_release() and Py_CLEAR(self->mbuf), not before (in case a weakref callback relies on the buffer being released). |
|
Date |
User |
Action |
Args |
2012-05-28 11:44:29 | pitrou | set | recipients:
+ pitrou, skrah, sbt |
2012-05-28 11:44:29 | pitrou | set | messageid: <1338205469.32.0.977063962406.issue14930@psf.upfronthosting.co.za> |
2012-05-28 11:44:28 | pitrou | link | issue14930 messages |
2012-05-28 11:44:28 | pitrou | create | |
|