[patch] Partial port from PyCObject to PyCapsule
Status: Beta
Brought to you by:
treeves
Per http://docs.python.org/c-api/cobject.html , PyCObject is deprecated. The attached patch ports one of the uses to PyCapsule.
Use PyCapsule instead of PyCObject
accepted