Calling foreign functions from Python? ctypes?

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


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

> Thomas Heller wrote:
>> It has been proposed to include it in core Python, but Guido didn't
>> accept it.  The thread starts here:
>> 
>> http://mail.python.org/pipermail/python-dev/2004-January/thread.html#41814
>> 
>> And Guido's last word was this (see the end of the message):
>> 
>> http://mail.python.org/pipermail/python-dev/2004-January/041856.html
>
> 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.

Thomas



More information about the Python-list mailing list