[Python-Dev] Replacing PyWin32's PeekNamedPipe, ReadFile, and WriteFile
Terry Reedy
tjreedy at udel.edu
Thu Jul 23 22:42:37 CEST 2009
Lisandro Dalcin wrote:
> On Thu, Jul 23, 2009 at 9:57 AM, Jean-Paul Calderone<exarkun at divmod.com> wrote:
>
>> True, CPython has C infrastructure. What about the other Python runtimes,
>> though?
>>
>
> Perhaps these other Python runtimes could implement the functionality
> of PC/_subprocess.c and use ctypes for that ?
Is it sensibly possible to augment a C file with #ifdefs so that it can
be compiled either as a directly importable module or as a
ctypes-accessible shared library?
tjr
More information about the Python-Dev
mailing list