[Python-Dev] Fwd: Removal of GIL through refcounting removal.

Victor Stinner victor.stinner at haypocalc.com
Fri Oct 31 14:32:22 CET 2008

Le Friday 31 October 2008 14:13:01 Christian Heimes, vous avez écrit :
> ctypes is also missing utilities to write code that works on 32 and
> 64bit platforms. Without a tool like
> http://pypi.python.org/pypi/ctypes_configure it's very hard and tedious
> to avoid and fix segfaults.

I wrote some ctypes binding and some ctypes tools are missing. The most 
important lacks are:
 - get_errno()
 - size_t and <stdint.h> types

You may be interrested by my modules:

get errno value:
(ctypes_support has a get_errno function)

open the C library:
(ok, code is trivial, it's not critical to integrate it to ctypes)

*size_t* and <stdint.h> types!
(my module is incomplete, some types are missing)

Some functions to ease ctypes development:
 - bytes2type() and bytes2array() are useful to convert a bytes array
   to a ctypes object

Should I open issues?

Victor Stinner aka haypo

More information about the Python-Dev mailing list