Nick Coghlan wrote: > I see ctypes as largely useful when you want to call a native DLL but > don't have any existing infrastructure for accessing native code from > your project. A few lines of ctypes code is then a much better solution > than adding a C or C++ compilation dependency just to access a couple of > functions. > > Of course, that definitely isn't the case for CPython - we not only have > plenty of existing C infrastructure, but in the specific case of > subprocess on Windows we already have a dedicated extension module > (PC/_subprocess.c).
You've hit the nail on the head! That's it. Christian _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com