Calling foreign functions from Python? ctypes?

Thomas Heller theller at
Tue Jan 10 16:03:47 EST 2006

"Martin v. Löwis" <martin at> writes:

> Thomas Heller wrote:
>> It has been proposed to include it in core Python, but Guido didn't
>> accept it.  The thread starts here:
>> And Guido's last word was this (see the end of the message):
> He didn't accept it - he didn't reject it, either.
> Notice that this thread did *not* propose to include ctypes: instead,
> it suggested to include ctypes *in order to implement _winreg*.
> This is something completely different, and this is what Guido
> rejected: Implementing _winreg with ctypes is indeed a bad idea,
> IMO. Whether or not ctypes should be included is a different story.

It was a misunderstanding then - I simply wanted to demonstrate how some
of the _winreg functions could be implemented with ctypes.

Anyway, I've just posted a request to include ctypes to python-dev.
We'll see.


More information about the Python-list mailing list