homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rfk
Recipients rfk
Date 2011年07月04日.00:56:39
SpamBayes Score 9.509825e-05
Marked as misclassified No
Message-id <1309741000.66.0.461732700198.issue12483@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2011年07月04日 00:56:40rfksetrecipients: + rfk
2011年07月04日 00:56:40rfksetmessageid: <1309741000.66.0.461732700198.issue12483@psf.upfronthosting.co.za>
2011年07月04日 00:56:40rfklinkissue12483 messages
2011年07月04日 00:56:39rfkcreate

AltStyle によって変換されたページ (->オリジナル) /