Message139724
According to the docs here:
http://docs.python.org/c-api/gcsupport.html
Any object that uses PyObject_GC_Track in its constructor must call PyObject_GC_UnTrack in its deallocator. The CThunkObject in _ctypes does the former but not the later. Attached patch adds a call to PyObject_GC_UnTrack.
This doesn't fix any particular bug I was seeing, I just happened to be going through the _ctypes sources (you know, for fun...) and noticed this discrepancy. |
|
Date |
User |
Action |
Args |
2011-07-04 00:56:40 | rfk | set | recipients:
+ rfk |
2011-07-04 00:56:40 | rfk | set | messageid: <1309741000.66.0.461732700198.issue12483@psf.upfronthosting.co.za> |
2011-07-04 00:56:40 | rfk | link | issue12483 messages |
2011-07-04 00:56:39 | rfk | create | |
|