Author meador.inge
Recipients larry, meador.inge
Date 2014-01-13.03:28:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1389583720.16.0.158547804292.issue20178@psf.upfronthosting.co.za>
In-reply-to
Content
Larry, the attached patch converts what is convertible of
Modules/_ctypes/_ctypes.  Although, I ran into an odd case
with this conversion: the converted functions are each used
in *multiple* PyMethodDef tables.  So while clinic can generate
equivalent code, the builtins are not all pinned to one type.
The type I pinned it to is the same type that the methods
are documented against:
http://docs.python.org/2/library/ctypes.html#ctypes._CData

Since clinic makes you explicitly specify the fully qualified method
name, I assume sharing like this is not allowed.

Thoughts?
History
Date User Action Args
2014-01-13 03:28:40meador.ingesetrecipients: + meador.inge, larry
2014-01-13 03:28:40meador.ingesetmessageid: <1389583720.16.0.158547804292.issue20178@psf.upfronthosting.co.za>
2014-01-13 03:28:40meador.ingelinkissue20178 messages
2014-01-13 03:28:40meador.ingecreate