GUIs - A Modest Proposal

Gregory Ewing greg.ewing at canterbury.ac.nz
Sat Jun 12 23:22:02 EDT 2010


Terry Reedy wrote:

> Would it be possible to write a program that converts a module that uses 
> ctypes to interface to a dll to a corresponding C extension program that 
> would compile to a drop in replacement extension module?

Probably, but I don't see how that could be done automatically
in a way that ensured the result would be any safer than the
original ctypes-using version. If you preserve the semantics of
the Python code, you also preserve any bugs it might have.

-- 
Greg



More information about the Python-list mailing list