[Python-Dev] [Python-checkins] PyCapsule backport (original) (raw)

Larry Hastings larry at hastings.org
Thu Mar 25 19:49:39 CET 2010


Just a reply to one part of your message, as I really need to get back to work for now.

Antoine Pitrou wrote:

I think solution #1 would be the best one. #2 looks too complicated.

#2 is a seven-line diff, below.

/larry/

Index: cobject.c

--- cobject.c (revision 79396) +++ cobject.c (working copy) @@ -50,7 +50,12 @@ PyCObject_AsVoidPtr(PyObject *self) { if (self) {



More information about the Python-Dev mailing list