[issue5630] Update CObject API so it is safe and regular

Larry Hastings report at bugs.python.org
Thu Apr 2 22:02:42 CEST 2009


Larry Hastings <larry at hastings.org> added the comment:

Having slept on it, I agree that we only need one API to create an
object.  Since passing in a "context" will be relatively rare, users who
need that can use PyCObject_SetContext().  I'll remove
PyCObject_FromVoidPtrWithContext() in my next patch.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5630>
_______________________________________


More information about the Python-bugs-list mailing list