Meador Inge added the comment: 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? ---------- keywords: +patch Added file: http://bugs.python.org/file33438/issue20178-cyptes-01.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20178> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com